My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/python-modules/archinfo/default.nix

40 lines
712 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytestCheckHook
, nose
, pythonOlder
}:
buildPythonPackage rec {
pname = "archinfo";
version = "9.2.1";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
hash = "sha256-RWdY7tzT5wDVjAn1QIkQm8b5lIo++VzktsYZxn8taeg=";
};
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 ];
};
}