2021-02-13 14:23:35 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
|
|
|
, pyvex
|
2022-09-30 11:47:45 +00:00
|
|
|
, setuptools
|
2021-02-13 14:23:35 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ailment";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "9.2.59";
|
2022-04-27 09:35:20 +00:00
|
|
|
format = "pyproject";
|
2022-01-19 23:45:15 +00:00
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2021-02-13 14:23:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "angr";
|
|
|
|
repo = pname;
|
2023-03-30 22:05:00 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-1AlmVRiGrYe0fS5Ny1JzyA2gGWKaUVioeZQTGhwMoaM=";
|
2021-02-13 14:23:35 +00:00
|
|
|
};
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyvex
|
|
|
|
];
|
2021-02-13 14:23:35 +00:00
|
|
|
|
|
|
|
# Tests depend on angr (possibly a circular dependency)
|
|
|
|
doCheck = false;
|
2022-01-19 23:45:15 +00:00
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
#pythonImportsCheck = [ "ailment" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The angr Intermediate Language";
|
|
|
|
homepage = "https://github.com/angr/ailment";
|
|
|
|
license = with licenses; [ bsd2 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|