asn1editor: init at 0.8.0
Python based editor for ASN.1 encoded data. https://github.com/Futsch1/asn1editor
This commit is contained in:
parent
b3d1ef8dde
commit
4c501306af
1 changed files with 37 additions and 0 deletions
37
pkgs/by-name/as/asn1editor/package.nix
Normal file
37
pkgs/by-name/as/asn1editor/package.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "asn1editor";
|
||||
version = "0.8.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Futsch1";
|
||||
repo = "asn1editor";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-mgluhC2DMS4OyS/BoWqBdVf7GcxquOtOKTHZ/hbiHQM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
asn1tools
|
||||
coverage
|
||||
wxPython_4_2
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "asn1editor" ];
|
||||
|
||||
# Tests fail in sandbox, e.g.
|
||||
# "SystemExit: Unable to access the X Display, is $DISPLAY set properly?"
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python based editor for ASN.1 encoded data";
|
||||
homepage = "https://github.com/Futsch1/asn1editor";
|
||||
license = licenses.mit;
|
||||
mainProgram = "asn1editor";
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue