2021-01-09 10:05:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "archinfo";
|
2021-08-11 14:56:57 +00:00
|
|
|
version = "9.0.9438";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "angr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-08-11 14:56:57 +00:00
|
|
|
sha256 = "sha256-C3ZBqCNzXcpeLmAPpXci2AA4D5A3cQC6rHPuf/BmT38=";
|
2021-01-09 10:05:03 +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 ];
|
|
|
|
};
|
|
|
|
}
|