1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, six 6}: 7 8buildPythonPackage rec { 9 pname = "docrep"; 10 version = "0.2.3"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "7d195b6dfcf4efe5cb65402b6c6f6d7e6db77ce255887fae32c9a8288a022659"; 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}