Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 54 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, convertdate, fetchFromGitHub, hijri-converter, korean-lunar-calendar, pytestCheckHook, python-dateutil, pythonOlder}:
buildPythonPackage rec { pname = "holidays"; version = "0.26"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "dr-prodigy"; repo = "python-holidays"; rev = "refs/tags/v.${version}"; hash = "sha256-4kRIhIjOQB23ihZBs6J6/ZriLiMD87m/xOqMXga5Ypw="; };
propagatedBuildInputs = [ convertdate python-dateutil hijri-converter korean-lunar-calendar ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "holidays" ];
disabledTests = [ # Failure starting with 0.24 "test_l10n" ];
meta = with lib; { description = "Generate and work with holidays in Python"; homepage = "https://github.com/dr-prodigy/python-holidays"; changelog = "https://github.com/dr-prodigy/python-holidays/releases/tag/v.${version}"; license = licenses.mit; maintainers = with maintainers; [ jluttine ]; };}