1{ lib, buildPythonPackage, fetchPypi, isPyPy 2, pytest, pytest-cov, pytest-mock, freezegun 3, jinja2, future, binaryornot, click, whichcraft, poyo, jinja2_time, requests 4, python-slugify }: 5 6buildPythonPackage rec { 7 pname = "cookiecutter"; 8 version = "1.7.3"; 9 10 # not sure why this is broken 11 disabled = isPyPy; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "sha256-a5pNcoguJDvgd6c5fQ8fdv5mzz35HzEV27UzDiFPpFc="; 16 }; 17 18 checkInputs = [ pytest pytest-cov pytest-mock freezegun ]; 19 propagatedBuildInputs = [ 20 jinja2 future binaryornot click whichcraft poyo jinja2_time requests python-slugify 21 ]; 22 23 # requires network access for cloning git repos 24 doCheck = false; 25 checkPhase = '' 26 pytest 27 ''; 28 29 meta = with lib; { 30 homepage = "https://github.com/audreyr/cookiecutter"; 31 description = "A command-line utility that creates projects from project templates"; 32 license = licenses.bsd3; 33 maintainers = with maintainers; [ kragniz ]; 34 }; 35}