Files
nixpkgs/pkgs/development/python-modules/amarna/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

42 lines
808 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
lark,
pydot,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "amarna";
version = "0.1.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "crytic";
repo = "amarna";
tag = "v${version}";
hash = "sha256-tyvHWBhanR7YH87MDWdXUsDEzZG6MgnbshezAbxWO+I=";
};
propagatedBuildInputs = [
lark
pydot
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "amarna" ];
meta = {
description = "Static-analyzer and linter for the Cairo programming language";
mainProgram = "amarna";
homepage = "https://github.com/crytic/amarna";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ raitobezarius ];
};
}