2021-01-08 16:12:40 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "archinfo";
|
2021-02-08 18:05:33 +00:00
|
|
|
version = "9.0.5739";
|
2021-01-08 16:12:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "angr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-08 18:05:33 +00:00
|
|
|
sha256 = "sha256-6qjX0r2vLYgJdrKBVKedplfa1yhWv9tBvTu5BsViXBc=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|