evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / trustme / default.nix
blob297a666dc5b3575f4b5b9f62e483a004891b3b40
2   lib,
3   buildPythonPackage,
4   cryptography,
5   fetchPypi,
6   idna,
7   pyopenssl,
8   pytestCheckHook,
9   pythonOlder,
10   service-identity,
13 buildPythonPackage rec {
14   pname = "trustme";
15   version = "1.1.0";
16   format = "setuptools";
18   disabled = pythonOlder "3.8";
20   src = fetchPypi {
21     inherit pname version;
22     hash = "sha256-U3Wtf7QnB0vslWWS4NTuKkz02miTThukvPQhcSa8ReY=";
23   };
25   propagatedBuildInputs = [
26     cryptography
27     idna
28   ];
30   nativeCheckInputs = [
31     pyopenssl
32     pytestCheckHook
33     service-identity
34   ];
36   # Some of the tests use localhost networking.
37   __darwinAllowLocalNetworking = true;
39   pythonImportsCheck = [ "trustme" ];
41   meta = with lib; {
42     description = "High quality TLS certs while you wait, for the discerning tester";
43     homepage = "https://github.com/python-trio/trustme";
44     changelog = "https://trustme.readthedocs.io/en/latest/#change-history";
45     license = with licenses; [
46       mit
47       asl20
48     ];
49     maintainers = with maintainers; [ catern ];
50   };