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