nixpkgs/pkgs/development/python-modules/holidays/default.nix
2020-08-04 21:54:45 +02:00

21 lines
573 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, six, dateutil, convertdate }:
buildPythonPackage rec {
pname = "holidays";
version = "0.10.3";
src = fetchPypi {
inherit pname version;
sha256 = "839281f2b1ae7ac576da7951472482f6e714818296853107ea861fa60f5013cc";
};
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 ];
};
}