2020-03-09 15:21:26 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, six, dateutil, convertdate }:
|
2019-10-25 05:57:37 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "holidays";
|
2020-05-09 11:01:49 +01:00
|
|
|
version = "0.10.2";
|
2019-10-25 05:57:37 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:01:49 +01:00
|
|
|
sha256 = "5a91324fcaa4c72a0fe9a13601436f65ee33b2ef033686f4e2228d58a7631970";
|
2019-10-25 05:57:37 +01:00
|
|
|
};
|
|
|
|
|
2020-03-09 15:21:26 +00:00
|
|
|
propagatedBuildInputs = [ six dateutil convertdate ];
|
2019-10-25 05:57:37 +01:00
|
|
|
|
|
|
|
meta = with stdenv.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 ];
|
|
|
|
};
|
|
|
|
}
|