From 0ab186073d64025e74d1a6a1fabfe44bc579f79b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 23 Aug 2022 08:30:26 +0200 Subject: [PATCH] python310Packages.amarna: 0.1.2 -> 0.1.3 - update meta - disable on older Python releaes --- .../python-modules/amarna/default.nix | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) 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 ]; }; }