1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, six 6}: 7 8buildPythonPackage rec { 9 pname = "docrep"; 10 version = "0.3.2"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "ed8a17e201abd829ef8da78a0b6f4d51fb99a4cbd0554adbed3309297f964314"; 15 }; 16 17 nativeCheckInputs = [ 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; [ ]; 32 }; 33}