Merge pull request #187965 from fabaff/amarna-bump

python310Packages.amarna: 0.1.2 -> 0.1.3
This commit is contained in:
Fabian Affolter 2022-08-23 09:57:38 +02:00 committed by GitHub
commit 279e8eaf51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,30 +4,40 @@
, lark , lark
, pydot , pydot
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "amarna"; pname = "amarna";
version = "0.1.2"; version = "0.1.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "crytic"; owner = "crytic";
repo = "amarna"; repo = "amarna";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-ohR6VJFIvUCMkppqdCV/kJwEmh1fP0QhfQfNu3RoMeU="; hash = "sha256-cE7OhACLpRmbJWzMsGTidbbw9FOKBbz47LEJwTW6wck=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
lark lark
pydot pydot
]; ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "amarna" ]; checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"amarna"
];
meta = with lib; { 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"; homepage = "https://github.com/crytic/amarna";
license = licenses.agpl3; license = licenses.agpl3Only;
maintainers = with maintainers; [ raitobezarius ]; maintainers = with maintainers; [ raitobezarius ];
}; };
} }