python312Packages.gorilla: format with nixfmtx

This commit is contained in:
Fabian Affolter 2024-04-05 22:57:01 +02:00
parent c26d8b9066
commit 3882105d91

View File

@ -1,10 +1,11 @@
{ lib {
, buildPythonPackage lib,
, fetchPypi buildPythonPackage,
, pytestCheckHook fetchPypi,
, pythonAtLeast pytestCheckHook,
, pythonOlder pythonAtLeast,
, setuptools pythonOlder,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -19,21 +20,13 @@ buildPythonPackage rec {
hash = "sha256-AFq4hTsDcWKnx3u4JGBMbggYeO4DwJrQHvQXRIVgGdM="; hash = "sha256-AFq4hTsDcWKnx3u4JGBMbggYeO4DwJrQHvQXRIVgGdM=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "gorilla" ];
"gorilla"
];
disabledTests = lib.optionals (pythonAtLeast "3.12") [ disabledTests = lib.optionals (pythonAtLeast "3.12") [ "test_find_patches_2" ];
"test_find_patches_2"
];
meta = with lib; { meta = with lib; {
description = "Convenient approach to monkey patching"; description = "Convenient approach to monkey patching";