mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
Merge pull request #218586 from fabaff/holidays-bump
python310Packages.holidays: 0.18 -> 0.20
This commit is contained in:
commit
35e4921e18
@ -1,24 +1,26 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, convertdate
|
||||
, python-dateutil
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, hijri-converter
|
||||
, korean-lunar-calendar
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "holidays";
|
||||
version = "0.18";
|
||||
version = "0.20";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-6U2dNTb/Gipw1tL1bLBV65qV0LmjpfuBuej5024zN4k=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "dr-prodigy";
|
||||
repo = "python-holidays";
|
||||
rev = "refs/tags/v.${version}";
|
||||
hash = "sha256-hz0v4g94RMA1dKOLu4BSYnK5EPNl1hIWEShFJWO0F3A=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -36,10 +38,6 @@ buildPythonPackage rec {
|
||||
"holidays"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"test/test_imports.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate and work with holidays in Python";
|
||||
homepage = "https://github.com/dr-prodigy/python-holidays";
|
||||
|
Loading…
Reference in New Issue
Block a user