ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / amarna / default.nix
blobaadf4d2665e5bb2b30d61fb3bf422dcc62ed0885
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.3";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "crytic";
19     repo = "amarna";
20     rev = "v${version}";
21     hash = "sha256-cE7OhACLpRmbJWzMsGTidbbw9FOKBbz47LEJwTW6wck=";
22   };
24   propagatedBuildInputs = [
25     lark
26     pydot
27   ];
29   checkInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "amarna"
35   ];
37   meta = with lib; {
38     description = "Static-analyzer and linter for the Cairo programming language";
39     homepage = "https://github.com/crytic/amarna";
40     license = licenses.agpl3Only;
41     maintainers = with maintainers; [ raitobezarius ];
42   };