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-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-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 ];
|
|
|
|
};
|
|
|
|
}
|