Files
nixpkgs/pkgs/development/python-modules/archinfo/default.nix

42 lines
880 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "archinfo";
# Keep angr-management, angr, archinfo, cle, and pyvex in sync.
# nixpkgs-update: no auto update
version = "10.0.7";
pyproject = true;
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "angr";
repo = "archinfo";
tag = "v${finalAttrs.version}";
hash = "sha256-+0mWoJ4k4yp1fMbS/YgnXoxEx50lIjDUZJji/xnU/xU=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "archinfo" ];
meta = {
description = "Classes with architecture-specific information";
homepage = "https://github.com/angr/archinfo";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [
connornelson
fab
];
};
})