depot/third_party/nixpkgs/pkgs/development/python-modules/archinfo/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

32 lines
628 B
Nix

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