Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / trustme / default.nix
blob4648dd75a26e1a3e50d4d59fd9bde3568df80fd5
1 { lib
2 , buildPythonPackage
3 , cryptography
4 , fetchPypi
5 , idna
6 , pyopenssl
7 , pytestCheckHook
8 , pythonOlder
9 , service-identity
12 buildPythonPackage rec {
13   pname = "trustme";
14   version = "1.1.0";
15   format = "setuptools";
17   disabled = pythonOlder "3.8";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-U3Wtf7QnB0vslWWS4NTuKkz02miTThukvPQhcSa8ReY=";
22   };
24   propagatedBuildInputs = [
25     cryptography
26     idna
27   ];
29   nativeCheckInputs = [
30     pyopenssl
31     pytestCheckHook
32     service-identity
33   ];
35   # Some of the tests use localhost networking.
36   __darwinAllowLocalNetworking = true;
38   pythonImportsCheck = [
39     "trustme"
40   ];
42   meta = with lib; {
43     description = "High quality TLS certs while you wait, for the discerning tester";
44     homepage = "https://github.com/python-trio/trustme";
45     changelog = "https://trustme.readthedocs.io/en/latest/#change-history";
46     license = with licenses; [ mit asl20 ];
47     maintainers = with maintainers; [ catern ];
48   };