mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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 {
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
||||
simplegeneric = callPackage ../development/python-modules/simplegeneric { };
|
||||
|
||||
shortuuid = buildPythonPackage rec {
|
||||
name = "shortuuid-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user