python3Packages.pypcode: init at 3.3.3 (#497495)

This commit is contained in:
Fabian Affolter
2026-03-07 09:58:21 +00:00
committed by GitHub
2 changed files with 55 additions and 0 deletions
@@ -0,0 +1,53 @@
{
lib,
buildPythonPackage,
cmake,
fetchFromGitHub,
nanobind,
pytest-cov-stub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "pypcode";
version = "3.3.3";
pyproject = true;
src = fetchFromGitHub {
owner = "angr";
repo = "pypcode";
tag = "v${finalAttrs.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
@@ -14432,6 +14432,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 { };