nixpkgs/pkgs/development/python-modules/archinfo/default.nix
2021-07-07 09:11:19 +02:00

33 lines
627 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, nose
}:
buildPythonPackage rec {
pname = "archinfo";
version = "9.0.8761";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-mdry5JQIW1b2p9a+c6RfHE6HYs54WKFofPkzFCgpUXg=";
};
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 ];
};
}