14 buildPythonPackage rec {
19 inherit pname version;
20 sha256 = "sha256-XgeyPXDO7WTzuzauS5q8UjVMFsmNRasDe+4rX7/+WGw=";
29 propagatedBuildInputs = [
32 ] ++ lib.optionals (!isPy3k) [
36 # aarch64-darwin forbids W+X memory, but this tests depends on it:
37 # * https://github.com/pyca/pyopenssl/issues/873
38 disabledTests = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
39 "test_pyopenssl_end_to_end"
42 # Some of the tests use localhost networking.
43 __darwinAllowLocalNetworking = true;
45 pythonImportsCheck = [ "trustme" ];
48 description = "High quality TLS certs while you wait, for the discerning tester";
49 homepage = "https://github.com/python-trio/trustme";
50 license = with licenses; [ mit asl20 ];
51 maintainers = with maintainers; [ catern ];