mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #186305 from RaitoBezarius/amarna
This commit is contained in:
commit
f135dc6e18
33
pkgs/development/python-modules/amarna/default.nix
Normal file
33
pkgs/development/python-modules/amarna/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lark
|
||||
, pydot
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "amarna";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crytic";
|
||||
repo = "amarna";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ohR6VJFIvUCMkppqdCV/kJwEmh1fP0QhfQfNu3RoMeU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
lark
|
||||
pydot
|
||||
];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
pythonImportsCheck = [ "amarna" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Amarna is a static-analyzer and linter for the Cairo programming language.";
|
||||
homepage = "https://github.com/crytic/amarna";
|
||||
license = licenses.agpl3;
|
||||
maintainers = with maintainers; [ raitobezarius ];
|
||||
};
|
||||
}
|
@ -521,6 +521,8 @@ in {
|
||||
|
||||
altair = callPackage ../development/python-modules/altair { };
|
||||
|
||||
amarna = callPackage ../development/python-modules/amarna { };
|
||||
|
||||
amazon-ion = callPackage ../development/python-modules/amazon-ion { };
|
||||
|
||||
amazon_kclpy = callPackage ../development/python-modules/amazon_kclpy { };
|
||||
|
Loading…
Reference in New Issue
Block a user