pythonPackages.docrep: init at 0.2.3 (#44665)
This commit is contained in:
parent
542b8ed589
commit
c2e7a20f34
33
pkgs/development/python-modules/docrep/default.nix
Normal file
33
pkgs/development/python-modules/docrep/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "docrep";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7d195b6dfcf4efe5cb65402b6c6f6d7e6db77ce255887fae32c9a8288a022659";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
# tests not packaged with PyPi download
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Python package for docstring repetition";
|
||||
homepage = https://github.com/Chilipp/docrep;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
@ -250,6 +250,8 @@ in {
|
||||
|
||||
diff_cover = callPackage ../development/python-modules/diff_cover { };
|
||||
|
||||
docrep = callPackage ../development/python-modules/docrep { };
|
||||
|
||||
emcee = callPackage ../development/python-modules/emcee { };
|
||||
|
||||
email_validator = callPackage ../development/python-modules/email-validator { };
|
||||
|
Loading…
Reference in New Issue
Block a user