blob: 80aea4deabdc81721ae8f044dba1524a9b821043 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
lark,
pydot,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "amarna";
version = "0.1.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "crytic";
repo = "amarna";
tag = "v${version}";
hash = "sha256-tyvHWBhanR7YH87MDWdXUsDEzZG6MgnbshezAbxWO+I=";
};
propagatedBuildInputs = [
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 = with lib.maintainers; [ raitobezarius ];
};
}
|