Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
897 B
Nix
43 lines
897 B
Nix
{
|
|
lib,
|
|
python3,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "asn1editor";
|
|
version = "0.8.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Futsch1";
|
|
repo = "asn1editor";
|
|
rev = "v${version}";
|
|
hash = "sha256-mgluhC2DMS4OyS/BoWqBdVf7GcxquOtOKTHZ/hbiHQM=";
|
|
};
|
|
|
|
build-system = with python3.pkgs; [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
asn1tools
|
|
coverage
|
|
wxpython
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|