pythonPackages.docrep: init at 0.2.3 (#44665)

This commit is contained in:
Christopher Ostrouchov 2018-08-08 04:53:28 -04:00 committed by Robert Schütz
parent 542b8ed589
commit c2e7a20f34
2 changed files with 35 additions and 0 deletions

View 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 ];
};
}

View File

@ -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 { };