nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 38 lines 705 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, nose 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "archinfo"; 11 version = "9.2.4"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchFromGitHub { 17 owner = "angr"; 18 repo = pname; 19 rev = "v${version}"; 20 hash = "sha256-d5SP9pnDWXEzjBXKeqnuKK6+lrFRWYwmiV4MjfqORwk="; 21 }; 22 23 checkInputs = [ 24 nose 25 pytestCheckHook 26 ]; 27 28 pythonImportsCheck = [ 29 "archinfo" 30 ]; 31 32 meta = with lib; { 33 description = "Classes with architecture-specific information"; 34 homepage = "https://github.com/angr/archinfo"; 35 license = with licenses; [ bsd2 ]; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}