Skip to content

Commit

Permalink
pythonPackages.z3c_checkversions: init at 1.1
Browse files Browse the repository at this point in the history
pythonPackages.z3c-checkversions: normalize attribute name and pname
z3c_checkversions -> z3c-checkversions

pythonPackages.z3c-checkversions: init at 1.1
  • Loading branch information
talkara authored and FRidh committed Feb 9, 2020
1 parent 82e7ef2 commit ca44e95
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/development/python-modules/z3c-checkversions/default.nix
@@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, python
, zc_buildout
, zope_testrunner
}:

buildPythonPackage rec {
pname = "z3c-checkversions";
version = "1.1";

src = fetchPypi {
inherit version;
pname = "z3c.checkversions";
sha256 = "b45bd22ae01ed60933694fb5abede1ff71fe8ffa79b37082b2fcf38a2f0dec9d";
};

propagatedBuildInputs = [ zc_buildout ];
checkInputs = [ zope_testrunner ];
checkPhase = ''
${python.interpreter} -m zope.testrunner --test-path=src []
'';

meta = with stdenv.lib; {
homepage = https://github.com/zopefoundation/z3c.checkversions;
description = "Find newer package versions on PyPI";
license = licenses.zpl21;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -1994,6 +1994,8 @@ in {

zc_buildout221 = callPackage ../development/python-modules/buildout { };

z3c-checkversions = callPackage ../development/python-modules/z3c-checkversions { };

bunch = callPackage ../development/python-modules/bunch { };

can = callPackage ../development/python-modules/can {};
Expand Down

0 comments on commit ca44e95

Please sign in to comment.