Commit 253052d4 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.archinfo: clean-up

parent fafa2258
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@
  pytestCheckHook,
  pythonOlder,
  setuptools,
  nix-update-script,
}:

buildPythonPackage rec {
@@ -14,7 +13,7 @@ buildPythonPackage rec {
  version = "9.2.149";
  pyproject = true;

  disabled = pythonOlder "3.8";
  disabled = pythonOlder "3.12";

  src = fetchFromGitHub {
    owner = "angr";
@@ -25,18 +24,14 @@ buildPythonPackage rec {

  build-system = [ setuptools ];

  dependencies = lib.optionals (pythonOlder "3.11") [ backports-strenum ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "archinfo" ];

  passthru.updateScript = nix-update-script { };

  meta = with lib; {
    description = "Classes with architecture-specific information";
    homepage = "https://github.com/angr/archinfo";
    license = with licenses; [ bsd2 ];
    license = licenses.bsd2;
    maintainers = with maintainers; [ fab ];
  };
}