1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pyparsing,
6}:
7
8buildPythonPackage rec {
9 pname = "asn1ate";
10 format = "setuptools";
11 version = "0.6";
12
13 src = fetchFromGitHub {
14 sha256 = "1p8hv4gsyqsdr0gafcq497n52pybiqmc22di8ai4nsj60fv0km45";
15 rev = "v${version}";
16 owner = "kimgr";
17 repo = "asn1ate";
18 };
19
20 propagatedBuildInputs = [ pyparsing ];
21
22 meta = with lib; {
23 description = "Python library for translating ASN.1 into other forms";
24 mainProgram = "asn1ate";
25 license = licenses.bsd3;
26 platforms = platforms.unix;
27 maintainers = with maintainers; [ leenaars ];
28 };
29}