aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/holidays/default.nix
blob: 10ee1bbf2e76065cddf488e5528df4544aae0267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ stdenv
, buildPythonPackage
, fetchPypi
, convertdate
, dateutil
, korean-lunar-calendar
, six
}:

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "839281f2b1ae7ac576da7951472482f6e714818296853107ea861fa60f5013cc";
  };

  propagatedBuildInputs = [
    convertdate
    dateutil
    korean-lunar-calendar
    six
  ];
  pythonImportsCheck = [ "holidays" ];

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