diff --git a/pkgs/development/python-modules/amarna/default.nix b/pkgs/development/python-modules/amarna/default.nix index 617afec140eb..aadf4d2665e5 100644 --- a/pkgs/development/python-modules/amarna/default.nix +++ b/pkgs/development/python-modules/amarna/default.nix @@ -4,30 +4,40 @@ , lark , pydot , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "amarna"; - version = "0.1.2"; + version = "0.1.3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "crytic"; repo = "amarna"; rev = "v${version}"; - sha256 = "sha256-ohR6VJFIvUCMkppqdCV/kJwEmh1fP0QhfQfNu3RoMeU="; + hash = "sha256-cE7OhACLpRmbJWzMsGTidbbw9FOKBbz47LEJwTW6wck="; }; propagatedBuildInputs = [ lark pydot ]; - checkInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ "amarna" ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "amarna" + ]; meta = with lib; { - description = "Amarna is a static-analyzer and linter for the Cairo programming language."; + description = "Static-analyzer and linter for the Cairo programming language"; homepage = "https://github.com/crytic/amarna"; - license = licenses.agpl3; + license = licenses.agpl3Only; maintainers = with maintainers; [ raitobezarius ]; }; }