diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-10-07 16:51:22 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-10-07 20:48:17 +0200 |
commit | 1c7c0d64ebbbf1cbf96a56b614012a2c00aa4a76 (patch) | |
tree | 14e550b00927dac1dca221db393f9a6b7ebd0c72 /pkgs/development/python-modules/pastedeploy | |
parent | 5561c9b71260c7780234288e32b825745c6683bc (diff) |
python39Packages.pastedeploy: adopt into openstack team
Diffstat (limited to 'pkgs/development/python-modules/pastedeploy')
-rw-r--r-- | pkgs/development/python-modules/pastedeploy/default.nix | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/pastedeploy/default.nix b/pkgs/development/python-modules/pastedeploy/default.nix index b5d429de081a1..07705d62b32bc 100644 --- a/pkgs/development/python-modules/pastedeploy/default.nix +++ b/pkgs/development/python-modules/pastedeploy/default.nix @@ -1,31 +1,26 @@ { lib , buildPythonPackage -, fetchPypi -, pytest-runner -, pytest +, fetchFromGitHub +, pytestCheckHook }: buildPythonPackage rec { + pname = "pastedeploy"; version = "2.1.1"; - pname = "PasteDeploy"; - src = fetchPypi { - inherit pname version; - sha256 = "6dead6ab9823a85d585ef27f878bc647f787edb9ca8da0716aa9f1261b464817"; + src = fetchFromGitHub { + owner = "Pylons"; + repo = pname; + rev = version; + sha256 = "sha256-9/8aM/G/EdapCZJlx0ZPzNbmw2uYjA1zGbNWJAWoeCU="; }; - buildInputs = [ pytest-runner ]; - - checkInputs = [ pytest ]; - - # no tests in PyPI tarball - # should be included with versions > 2.0.1 - doCheck = false; + checkInputs = [ pytestCheckHook ]; meta = with lib; { description = "Load, configure, and compose WSGI applications and servers"; - homepage = "http://pythonpaste.org/deploy/"; + homepage = "https://github.com/Pylons/pastedeploy"; license = licenses.mit; + maintainers = teams.openstack.members; }; - } |