pythonPackages.cookies: Move to own file
This commit is contained in:
parent
d1d13aa137
commit
9b0e266249
2 changed files with 20 additions and 16 deletions
19
pkgs/development/python-modules/cookies/default.nix
Normal file
19
pkgs/development/python-modules/cookies/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cookies";
|
||||
version = "2.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "13pfndz8vbk4p2a44cfbjsypjarkrall71pgc97glk5fiiw9idnn";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Friendlier RFC 6265-compliant cookie parser/renderer";
|
||||
homepage = https://github.com/sashahart/cookies;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -1647,22 +1647,7 @@ in {
|
|||
|
||||
cookiecutter = callPackage ../development/python-modules/cookiecutter { };
|
||||
|
||||
cookies = buildPythonPackage rec {
|
||||
name = "cookies-2.2.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/c/cookies/${name}.tar.gz";
|
||||
sha256 = "13pfndz8vbk4p2a44cfbjsypjarkrall71pgc97glk5fiiw9idnn";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Friendlier RFC 6265-compliant cookie parser/renderer";
|
||||
homepage = https://github.com/sashahart/cookies;
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
cookies = callPackage ../development/python-modules/cookies { };
|
||||
|
||||
coveralls = callPackage ../development/python-modules/coveralls { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue