33 lines
707 B
Nix
33 lines
707 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, pyvex
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ailment";
|
|
version = "9.0.5739";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "angr";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1fjwksia6h7w7m5zhys65yr4zxvyfgp9hr1k5dn802p9kvz34bpc";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|