python311Packages.archinfo: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-09 23:14:51 +02:00
parent 376df0333e
commit d3606244da
1 changed files with 12 additions and 19 deletions

View File

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