2021-02-13 14:23:35 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
|
|
|
, pyvex
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ailment";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "9.2.10";
|
2022-04-27 09:35:20 +00:00
|
|
|
format = "pyproject";
|
2022-01-19 23:45:15 +00:00
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "angr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-07-14 12:49:19 +00:00
|
|
|
hash = "sha256-l2rnCtzHeK9B/sb8EQUeTRiapE3Dzcysej1zqO0rrV0=";
|
2021-02-13 14:23:35 +00:00
|
|
|
};
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|