ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / archinfo / default.nix
blobdd1f76fa9709c88274dae2dd0abea419076a5aa1
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "archinfo";
11   version = "9.2.25";
12   format = "pyproject";
14   disabled = pythonOlder "3.8";
16   src = fetchFromGitHub {
17     owner = "angr";
18     repo = pname;
19     rev = "v${version}";
20     hash = "sha256-9uOv7h5UUWIZTWB7A+7ikG6ReE1FBHIeNAVY6QBhzmE=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   checkInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "archinfo"
33   ];
35   meta = with lib; {
36     description = "Classes with architecture-specific information";
37     homepage = "https://github.com/angr/archinfo";
38     license = with licenses; [ bsd2 ];
39     maintainers = with maintainers; [ fab ];
40   };