mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
cookiecutter: 1.3.0 -> 1.4.0 (#19232)
This version bump changes the dependencies, adding in two new packages `poyo` and `jinja2_time`. This in turn fixes python3 support. In order to get python3Packages.cookiecutter to build, I had to add pytest as a dependency to whichcraft; I'm not sure why this wasn't already there. I tried to build pypyPackages.cookiecutter, but the resulting binary fails with the message: $ cookiecutter gh:audreyr/cookiecutter-pypackage Traceback (most recent call last): File "/nix/store/v1czxi8amljxkp6nxi8x1hxa7lkb6i7c-pypy5.4.1-cookiecutter-1.4.0/bin/.cookiecutter-wrapped", line 8, in <module> from cookiecutter.cli import main ImportError: No module named cookiecutter I'm not sure how to debug this.
This commit is contained in:
parent
c76d292e5b
commit
f94072196d
@ -3997,20 +3997,20 @@ in modules // {
|
||||
};
|
||||
|
||||
cookiecutter = buildPythonPackage rec {
|
||||
version = "1.3.0";
|
||||
version = "1.4.0";
|
||||
name = "cookiecutter-${version}";
|
||||
|
||||
# dependency problems, next release of cookiecutter should unblock these
|
||||
disabled = isPy3k || isPyPy;
|
||||
# not sure why this is broken
|
||||
disabled = isPyPy;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/audreyr/cookiecutter/archive/${version}.tar.gz";
|
||||
sha256 = "1vchjvh7591nczz2zz55aghk9mhpm6kqgm62d05d4mjrx9xjkdcg";
|
||||
sha256 = "1clxnabmc5s4b519r1sxyj1163x833ir8xcypmdfpf6r9kbb35vn";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ itsdangerous ];
|
||||
buildInputs = with self; [ itsdangerous pytest freezegun docutils ];
|
||||
propagatedBuildInputs = with self; [
|
||||
jinja2 future binaryornot click whichcraft ruamel_yaml ];
|
||||
jinja2 future binaryornot click whichcraft poyo jinja2_time ];
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/audreyr/cookiecutter;
|
||||
@ -8265,6 +8265,22 @@ in modules // {
|
||||
};
|
||||
};
|
||||
|
||||
poyo = buildPythonPackage rec {
|
||||
version = "0.4.0";
|
||||
name = "poyo-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/poyo/${name}.tar.gz";
|
||||
sha256 = "1f48ffl0j1f2lmgabajps7v8w90ppxbp5168gh8kh27bjd8xk5ca";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/hackebrot/poyo;
|
||||
description = "A lightweight YAML Parser for Python";
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
|
||||
pudb = buildPythonPackage rec {
|
||||
name = "pudb-2013.3.6";
|
||||
|
||||
@ -12699,6 +12715,23 @@ in modules // {
|
||||
};
|
||||
};
|
||||
|
||||
jinja2_time = buildPythonPackage rec {
|
||||
version = "0.2.0";
|
||||
name = "jinja2-time-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/j/jinja2-time/${name}.tar.gz";
|
||||
sha256 = "0h0dr7cfpjnjj8bgl2vk9063a53649pn37wnlkd8hxjy656slkni";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ arrow jinja2 ];
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/hackebrot/jinja2-time;
|
||||
description = "Jinja2 Extension for Dates and Times";
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
|
||||
jmespath = buildPythonPackage rec {
|
||||
name = "jmespath-0.7.1";
|
||||
@ -27097,6 +27130,8 @@ in modules // {
|
||||
sha256 = "1xqp66knzlb01k30qic40vzwl51jmlsb8r96iv60m2ca6623abbv";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pytest ];
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/pydanny/whichcraft;
|
||||
description = "Cross-platform cross-python shutil.which functionality";
|
||||
|
Loading…
Reference in New Issue
Block a user