diff options
author | Louis Taylor <louis@kragniz.eu> | 2016-01-17 16:31:36 +0000 |
---|---|---|
committer | Louis Taylor <louis@kragniz.eu> | 2016-01-17 16:53:31 +0000 |
commit | fb9052c098ffe8d6cab71e441ee8601540e826e7 (patch) | |
tree | 90ba92bbeb8f663fa848e15142fb077979fef5ee /pkgs/top-level | |
parent | b0ca115059e971d56187a9975ddf09fe54ad1300 (diff) |
cookiecutter: init at 1.3.0
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 24 |
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0ceeea9ac64c7..8f5d0016ce7ad 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5619,6 +5619,8 @@ let complexity = callPackage ../development/tools/misc/complexity { }; + cookiecutter = pythonPackages.cookiecutter; + ctags = callPackage ../development/tools/misc/ctags { }; ctagsWrapped = callPackage ../development/tools/misc/ctags/wrapped.nix {}; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7d32e2701cca8..c7ec3ac2cb111 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3151,6 +3151,30 @@ in modules // { }; }; + cookiecutter = buildPythonPackage rec { + version = "1.3.0"; + name = "cookiecutter-${version}"; + + # dependency problems, next release of cookiecutter should unblock these + disabled = isPy3k || isPyPy; + + src = pkgs.fetchurl { + url = "https://github.com/audreyr/cookiecutter/archive/${version}.tar.gz"; + sha256 = "1vchjvh7591nczz2zz55aghk9mhpm6kqgm62d05d4mjrx9xjkdcg"; + }; + + buildInputs = with self; [ itsdangerous ]; + propagatedBuildInputs = with self; [ + jinja2 future binaryornot click whichcraft ruamel_yaml ]; + + meta = { + homepage = https://github.com/audreyr/cookiecutter; + description = "A command-line utility that creates projects from project templates"; + license = licenses.bsd3; + maintainers = with maintainers; [ kragniz ]; + }; + }; + cookies = buildPythonPackage rec { name = "cookies-2.2.1"; |