pythonPackages.suds: refactor move to python-modules
This commit is contained in:
parent
64a24d3f9a
commit
c2526182c8
29
pkgs/development/python-modules/suds/default.nix
Normal file
29
pkgs/development/python-modules/suds/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "suds";
|
||||
version = "0.4";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1w4s9051iv90c0gs73k80c3d51y2wbx1xgfdgg2hk7mv4gjlllnm";
|
||||
};
|
||||
|
||||
patches = [ ./suds-0.4-CVE-2013-2217.patch ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
# Broken for security issues:
|
||||
# - https://github.com/NixOS/nixpkgs/issues/19678
|
||||
# - https://lwn.net/Vulnerabilities/559200/
|
||||
broken = true;
|
||||
description = "Lightweight SOAP client";
|
||||
homepage = https://fedorahosted.org/suds;
|
||||
license = licenses.lgpl3Plus;
|
||||
};
|
||||
|
||||
}
|
|
@ -4463,27 +4463,7 @@ in {
|
|||
|
||||
pafy = callPackage ../development/python-modules/pafy { };
|
||||
|
||||
suds = buildPythonPackage rec {
|
||||
name = "suds-0.4";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/s/suds/suds-0.4.tar.gz";
|
||||
sha256 = "1w4s9051iv90c0gs73k80c3d51y2wbx1xgfdgg2hk7mv4gjlllnm";
|
||||
};
|
||||
|
||||
patches = [ ../development/python-modules/suds-0.4-CVE-2013-2217.patch ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
# Broken for security issues:
|
||||
# - https://github.com/NixOS/nixpkgs/issues/19678
|
||||
# - https://lwn.net/Vulnerabilities/559200/
|
||||
broken = true;
|
||||
description = "Lightweight SOAP client";
|
||||
homepage = https://fedorahosted.org/suds;
|
||||
license = licenses.lgpl3Plus;
|
||||
};
|
||||
};
|
||||
suds = callPackage ../development/python-modules/suds { };
|
||||
|
||||
suds-jurko = buildPythonPackage rec {
|
||||
name = "suds-jurko-${version}";
|
||||
|
|
Loading…
Reference in a new issue