nixpkgs-suyu/pkgs/development/python-modules/ailment/default.nix
2021-08-10 22:26:17 +02:00

32 lines
706 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pyvex
}:
buildPythonPackage rec {
pname = "ailment";
version = "9.0.9438";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-V/0plNgApk8S/xdd0I8zeE7dqb0xBhqCVSDW7jGHpzo=";
};
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 ];
};
}