diff options
Diffstat (limited to 'pkgs/development/python-modules/git-url-parse/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/git-url-parse/default.nix | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/git-url-parse/default.nix b/pkgs/development/python-modules/git-url-parse/default.nix index b0c4c2077faf..ff7aba550593 100644 --- a/pkgs/development/python-modules/git-url-parse/default.nix +++ b/pkgs/development/python-modules/git-url-parse/default.nix @@ -1,8 +1,9 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pbr -, pytestCheckHook +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pbr, + pytestCheckHook, }: buildPythonPackage rec { @@ -22,20 +23,15 @@ buildPythonPackage rec { --replace " --cov giturlparse --cov-report term-missing" "" ''; - # Manually set version because prb wants to get it from the git # upstream repository (and we are installing from tarball instead) env.PBR_VERSION = version; - propagatedBuildInputs = [ - pbr - ]; + propagatedBuildInputs = [ pbr ]; pythonImportsCheck = [ "giturlparse" ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "A simple GIT URL parser"; @@ -45,4 +41,3 @@ buildPythonPackage rec { maintainers = with maintainers; [ blaggacao ]; }; } - |
