diff options
author | Luflosi <luflosi@luflosi.de> | 2021-05-04 17:02:27 +0200 |
---|---|---|
committer | Luflosi <luflosi@luflosi.de> | 2021-09-01 00:36:05 +0200 |
commit | 9c1c61ca7a0213cf3408700020ae058636c28065 (patch) | |
tree | 453834bed8eb66f60daf9041e672405efee5739c /pkgs/development/python-modules/certauth | |
parent | dc47a7bef8848c4e52440b45bc4c0c388b010a16 (diff) |
python3Packages.certauth: init at 1.3.0
Diffstat (limited to 'pkgs/development/python-modules/certauth')
-rw-r--r-- | pkgs/development/python-modules/certauth/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/certauth/default.nix b/pkgs/development/python-modules/certauth/default.nix new file mode 100644 index 0000000000000..782ad96081442 --- /dev/null +++ b/pkgs/development/python-modules/certauth/default.nix @@ -0,0 +1,39 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pyopenssl +, tldextract +, pytestCheckHook +, pytest-cov +}: + +buildPythonPackage rec { + pname = "certauth"; + version = "1.3.0"; + + src = fetchFromGitHub { + owner = "ikreymer"; + repo = "certauth"; + rev = "ad2bae5d40a9e45519fc1f2cd7678174bbc55b3d"; # Repo has no git tags + sha256 = "sha256-Rso5N0jb9k7bdorjPIUMNiZZPnzwbkxFNiTpsJ9pco0="; + }; + + propagatedBuildInputs = [ + pyopenssl + tldextract + ]; + + checkInputs = [ + pytestCheckHook + pytest-cov + ]; + + pythonImportsCheck = [ "certauth" ]; + + meta = with lib; { + description = "Simple CertificateAuthority and host certificate creation, useful for man-in-the-middle HTTPS proxy"; + homepage = "https://github.com/ikreymer/certauth"; + license = licenses.mit; + maintainers = with maintainers; [ Luflosi ]; + }; +} |