forked from mirrors/nixpkgs
38 lines
738 B
Nix
38 lines
738 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, pyvex
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ailment";
|
|
version = "9.1.12332";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "angr";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-qWKvNhiOAonUi0qpOWtwbNZa2lgBQ+gaGrAHMgDdr4Q=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|