Files
nixpkgs/pkgs/development/python-modules/amarna/default.nix
2026-08-22 20:24:47 +00:00

42 lines
779 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
lark,
pydot,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "amarna";
version = "0.1.5";
pyproject = true;
src = fetchFromGitHub {
owner = "crytic";
repo = "amarna";
tag = "v${finalAttrs.version}";
hash = "sha256-tyvHWBhanR7YH87MDWdXUsDEzZG6MgnbshezAbxWO+I=";
};
build-system = [ setuptools ];
dependencies = [
lark
pydot
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "amarna" ];
meta = {
description = "Static-analyzer and linter for the Cairo programming language";
mainProgram = "amarna";
homepage = "https://github.com/crytic/amarna";
license = lib.licenses.agpl3Only;
maintainers = [ ];
};
})