2021-02-13 14:23:35 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
|
|
|
, pyvex
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ailment";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "9.0.10730";
|
2021-02-13 14:23:35 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "angr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "sha256-lmtxCl9QiVVd6cQ8jFMDpJg7rC99Htac0q5VFp7LVyk=";
|
2021-02-13 14:23:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|