14 buildPythonPackage rec {
19 disabled = pythonOlder "3.8";
21 src = fetchFromGitHub {
24 rev = "refs/tags/${version}";
25 hash = "sha256-TWAOML6nsLX3TYqoQ9fcSjrUmC4byXOfczfkmSaSa0k=";
32 propagatedBuildInputs = [
37 passthru.optional-depdendencies = {
49 ] ++ lib.flatten (builtins.attrValues passthru.optional-depdendencies);
51 pythonImportsCheck = [
56 # assert exact error message of pyparsing which changed and no longer matches
57 # https://github.com/eerimoq/asn1tools/issues/167
62 description = "ASN.1 parsing, encoding and decoding";
63 mainProgram = "asn1tools";
64 homepage = "https://github.com/eerimoq/asn1tools";
65 changelog = "https://github.com/eerimoq/asn1tools/releases/tag/${version}";
66 license = licenses.mit;
67 maintainers = with maintainers; [ ];