Skip to content

Commit

Permalink
python3Packages.libbs: init at 2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerpogo committed Dec 30, 2024
1 parent 8954e92 commit 9c6c5b3
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
54 changes: 54 additions & 0 deletions pkgs/development/python-modules/libbs/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, filelock
, ghidra-bridge
, jfx-bridge
, platformdirs
, prompt-toolkit
, psutil
, pycparser
, pyhidra
, setuptools
, toml
, tqdm
, wheel
,
}:

buildPythonPackage rec {
pname = "libbs";
version = "2.8.0";
pyproject = true;

src = fetchFromGitHub {
owner = "binsync";
repo = "libbs";
tag = "v${version}";
hash = "sha256-YCLl5e/ecZQ6MZwQ9FRDtBHLwG5DltYSaH5q4Xy5D0M=";
};

build-system = [ setuptools ];

dependencies = [
toml
pycparser
prompt-toolkit
tqdm
jfx-bridge
ghidra-bridge
psutil
pyhidra
platformdirs
filelock
];

pythonImportsCheck = [ "libbs" ];

meta = {
description = "Library for writing plugins in any decompiler: includes API lifting, common data formatting, and GUI abstraction";
homepage = "https://github.com/binsync/libbs";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ scoder12 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7230,6 +7230,8 @@ self: super: with self; {

libagent = callPackage ../development/python-modules/libagent { };

libbs = callPackage ../development/python-modules/libbs { };

pa-ringbuffer = callPackage ../development/python-modules/pa-ringbuffer { };

lib4sbom = callPackage ../development/python-modules/lib4sbom { };
Expand Down

0 comments on commit 9c6c5b3

Please sign in to comment.