mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-28 00:40:33 +00:00
42 lines
880 B
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
|
|
];
|
|
};
|
|
})
|