mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
33 lines
627 B
Nix
33 lines
627 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, nose
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "archinfo";
|
|
version = "9.0.5903";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "angr";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-4e+ZGIt/ouZj5rsmaVxUrz8gAq4Yq2+Qx4jdOojB4Sw=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|