python3Packages.pypcode: init at 3.3.3

This commit is contained in:
George Huebner
2026-03-07 10:05:05 +01:00
committed by Fabian Affolter
parent db952ffcd6
commit baf796acfd
2 changed files with 55 additions and 0 deletions
@@ -0,0 +1,53 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
cmake,
setuptools,
nanobind,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "pypcode";
version = "3.3.3";
pyproject = true;
src = fetchFromGitHub {
owner = "angr";
repo = pname;
tag = "v${version}";
hash = "sha256-m3Ee1n6TIbcihTwz1ihpn10gC1YsSlFO17Gj0QVya2A=";
};
build-system = [
cmake
setuptools
nanobind
];
dontUseCmakeConfigure = true;
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "pypcode" ];
preCheck = ''
cd ..
'';
meta = {
description = "Machine code disassembly and IR translation library";
homepage = "https://github.com/angr/pypcode";
license = with lib.licenses; [
bsd2
asl20
zlib
];
maintainers = with lib.maintainers; [ feyorsh ];
};
}
+2
View File
@@ -14430,6 +14430,8 @@ self: super: with self; {
pypck = callPackage ../development/python-modules/pypck { };
pypcode = callPackage ../development/python-modules/pypcode { };
pypdf = callPackage ../development/python-modules/pypdf { };
pypdf2 = callPackage ../development/python-modules/pypdf2 { };