Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / archinfo / default.nix
blobb06e0320dc924e751fd4bab608f650673a992d1d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , nose
6 }:
8 buildPythonPackage rec {
9   pname = "archinfo";
10   version = "9.0.5903";
12   src = fetchFromGitHub {
13     owner = "angr";
14     repo = pname;
15     rev = "v${version}";
16     sha256 = "sha256-4e+ZGIt/ouZj5rsmaVxUrz8gAq4Yq2+Qx4jdOojB4Sw=";
17   };
19   checkInputs = [
20     nose
21     pytestCheckHook
22   ];
24   pythonImportsCheck = [ "archinfo" ];
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   };