24 buildPythonPackage rec {
25 pname = "cookiecutter";
29 # not sure why this is broken
33 inherit pname version;
34 hash = "sha256-2yH4Fp6k9P3CQI1IykSFk0neJkf75JSp1sPt/AVCwhw=";
38 patchShebangs tests/test-pyshellhooks/hooks tests/test-shellhooks/hooks
40 substituteInPlace tests/test_hooks.py \
41 --replace-fail "/bin/bash" "${lib.getExe bash}"
44 build-system = [ setuptools ];
66 pythonImportsCheck = [ "cookiecutter.main" ];
69 export HOME="$(mktemp -d)"
73 # messes with $PYTHONPATH
74 "test_should_invoke_main"
78 homepage = "https://github.com/audreyr/cookiecutter";
79 changelog = "https://github.com/cookiecutter/cookiecutter/blob/${version}/HISTORY.md";
80 description = "Command-line utility that creates projects from project templates";
81 mainProgram = "cookiecutter";
82 license = licenses.bsd3;
83 maintainers = with maintainers; [ kragniz ];