nixpkgs/pkgs/development/python-modules/docrep/default.nix

34 lines
638 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, six
}:
buildPythonPackage rec {
pname = "docrep";
2018-11-04 10:34:58 +00:00
version = "0.2.4";
src = fetchPypi {
inherit pname version;
2018-11-04 10:34:58 +00:00
sha256 = "ec7598fc2497a50f2c6882803d78e3c3cc4f1a554645d2c43c58d53653a1be01";
};
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 ];
};
}