python3Packages.libdebug: init at 0.9.0
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
cmake,
|
||||
elfutils,
|
||||
fetchFromGitHub,
|
||||
libdwarf,
|
||||
libiberty,
|
||||
nanobind,
|
||||
ninja,
|
||||
pkg-config,
|
||||
prompt-toolkit,
|
||||
psutil,
|
||||
pyelftools,
|
||||
requests,
|
||||
scikit-build-core,
|
||||
typing-extensions,
|
||||
writableTmpDirAsHomeHook,
|
||||
zlib,
|
||||
zstd,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "libdebug";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libdebug";
|
||||
repo = "libdebug";
|
||||
tag = finalAttrs.version;
|
||||
|
||||
hash = "sha256-J0ETzqAGufsZyW+XDhJCKwX1rrmDBwlAicvBb1AAiIQ=";
|
||||
};
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
pyproject = true;
|
||||
build-system = [ scikit-build-core ];
|
||||
|
||||
buildInputs = [
|
||||
libdwarf
|
||||
elfutils
|
||||
zstd
|
||||
libiberty
|
||||
zlib
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
psutil
|
||||
pyelftools
|
||||
requests
|
||||
prompt-toolkit
|
||||
nanobind
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ writableTmpDirAsHomeHook ];
|
||||
|
||||
pythonImportsCheck = [ "libdebug" ];
|
||||
meta = {
|
||||
homepage = "https://github.com/libdebug/libdebug";
|
||||
description = "Programmatic debugging of userland Linux binaries";
|
||||
maintainers = with lib.maintainers; [ mrsmoer ];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
})
|
||||
@@ -8477,6 +8477,8 @@ self: super: with self; {
|
||||
|
||||
libcst = callPackage ../development/python-modules/libcst { };
|
||||
|
||||
libdebug = callPackage ../development/python-modules/libdebug { inherit (pkgs) zstd; };
|
||||
|
||||
libdnf = lib.pipe pkgs.libdnf [
|
||||
toPythonModule
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user