nixpkgs/pkgs/development/python-modules/angrop/default.nix

40 lines
851 B
Nix
Raw Normal View History

2021-04-23 11:28:44 +00:00
{ lib
, angr
, buildPythonPackage
, fetchFromGitHub
, progressbar
, pythonOlder
, tqdm
2021-04-23 11:28:44 +00:00
}:
buildPythonPackage rec {
pname = "angrop";
version = "9.0.9166";
2021-04-23 11:28:44 +00:00
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
sha256 = "1myrzp5axg0dj7kxqc2mz3kfqlds3vzvavcncrj5y9xpx8m7l71m";
2021-04-23 11:28:44 +00:00
};
propagatedBuildInputs = [
angr
progressbar
tqdm
2021-04-23 11:28:44 +00:00
];
# Tests have additional requirements, e.g., angr binaries
# cle is executing the tests with the angr binaries already and is a requirement of angr
doCheck = false;
pythonImportsCheck = [ "angrop" ];
meta = with lib; {
description = "ROP gadget finder and chain builder";
homepage = "https://github.com/angr/angrop";
license = with licenses; [ bsd2 ];
maintainers = with maintainers; [ fab ];
};
}