python3Packages.holidays: 0.85 -> 0.93
Diff: https://github.com/vacanza/python-holidays/compare/v0.85...v0.93 Changelog: https://github.com/vacanza/holidays/blob/v0.93/CHANGES.md
This commit is contained in:
@@ -13,16 +13,16 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "holidays";
|
||||
version = "0.85";
|
||||
version = "0.93";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vacanza";
|
||||
repo = "python-holidays";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ExleK66foB2Q/KK7zcPJ16q4ucz3gOkntB2SQETfHqk=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-6WgwDkgd6Wn67gNcOw/H2fg55OHcOP7h+76HrML6p80=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -36,6 +36,9 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs scripts/l10n/*.py
|
||||
|
||||
substituteInPlace holidays/version.py \
|
||||
--replace-fail 'version("holidays")' '"${finalAttrs.version}"'
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
@@ -59,11 +62,11 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Generate and work with holidays in Python";
|
||||
homepage = "https://github.com/vacanza/python-holidays";
|
||||
changelog = "https://github.com/vacanza/holidays/blob/${src.tag}/CHANGES.md";
|
||||
changelog = "https://github.com/vacanza/holidays/blob/${finalAttrs.src.tag}/CHANGES.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
fab
|
||||
jluttine
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user