Unverified Commit 1a10fd46 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #265231 from fabaff/holidays-bump

python311Packages.holidays: 0.32 -> 0.35 
parents 958e5102 c3aa4706
Loading
Loading
Loading
Loading
+13 −6
Original line number Diff line number Diff line
@@ -3,27 +3,33 @@
, convertdate
, fetchFromGitHub
, hijri-converter
, importlib-metadata
, korean-lunar-calendar
, polib
, pytestCheckHook
, python-dateutil
, pythonOlder
, setuptools
}:

buildPythonPackage rec {
  pname = "holidays";
  version = "0.32";
  format = "setuptools";
  version = "0.35";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "dr-prodigy";
    repo = "python-holidays";
    rev = "refs/tags/v.${version}";
    hash = "sha256-YAh5gR4KcUgXzeXy3xyGeokDFsyd9FqRQ5j1TC6wCQY=";
    rev = "refs/tags/v${version}";
    hash = "sha256-FrAqVLyEtjhpiu1XdFY5yOstKKjXhRTv9PeaFlJaf8k=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    convertdate
    python-dateutil
@@ -32,6 +38,7 @@ buildPythonPackage rec {
  ];

  nativeCheckInputs = [
    importlib-metadata
    polib
    pytestCheckHook
  ];
@@ -48,9 +55,9 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Generate and work with holidays in Python";
    homepage = "https://github.com/dr-prodigy/python-holidays";
    changelog = "https://github.com/dr-prodigy/python-holidays/releases/tag/v.${version}";
    changelog = "https://github.com/dr-prodigy/python-holidays/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ jluttine ];
    maintainers = with maintainers; [ fab jluttine ];
  };
}