11 buildPythonPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-KdQZzQJvJ+logpcLQfaqqEEZJ/9VmNTQX/a4v0oBC98=";
24 # https://github.com/shaypal5/birch/pull/4
26 name = "fix-versioneer-on-python312.patch";
27 url = "https://github.com/shaypal5/birch/commit/84d597b2251ebb76fb15fb70fc86c83baa19dc0b.patch";
28 hash = "sha256-xXADCSIhq1ARny2twzrhR1J8LkMFWFl6tmGxrM8RvkU=";
33 substituteInPlace pytest.ini \
38 # configure correct version, which fails due to missing .git
39 substituteInPlace versioneer.py birch/_version.py \
40 --replace '"0+unknown"' '"${version}"'
47 propagatedBuildInputs = [
51 pythonImportsCheck = [
64 export HOME="$(mktemp -d)"
69 description = "Simple hierarchical configuration for Python packages";
70 homepage = "https://github.com/shaypal5/birch";
71 license = licenses.mit;
72 maintainers = with maintainers; [ pbsds ];