pythonPackages.defusedxml: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 12:44:09 +02:00 committed by Frederik Rietdijk
parent adb19caa9d
commit b21f68f0c0
2 changed files with 12 additions and 9 deletions

View File

@ -0,0 +1,11 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "defusedxml";
version = "0.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "1x54n0h8hl92vvwyymx883fbqpqjwn2mc8fb383bcg3z9zwz5mr4";
};
}

View File

@ -1197,15 +1197,7 @@ in {
debian = callPackage ../development/python-modules/debian {};
defusedxml = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "defusedxml";
version = "0.5.0";
src = pkgs.fetchurl {
url = "mirror://pypi/d/${pname}/${name}.tar.gz";
sha256 = "1x54n0h8hl92vvwyymx883fbqpqjwn2mc8fb383bcg3z9zwz5mr4";
};
};
defusedxml = callPackage ../development/python-modules/defusedxml {};
dosage = buildPythonPackage rec {
name = "${pname}-${version}";