about summary refs log tree commit diff
path: root/pkgs/development/python-modules/holidays/default.nix
blob: 1620109e82d317aa173d60cc2638d2e6c2b3faac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, buildPythonPackage, fetchPypi, six, dateutil, convertdate }:

buildPythonPackage rec {
  pname = "holidays";
  version = "0.10.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "5a91324fcaa4c72a0fe9a13601436f65ee33b2ef033686f4e2228d58a7631970";
  };

  propagatedBuildInputs = [ six dateutil convertdate ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/dr-prodigy/python-holidays";
    description = "Generate and work with holidays in Python";
    license = licenses.mit;
    maintainers = with maintainers; [ jluttine ];
  };
}