1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5, nose
6}:
7
8buildPythonPackage rec {
9 pname = "archinfo";
10 version = "9.0.10576";
11
12 src = fetchFromGitHub {
13 owner = "angr";
14 repo = pname;
15 rev = "v${version}";
16 sha256 = "sha256-K36tAsVfminDFK09jE6+ruROkaLfCTNPCL5ziZJOrVk=";
17 };
18
19 checkInputs = [
20 nose
21 pytestCheckHook
22 ];
23
24 pythonImportsCheck = [ "archinfo" ];
25
26 meta = with lib; {
27 description = "Classes with architecture-specific information";
28 homepage = "https://github.com/angr/archinfo";
29 license = with licenses; [ bsd2 ];
30 maintainers = [ maintainers.fab ];
31 };
32}