diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2023-12-02 11:19:49 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2023-12-17 12:03:41 +0100 |
commit | 4c501306af1ab6c19491fdafebb30fd097eb42c5 (patch) | |
tree | 30afdac6483c8b2ca6853169e5f441b108cfd435 /pkgs/by-name/as | |
parent | b3d1ef8ddece67e60df022f74050aa44de34b241 (diff) |
asn1editor: init at 0.8.0
Python based editor for ASN.1 encoded data. https://github.com/Futsch1/asn1editor
Diffstat (limited to 'pkgs/by-name/as')
-rw-r--r-- | pkgs/by-name/as/asn1editor/package.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/by-name/as/asn1editor/package.nix b/pkgs/by-name/as/asn1editor/package.nix new file mode 100644 index 0000000000000..a85d8f53fe6d1 --- /dev/null +++ b/pkgs/by-name/as/asn1editor/package.nix @@ -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 ]; + }; +} |