pythonPackages.cookies: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 19:43:58 +02:00 committed by Frederik Rietdijk
parent d1d13aa137
commit 9b0e266249
2 changed files with 20 additions and 16 deletions

View 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;
};
}

View File

@ -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 { };