3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/docrep/default.nix
2018-12-03 16:50:29 +01:00

34 lines
638 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, six
}:
buildPythonPackage rec {
pname = "docrep";
version = "0.2.4";
src = fetchPypi {
inherit pname version;
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 ];
};
}