mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
pycrypto: remove version 2.5 since it's vulnerable to CVE-2012-2417, CVE-2013-1445
This commit is contained in:
parent
ed9ce850fd
commit
c53d8c81f5
@ -1,29 +0,0 @@
|
|||||||
{ stdenv, fetchurl, python, buildPythonPackage, gmp }:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
|
||||||
name = "pycrypto-2.5";
|
|
||||||
namePrefix = "";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "http://pypi.python.org/packages/source/p/pycrypto/${name}.tar.gz";
|
|
||||||
md5 = "783e45d4a1a309e03ab378b00f97b291";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ python gmp ];
|
|
||||||
|
|
||||||
buildPhase =
|
|
||||||
''
|
|
||||||
python ./setup.py build_ext --library-dirs=${gmp}/lib
|
|
||||||
'';
|
|
||||||
|
|
||||||
# installPhase =
|
|
||||||
# ''
|
|
||||||
# python ./setup.py install --prefix=$out
|
|
||||||
# '';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "http://www.pycrypto.org/";
|
|
||||||
description = "Python Cryptography Toolkit";
|
|
||||||
platforms = stdenv.lib.platforms.gnu;
|
|
||||||
};
|
|
||||||
}
|
|
@ -96,11 +96,6 @@ pythonPackages = modules // import ./python-packages-generated.nix {
|
|||||||
inherit python buildPythonPackage;
|
inherit python buildPythonPackage;
|
||||||
};
|
};
|
||||||
|
|
||||||
pycrypto25 = import ../development/python-modules/pycrypto/2.5.nix {
|
|
||||||
inherit (pkgs) fetchurl stdenv gmp;
|
|
||||||
inherit python buildPythonPackage;
|
|
||||||
};
|
|
||||||
|
|
||||||
pygobject = import ../development/python-modules/pygobject {
|
pygobject = import ../development/python-modules/pygobject {
|
||||||
inherit (pkgs) stdenv fetchurl pkgconfig glib;
|
inherit (pkgs) stdenv fetchurl pkgconfig glib;
|
||||||
inherit python;
|
inherit python;
|
||||||
|
Loading…
Reference in New Issue
Block a user