1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytest,
6 six,
7}:
8
9buildPythonPackage rec {
10 pname = "docrep";
11 version = "0.3.2";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "ed8a17e201abd829ef8da78a0b6f4d51fb99a4cbd0554adbed3309297f964314";
17 };
18
19 nativeCheckInputs = [ pytest ];
20 propagatedBuildInputs = [ six ];
21
22 checkPhase = ''
23 py.test
24 '';
25
26 # tests not packaged with PyPi download
27 doCheck = false;
28
29 meta = {
30 description = "Python package for docstring repetition";
31 homepage = "https://github.com/Chilipp/docrep";
32 license = lib.licenses.gpl2;
33 maintainers = [ ];
34 };
35}