mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 18:24:53 +00:00
42 lines
779 B
Nix
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 = [ ];
|
|
};
|
|
})
|