diff --git a/pkgs/applications/misc/electron-cash/default.nix b/pkgs/applications/misc/electron-cash/default.nix index 8105f4d61bd8..170690cdad3a 100644 --- a/pkgs/applications/misc/electron-cash/default.nix +++ b/pkgs/applications/misc/electron-cash/default.nix @@ -29,7 +29,7 @@ python3Packages.buildPythonApplication rec { pysocks qrcode requests - tlslite + tlslite-ng # plugins keepkey diff --git a/pkgs/applications/misc/electrum/dash.nix b/pkgs/applications/misc/electrum/dash.nix index c98efa547b39..98ed10b0c7cc 100644 --- a/pkgs/applications/misc/electrum/dash.nix +++ b/pkgs/applications/misc/electrum/dash.nix @@ -22,7 +22,7 @@ python2Packages.buildPythonApplication rec { qrcode requests pyaes - tlslite + tlslite-ng x11_hash mnemonic jsonrpclib diff --git a/pkgs/applications/misc/electrum/default.nix b/pkgs/applications/misc/electrum/default.nix index 843257a74e55..9adcea837735 100644 --- a/pkgs/applications/misc/electrum/default.nix +++ b/pkgs/applications/misc/electrum/default.nix @@ -35,7 +35,7 @@ python3Packages.buildPythonApplication rec { qdarkstyle qrcode requests - tlslite + tlslite-ng typing # plugins diff --git a/pkgs/development/python-modules/tlslite-ng/default.nix b/pkgs/development/python-modules/tlslite-ng/default.nix new file mode 100644 index 000000000000..ac68019d3695 --- /dev/null +++ b/pkgs/development/python-modules/tlslite-ng/default.nix @@ -0,0 +1,25 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, ecdsa +}: + +buildPythonPackage rec { + pname = "tlslite-ng"; + version = "0.7.5"; + + src = fetchPypi { + inherit pname version; + sha256 = "1aw7j50byzab0xwp50m5w5c14fzdzwk2law5a5bn6dn3i5fc6fw2"; + }; + + buildInputs = [ ecdsa ]; + + meta = with stdenv.lib; { + description = "Pure python implementation of SSL and TLS."; + homepage = https://pypi.python.org/pypi/tlslite-ng; + license = licenses.lgpl2; + maintainers = [ maintainers.erictapen ]; + }; + +} diff --git a/pkgs/development/python-modules/tlslite/default.nix b/pkgs/development/python-modules/tlslite/default.nix deleted file mode 100644 index 75d622ef34f3..000000000000 --- a/pkgs/development/python-modules/tlslite/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ stdenv -, buildPythonPackage -, fetchPypi -}: - -buildPythonPackage rec { - pname = "tlslite"; - version = "0.4.8"; - - src = fetchPypi { - inherit pname version; - sha256 = "1fxx6d3nw5r1hqna1h2jvqhcygn9fyshlm0gh3gp0b1ji824gd6r"; - }; - - meta = with stdenv.lib; { - description = "A pure Python implementation of SSL and TLS"; - homepage = https://pypi.python.org/pypi/tlslite; - license = licenses.bsd3; - }; - -} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 37c1a0c9c67b..f00e2b4cb0fa 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4299,7 +4299,9 @@ in { py = python.override{x11Support=true;}; in callPackage ../development/python-modules/tkinter { py = py; }; - tlslite = callPackage ../development/python-modules/tlslite { }; + tlslite = throw "deprecated 2018-12-10; use pythonPackages.tlslite-ng instead"; + + tlslite-ng = callPackage ../development/python-modules/tlslite-ng { }; qrcode = callPackage ../development/python-modules/qrcode { };