13da32182d
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
38 lines
706 B
Nix
38 lines
706 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, nose
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "archinfo";
|
|
version = "9.2.14";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "angr";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-kWZ5z9Tn0SAqrGP4gtGfPny+kj/2ibSdTwp+0RCx40s=";
|
|
};
|
|
|
|
checkInputs = [
|
|
nose
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"archinfo"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Classes with architecture-specific information";
|
|
homepage = "https://github.com/angr/archinfo";
|
|
license = with licenses; [ bsd2 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|