mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +00:00
python311Packages.tls-client: init at 1.0.1
Advanced HTTP Library https://github.com/FlorianREGAZ/Python-Tls-Client
This commit is contained in:
parent
3a252af5b6
commit
8fce239057
45
pkgs/development/python-modules/tls-client/default.nix
Normal file
45
pkgs/development/python-modules/tls-client/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, typing-extensions
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tls-client";
|
||||
version = "1.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FlorianREGAZ";
|
||||
repo = "Python-Tls-Client";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-0eH9fA/oQzrgXcQilUdg4AaTqezj1Q9hP9olhZEDeBc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"tls_client"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Advanced HTTP Library";
|
||||
homepage = "https://github.com/FlorianREGAZ/Python-Tls-Client";
|
||||
changelog = "https://github.com/FlorianREGAZ/Python-Tls-Client/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -14585,6 +14585,8 @@ self: super: with self; {
|
||||
|
||||
tlslite-ng = callPackage ../development/python-modules/tlslite-ng { };
|
||||
|
||||
tls-client = callPackage ../development/python-modules/tls-client { };
|
||||
|
||||
tls-parser = callPackage ../development/python-modules/tls-parser { };
|
||||
|
||||
tlv8 = callPackage ../development/python-modules/tlv8 { };
|
||||
|
Loading…
Reference in New Issue
Block a user