14 buildPythonPackage rec {
15 pname = "service_identity";
18 src = fetchFromGitHub {
22 sha256 = "1aw475ksmd4vpl8cwfdcsw2v063nbhnnxpy633sb75iqp9aazhlx";
25 propagatedBuildInputs = [
26 pyasn1 pyasn1-modules idna attrs cryptography
27 ] ++ lib.optionals (pythonOlder "3.3") [ ipaddress ];
29 checkInputs = [ pytest ];
30 checkPhase = "py.test";
33 description = "Service identity verification for pyOpenSSL";
34 license = licenses.mit;
35 homepage = "https://service-identity.readthedocs.io";