pythonPackages.tlslite: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-28 11:36:53 -04:00
parent c3793aa1b1
commit 6986e9ecac
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 22 additions and 15 deletions

View File

@ -0,0 +1,21 @@
{ 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;
};
}

View File

@ -3979,21 +3979,7 @@ in {
py = python.override{x11Support=true;};
in callPackage ../development/python-modules/tkinter { py = py; };
tlslite = buildPythonPackage rec {
name = "tlslite-${version}";
version = "0.4.8";
src = pkgs.fetchurl {
url = "mirror://pypi/t/tlslite/${name}.tar.gz";
sha256 = "1fxx6d3nw5r1hqna1h2jvqhcygn9fyshlm0gh3gp0b1ji824gd6r";
};
meta = {
description = "A pure Python implementation of SSL and TLS";
homepage = https://pypi.python.org/pypi/tlslite;
license = licenses.bsd3;
};
};
tlslite = callPackage ../development/python-modules/tlslite { };
qrcode = buildPythonPackage rec {
name = "qrcode-${version}";