diff options
Diffstat (limited to 'pkgs/development/python-modules/birch/default.nix')
-rw-r--r-- | pkgs/development/python-modules/birch/default.nix | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/birch/default.nix b/pkgs/development/python-modules/birch/default.nix index 1dd4848427e52..f91bfea02733c 100644 --- a/pkgs/development/python-modules/birch/default.nix +++ b/pkgs/development/python-modules/birch/default.nix @@ -1,11 +1,12 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, fetchpatch -, setuptools -, strct -, pytestCheckHook -, pyyaml +{ + lib, + buildPythonPackage, + fetchFromGitHub, + fetchpatch, + setuptools, + strct, + pytestCheckHook, + pyyaml, }: buildPythonPackage rec { @@ -31,22 +32,18 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pytest.ini \ - --replace \ + --replace-fail \ "--cov" \ "#--cov" # configure correct version, which fails due to missing .git substituteInPlace versioneer.py birch/_version.py \ - --replace '"0+unknown"' '"${version}"' + --replace-fail '"0+unknown"' '"${version}"' ''; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; - propagatedBuildInputs = [ - strct - ]; + dependencies = [ strct ]; pythonImportsCheck = [ "birch" @@ -64,7 +61,6 @@ buildPythonPackage rec { export HOME="$(mktemp -d)" ''; - meta = with lib; { description = "Simple hierarchical configuration for Python packages"; homepage = "https://github.com/shaypal5/birch"; |