2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-09-12 14:31:30 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, convertdate
|
|
|
|
, dateutil
|
|
|
|
, korean-lunar-calendar
|
|
|
|
, six
|
|
|
|
}:
|
2019-10-25 05:57:37 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "holidays";
|
2020-07-31 09:56:39 +01:00
|
|
|
version = "0.10.3";
|
2019-10-25 05:57:37 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-31 09:56:39 +01:00
|
|
|
sha256 = "839281f2b1ae7ac576da7951472482f6e714818296853107ea861fa60f5013cc";
|
2019-10-25 05:57:37 +01:00
|
|
|
};
|
|
|
|
|
2020-09-12 14:31:30 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
convertdate
|
|
|
|
dateutil
|
|
|
|
korean-lunar-calendar
|
|
|
|
six
|
|
|
|
];
|
|
|
|
pythonImportsCheck = [ "holidays" ];
|
2019-10-25 05:57:37 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-03-09 15:21:26 +00:00
|
|
|
homepage = "https://github.com/dr-prodigy/python-holidays";
|
2019-10-25 05:57:37 +01:00
|
|
|
description = "Generate and work with holidays in Python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
};
|
|
|
|
}
|