2021-01-08 16:12:40 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "archinfo";
|
2021-02-22 22:57:31 +00:00
|
|
|
version = "9.0.5903";
|
2021-01-08 16:12:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "angr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-22 22:57:31 +00:00
|
|
|
sha256 = "sha256-4e+ZGIt/ouZj5rsmaVxUrz8gAq4Yq2+Qx4jdOojB4Sw=";
|
2021-01-08 16:12:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 = [ maintainers.fab ];
|
|
|
|
};
|
|
|
|
}
|