pythonPackages.tlslite: refactor move to python-modules
This commit is contained in:
parent
c3793aa1b1
commit
6986e9ecac
21
pkgs/development/python-modules/tlslite/default.nix
Normal file
21
pkgs/development/python-modules/tlslite/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user