python.pkgs.decorator: move expression

This commit is contained in:
Frederik Rietdijk 2017-12-31 12:24:15 +01:00
parent 21f377bb28
commit 05ff4d75d1
2 changed files with 21 additions and 15 deletions

View File

@ -0,0 +1,20 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "decorator";
version = "4.0.11";
src = fetchPypi {
inherit pname version;
sha256 = "953d6bf082b100f43229cf547f4f97f97e970f5ad645ee7601d55ff87afdfe76";
};
meta = {
homepage = https://pypi.python.org/pypi/decorator;
description = "Better living through Python with decorators";
license = lib.licenses.mit;
};
}

View File

@ -4101,21 +4101,7 @@ in {
}; };
}; };
decorator = buildPythonPackage rec { decorator = callPackage ../development/python-modules/decorator { };
name = "decorator-${version}";
version = "4.0.11";
src = pkgs.fetchurl {
url = "mirror://pypi/d/decorator/${name}.tar.gz";
sha256 = "953d6bf082b100f43229cf547f4f97f97e970f5ad645ee7601d55ff87afdfe76";
};
meta = {
homepage = https://pypi.python.org/pypi/decorator;
description = "Better living through Python with decorators";
license = licenses.mit;
};
};
deform = buildPythonPackage rec { deform = buildPythonPackage rec {
name = "deform-2.0a2"; name = "deform-2.0a2";