pythonPackages.suds: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 14:51:52 -04:00
parent 64a24d3f9a
commit c2526182c8
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
3 changed files with 30 additions and 21 deletions

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

View file

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