0fe1cd7bea
GitOrigin-RevId: c6c4a3d45ab200f17805d2d86a1ff1cc7ca2b186
32 lines
706 B
Nix
32 lines
706 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, pyvex
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ailment";
|
|
version = "9.0.9031";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "angr";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-xyNTcGTGH8030CJif6an+kDZIfOUVDMiRhFamVajAzk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|