blob: bba82425cc053c0c655d64d1e4745320128bcf08 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, bitstruct
, diskcache
, prompt-toolkit
, pyparsing
, python
}:
buildPythonPackage rec {
pname = "asn1tools";
version = "0.163.0";
src = fetchFromGitHub {
owner = "eerimoq";
repo = "asn1tools";
rev = "v${version}";
sha256 = "sha256-sbwwbwkhlZvCb2emuw1FTBj5pnv9SOtHpAcYPSQqIvM=";
};
propagatedBuildInputs = [
bitstruct
diskcache
prompt-toolkit
pyparsing
];
checkPhase = ''
${python.interpreter} setup.py test
'';
pythonImportsCheck = [ "asn1tools" ];
meta = with lib; {
description = "ASN.1 parsing, encoding and decoding";
homepage = "https://github.com/eerimoq/asn1tools";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}
|