python.pkgs.simplegeneric: move expression
This commit is contained in:
parent
330cad0d36
commit
b18a0f416d
21
pkgs/development/python-modules/simplegeneric/default.nix
Normal file
21
pkgs/development/python-modules/simplegeneric/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "simplegeneric";
|
||||||
|
version = "0.8.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
extension = "zip";
|
||||||
|
sha256 = "dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Simple generic functions";
|
||||||
|
homepage = http://cheeseshop.python.org/pypi/simplegeneric;
|
||||||
|
license = lib.licenses.zpl21;
|
||||||
|
};
|
||||||
|
}
|
@ -15846,22 +15846,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
simplegeneric = buildPythonPackage rec {
|
simplegeneric = callPackage ../development/python-modules/simplegeneric { };
|
||||||
version = "0.8.1";
|
|
||||||
name = "simplegeneric-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/s/simplegeneric/${name}.zip";
|
|
||||||
sha256 = "dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Simple generic functions";
|
|
||||||
homepage = http://cheeseshop.python.org/pypi/simplegeneric;
|
|
||||||
license = licenses.zpl21;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
shortuuid = buildPythonPackage rec {
|
shortuuid = buildPythonPackage rec {
|
||||||
name = "shortuuid-${version}";
|
name = "shortuuid-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user