Files
nixpkgs/pkgs/development/python-modules/angrop/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

45 lines
892 B
Nix

{
lib,
angr,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
tqdm,
}:
buildPythonPackage rec {
pname = "angrop";
version = "9.2.12.post3";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "angr";
repo = "angrop";
tag = "v${version}";
hash = "sha256-t4JjI6mWX/Us4dHcVXPAUGms8SEE6MVhteQMPi8p5Zo=";
};
build-system = [ setuptools ];
dependencies = [
angr
tqdm
];
# 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 = {
description = "ROP gadget finder and chain builder";
homepage = "https://github.com/angr/angrop";
license = with lib.licenses; [ bsd2 ];
maintainers = with lib.maintainers; [ fab ];
};
}