Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / amarna / default.nix
blobd9587d11ee48fded5c04d6888af8e14291fb320d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , lark
5 , pydot
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "amarna";
12   version = "0.1.5";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "crytic";
19     repo = "amarna";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-tyvHWBhanR7YH87MDWdXUsDEzZG6MgnbshezAbxWO+I=";
22   };
24   propagatedBuildInputs = [
25     lark
26     pydot
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "amarna"
35   ];
37   meta = with lib; {
38     description = "Static-analyzer and linter for the Cairo programming language";
39     mainProgram = "amarna";
40     homepage = "https://github.com/crytic/amarna";
41     license = licenses.agpl3Only;
42     maintainers = with maintainers; [ raitobezarius ];
43   };