# HG changeset patch # User Daniel Dourvaris # Date 2019-02-26 10:00:52 # Node ID f05ef6c16fad6ce7120269f3eb3baf953e6657b0 # Parent d8bf39a600dc166be50db0d46cde3e788d255a6b dependencies: bring back pycrypto as we cannot migrate our encrypted data and need to keep it for backward compat diff --git a/pkgs/python-packages.nix b/pkgs/python-packages.nix --- a/pkgs/python-packages.nix +++ b/pkgs/python-packages.nix @@ -1306,6 +1306,17 @@ self: super: { license = [ pkgs.lib.licenses.bsdOriginal ]; }; }; + "pycrypto" = super.buildPythonPackage { + name = "pycrypto-2.6.1"; + doCheck = false; + src = fetchurl { + url = "https://files.pythonhosted.org/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-2.6.1.tar.gz"; + sha256 = "0g0ayql5b9mkjam8hym6zyg6bv77lbh66rv1fyvgqb17kfc1xkpj"; + }; + meta = { + license = [ pkgs.lib.licenses.publicDomain ]; + }; + }; "pycurl" = super.buildPythonPackage { name = "pycurl-7.43.0.2"; doCheck = false; @@ -1781,6 +1792,7 @@ self: super: { self."psutil" self."py-bcrypt" self."pycurl" + self."pycrypto" self."pygments" self."pyparsing" self."pyramid-beaker" diff --git a/requirements.txt b/requirements.txt --- a/requirements.txt +++ b/requirements.txt @@ -43,6 +43,7 @@ peppercorn==0.6 psutil==5.5.1 py-bcrypt==0.4 pycurl==7.43.0.2 +pycrypto==2.6.1 pygments==2.3.1 pyparsing==2.3.0 pyramid-beaker==0.8