depot/third_party/nixpkgs/pkgs/development/python-modules/archinfo/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

32 lines
628 B
Nix

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