Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, pymeeus, pytz, pytestCheckHook, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "convertdate"; version = "2.5.1"; pyproject = true;
src = fetchFromGitHub { owner = "fitnr"; repo = "convertdate"; tag = "v${finalAttrs.version}"; hash = "sha256-zxcEIqCdEIG+tRGGFqeZDy2DNLbq/CNifK35bRyqEcU="; };
build-system = [ setuptools ];
dependencies = [ pymeeus pytz ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "convertdate" ];
meta = { description = "Utils for converting between date formats and calculating holidays"; homepage = "https://github.com/fitnr/convertdate"; changelog = "https://github.com/fitnr/convertdate/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jluttine ]; mainProgram = "censusgeocode"; };})