python310Packages.asn1tools: init at 0.163.0
This commit is contained in:
parent
ded901634f
commit
a5985571ca
41
pkgs/development/python-modules/asn1tools/default.nix
Normal file
41
pkgs/development/python-modules/asn1tools/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue