pythonPackages.defusedxml: Move to own file
This commit is contained in:
parent
adb19caa9d
commit
b21f68f0c0
11
pkgs/development/python-modules/defusedxml/default.nix
Normal file
11
pkgs/development/python-modules/defusedxml/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "defusedxml";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1x54n0h8hl92vvwyymx883fbqpqjwn2mc8fb383bcg3z9zwz5mr4";
|
||||
};
|
||||
}
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user