Unverified Commit 35e4921e authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #218586 from fabaff/holidays-bump

python310Packages.holidays: 0.18 -> 0.20
parents b83895e6 7af9e1fe
Loading
Loading
Loading
Loading
+8 −10
Original line number Diff line number Diff line
{ 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";