depot/third_party/nixpkgs/pkgs/development/python-modules/ailment/default.nix
Default email 555cd8a8f9 Project import generated by Copybara.
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
2024-10-09 18:51:18 +02:00

39 lines
781 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pyvex,
setuptools,
}:
buildPythonPackage rec {
pname = "ailment";
version = "9.2.122";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "angr";
repo = "ailment";
rev = "refs/tags/v${version}";
hash = "sha256-e+SDgi0bhiE0MdhRxxFlkKU0N5ExfehbEOOyO4+wAzQ=";
};
build-system = [ setuptools ];
dependencies = [ pyvex ];
# Tests depend on angr (possibly a circular dependency)
doCheck = false;
pythonImportsCheck = [ "ailment" ];
meta = with lib; {
description = "Angr Intermediate Language";
homepage = "https://github.com/angr/ailment";
license = with licenses; [ bsd2 ];
maintainers = with maintainers; [ fab ];
};
}