Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ lib, astral, buildPythonPackage, fetchFromGitHub, hypothesis, num2words, pdm-backend, pytest-timeout, pytest-xdist, pytestCheckHook, syrupy_5,}:
buildPythonPackage rec { pname = "hdate"; version = "1.2.2"; pyproject = true;
src = fetchFromGitHub { owner = "py-libhdate"; repo = "py-libhdate"; tag = "v${version}"; hash = "sha256-3MOxDVrEMuMfk/fCCo6IItqR1DMr/0KN7L4hYjMYCGM="; };
pythonRelaxDeps = [ "astral" ];
build-system = [ pdm-backend ];
dependencies = [ num2words ];
optional-dependencies = { astral = [ astral ]; };
nativeCheckInputs = [ hypothesis pytest-timeout pytest-xdist pytestCheckHook syrupy_5 ];
pytestFlags = [ "--snapshot-warn-unused" ];
enabledTestPaths = [ "tests" ];
pythonImportsCheck = [ "hdate" ];
meta = { description = "Python module for Jewish/Hebrew date and Zmanim"; homepage = "https://github.com/py-libhdate/py-libhdate"; changelog = "https://github.com/py-libhdate/py-libhdate/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ fab ]; };}