depot/third_party/nixpkgs/pkgs/development/python-modules/docrep/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

35 lines
647 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytest,
six,
}:
buildPythonPackage rec {
pname = "docrep";
version = "0.3.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "ed8a17e201abd829ef8da78a0b6f4d51fb99a4cbd0554adbed3309297f964314";
};
nativeCheckInputs = [ 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 = [ ];
};
}