nixpkgs/pkgs/development/python-modules/ailment/default.nix
2023-01-10 21:29:46 +01:00

43 lines
792 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pyvex
, setuptools
}:
buildPythonPackage rec {
pname = "ailment";
version = "9.2.33";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
hash = "sha256-PngFhzeBm3lm69KKjcj4NvFb1DVspdkQaiVSg0FZnV4=";
};
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 ];
};
}