at master 783 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6}: 7buildPythonPackage { 8 pname = "fullmoon"; 9 version = "1.0.2"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "jr-k"; 14 repo = "python-fullmoon"; 15 rev = "702b94d9924cce8c156a3d7951bea65b19022358"; 16 hash = "sha256-d0OL5z2DCOp0xSYBAdaMHZV9wmZJ6jiQTl7NZjMYJRA="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 checkPhase = '' 22 runHook preCheck 23 python example.py 24 runHook postCheck 25 ''; 26 27 meta = { 28 description = "Determine the occurrence of the next full moon or to determine if a given date is/was/will be a full moon"; 29 homepage = "https://github.com/jr-k/python-fullmoon"; 30 license = with lib.licenses; [ mit ]; 31 maintainers = with lib.maintainers; [ quantenzitrone ]; 32 }; 33}