pythonPackages.cookiecutter: Move to own file
This commit is contained in:
parent
eb3fc6df2a
commit
d1d13aa137
28
pkgs/development/python-modules/cookiecutter/default.nix
Normal file
28
pkgs/development/python-modules/cookiecutter/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPyPy
|
||||||
|
, itsdangerous, pytest, freezegun, docutils, jinja2, future, binaryornot, click
|
||||||
|
, whichcraft, poyo, jinja2_time }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cookiecutter";
|
||||||
|
version = "1.4.0";
|
||||||
|
|
||||||
|
# not sure why this is broken
|
||||||
|
disabled = isPyPy;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1clxnabmc5s4b519r1sxyj1163x833ir8xcypmdfpf6r9kbb35vn";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ itsdangerous pytest freezegun docutils ];
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
jinja2 future binaryornot click whichcraft poyo jinja2_time
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/audreyr/cookiecutter;
|
||||||
|
description = "A command-line utility that creates projects from project templates";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ kragniz ];
|
||||||
|
};
|
||||||
|
}
|
@ -1645,29 +1645,7 @@ in {
|
|||||||
|
|
||||||
contextlib2 = callPackage ../development/python-modules/contextlib2 { };
|
contextlib2 = callPackage ../development/python-modules/contextlib2 { };
|
||||||
|
|
||||||
cookiecutter = buildPythonPackage rec {
|
cookiecutter = callPackage ../development/python-modules/cookiecutter { };
|
||||||
version = "1.4.0";
|
|
||||||
name = "cookiecutter-${version}";
|
|
||||||
|
|
||||||
# not sure why this is broken
|
|
||||||
disabled = isPyPy;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "https://github.com/audreyr/cookiecutter/archive/${version}.tar.gz";
|
|
||||||
sha256 = "1clxnabmc5s4b519r1sxyj1163x833ir8xcypmdfpf6r9kbb35vn";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ itsdangerous pytest freezegun docutils ];
|
|
||||||
propagatedBuildInputs = with self; [
|
|
||||||
jinja2 future binaryornot click whichcraft poyo jinja2_time ];
|
|
||||||
|
|
||||||
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 {
|
cookies = buildPythonPackage rec {
|
||||||
name = "cookies-2.2.1";
|
name = "cookies-2.2.1";
|
||||||
|
Loading…
Reference in New Issue
Block a user