python310Packages.asn1tools: init at 0.163.0

This commit is contained in:
Sandro Jäckel 2022-06-04 04:46:44 +02:00
parent ded901634f
commit a5985571ca
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,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 ];
};
}

View file

@ -675,6 +675,8 @@ in {
asn1crypto = callPackage ../development/python-modules/asn1crypto { };
asn1tools = callPackage ../development/python-modules/asn1tools { };
aspell-python = callPackage ../development/python-modules/aspell-python { };
aspy-refactor-imports = callPackage ../development/python-modules/aspy-refactor-imports { };