Files
nixpkgs/pkgs/development/python-modules/bap/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

34 lines
692 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
bap,
requests,
}:
buildPythonPackage rec {
pname = "bap";
version = "1.3.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "BinaryAnalysisPlatform";
repo = "bap-python";
rev = version;
sha256 = "1ahkrmcn7qaivps1gar8wd9mq2qqyx6zzvznf5r9rr05h17x5lbp";
};
propagatedBuildInputs = [
bap
requests
];
doCheck = false;
meta = {
description = "Platform for binary analysis. It is written in OCaml, but can be used from other languages";
homepage = "https://github.com/BinaryAnalysisPlatform/bap/";
maintainers = [ lib.maintainers.maurer ];
license = lib.licenses.mit;
};
}