1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "asn1crypto"; 8 version = "1.4.0"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "f4f6e119474e58e04a2b1af817eb585b4fd72bdd89b998624712b5c99be7641c"; 13 }; 14 15 # No tests included 16 doCheck = false; 17 18 meta = { 19 description = "Fast ASN.1 parser and serializer with definitions for private keys, public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8, PKCS#12, PKCS#5, X.509 and TSP"; 20 license = lib.licenses.mit; 21 homepage = "https://github.com/wbond/asn1crypto"; 22 }; 23}