Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 46 lines 926 B view raw
1{ lib 2, buildPythonPackage 3, convertdate 4, python-dateutil 5, fetchPypi 6, hijri-converter 7, korean-lunar-calendar 8, pytestCheckHook 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "holidays"; 14 version = "0.17.2"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-EWBFNfZq2dj4TlHBcQKWDof8OBn4RESvaLHrh1aGZjA="; 22 }; 23 24 propagatedBuildInputs = [ 25 convertdate 26 python-dateutil 27 hijri-converter 28 korean-lunar-calendar 29 ]; 30 31 checkInputs = [ 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ 36 "holidays" 37 ]; 38 39 meta = with lib; { 40 description = "Generate and work with holidays in Python"; 41 homepage = "https://github.com/dr-prodigy/python-holidays"; 42 changelog = "https://github.com/dr-prodigy/python-holidays/releases/tag/v.${version}"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ jluttine ]; 45 }; 46}