python312Pacakges.holidays: use nixfmt

This commit is contained in:
Fabian Affolter 2024-04-03 17:26:06 +02:00
parent c709c60333
commit 9ddf34110a

View File

@ -1,22 +1,15 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
# build-system
, setuptools
# l10n
, polib
, lingva
, chameleon
# dependencies
, python-dateutil
# tests
, importlib-metadata
, pytestCheckHook
{
lib,
buildPythonPackage,
chameleon,
fetchFromGitHub,
importlib-metadata,
lingva,
polib,
pytestCheckHook,
python-dateutil,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
@ -52,9 +45,7 @@ buildPythonPackage rec {
./scripts/l10n/generate_mo_files.py
'';
dependencies = [
python-dateutil
];
dependencies = [ python-dateutil ];
doCheck = false;
@ -64,21 +55,16 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"holidays"
];
disabledTests = [
# Failure starting with 0.24
"test_l10n"
];
pythonImportsCheck = [ "holidays" ];
meta = with lib; {
description = "Generate and work with holidays in Python";
homepage = "https://github.com/vacanza/python-holidays";
changelog = "https://github.com/vacanza/python-holidays/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab jluttine ];
maintainers = with maintainers; [
fab
jluttine
];
};
}