python311Packages.archinfo: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-09 23:14:51 +02:00
parent 376df0333e
commit d3606244da

View File

@ -1,10 +1,11 @@
{ lib {
, backports-strenum lib,
, buildPythonPackage backports-strenum,
, fetchFromGitHub buildPythonPackage,
, pytestCheckHook fetchFromGitHub,
, pythonOlder pytestCheckHook,
, setuptools pythonOlder,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -21,21 +22,13 @@ buildPythonPackage rec {
hash = "sha256-EdVGm4453XxGrq2D1v5JzSZyroRNzluZ5/r74YAt5zU="; hash = "sha256-EdVGm4453XxGrq2D1v5JzSZyroRNzluZ5/r74YAt5zU=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = lib.optionals (pythonOlder "3.11") [ dependencies = lib.optionals (pythonOlder "3.11") [ backports-strenum ];
backports-strenum
];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "archinfo" ];
"archinfo"
];
meta = with lib; { meta = with lib; {
description = "Classes with architecture-specific information"; description = "Classes with architecture-specific information";