depot/third_party/nixpkgs/pkgs/development/python-modules/ailment/default.nix

43 lines
792 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pyvex
, setuptools
}:
buildPythonPackage rec {
pname = "ailment";
version = "9.2.29";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
hash = "sha256-Yso47p4d8buJTdXOrm7luvtxpFu+oTFhqTBueQaXqII=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pyvex
];
# Tests depend on angr (possibly a circular dependency)
doCheck = false;
#pythonImportsCheck = [ "ailment" ];
meta = with lib; {
description = "The angr Intermediate Language";
homepage = "https://github.com/angr/ailment";
license = with licenses; [ bsd2 ];
maintainers = with maintainers; [ fab ];
};
}