python.pkgs.simplegeneric: move expression

This commit is contained in:
Frederik Rietdijk 2018-02-03 12:55:24 +01:00
parent 330cad0d36
commit b18a0f416d
2 changed files with 22 additions and 16 deletions

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

View file

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