1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, convertdate
5, dateutil
6, korean-lunar-calendar
7, six
8}:
9
10buildPythonPackage rec {
11 pname = "holidays";
12 version = "0.10.3";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "839281f2b1ae7ac576da7951472482f6e714818296853107ea861fa60f5013cc";
17 };
18
19 propagatedBuildInputs = [
20 convertdate
21 dateutil
22 korean-lunar-calendar
23 six
24 ];
25 pythonImportsCheck = [ "holidays" ];
26
27 meta = with stdenv.lib; {
28 homepage = "https://github.com/dr-prodigy/python-holidays";
29 description = "Generate and work with holidays in Python";
30 license = licenses.mit;
31 maintainers = with maintainers; [ jluttine ];
32 };
33}