Commit c3aa4706 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.holidays: 0.32 -> 0.35

parent 025ea35c
Loading
Loading
Loading
Loading
+12 −5
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,7 +55,7 @@ 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; [ fab jluttine ];
  };