python312Packages.tbm-utils: format with nixfmt
This commit is contained in:
parent
b663a2486c
commit
29b2453118
@ -1,16 +1,17 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, attrs
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pendulum
|
||||
, poetry-core
|
||||
, pprintpp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, wrapt
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
attrs,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
pendulum,
|
||||
poetry-core,
|
||||
pprintpp,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
wrapt,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -47,17 +48,11 @@ buildPythonPackage rec {
|
||||
--replace-fail 'poetry.masonry.api' 'poetry.core.masonry.api'
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"attrs"
|
||||
];
|
||||
pythonRelaxDeps = [ "attrs" ];
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
@ -66,9 +61,7 @@ buildPythonPackage rec {
|
||||
wrapt
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = lib.optionals stdenv.isDarwin [
|
||||
# Skip on macOS because /etc/localtime is accessed through the pendulum
|
||||
@ -84,9 +77,7 @@ buildPythonPackage rec {
|
||||
"tests/test_misc.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"tbm_utils"
|
||||
];
|
||||
pythonImportsCheck = [ "tbm_utils" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A commonly-used set of utilities";
|
||||
|
Loading…
Reference in New Issue
Block a user