Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
783 B
Nix
34 lines
783 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
buildPythonPackage {
|
|
pname = "fullmoon";
|
|
version = "1.0.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jr-k";
|
|
repo = "python-fullmoon";
|
|
rev = "702b94d9924cce8c156a3d7951bea65b19022358";
|
|
hash = "sha256-d0OL5z2DCOp0xSYBAdaMHZV9wmZJ6jiQTl7NZjMYJRA=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
checkPhase = ''
|
|
runHook preCheck
|
|
python example.py
|
|
runHook postCheck
|
|
'';
|
|
|
|
meta = {
|
|
description = "Determine the occurrence of the next full moon or to determine if a given date is/was/will be a full moon";
|
|
homepage = "https://github.com/jr-k/python-fullmoon";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ quantenzitrone ];
|
|
};
|
|
}
|