1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pythonOlder
5, pyvex
6}:
7
8buildPythonPackage rec {
9 pname = "ailment";
10 version = "9.0.10576";
11 disabled = pythonOlder "3.6";
12
13 src = fetchFromGitHub {
14 owner = "angr";
15 repo = pname;
16 rev = "v${version}";
17 sha256 = "sha256-s8GZV+hcuAZJhKVoLAtC2mwHlqr/vJ6P5mwlNDczEyY=";
18 };
19
20 propagatedBuildInputs = [ pyvex ];
21
22 # Tests depend on angr (possibly a circular dependency)
23 doCheck = false;
24 #pythonImportsCheck = [ "ailment" ];
25
26 meta = with lib; {
27 description = "The angr Intermediate Language";
28 homepage = "https://github.com/angr/ailment";
29 license = with licenses; [ bsd2 ];
30 maintainers = with maintainers; [ fab ];
31 };
32}