1{ lib, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "PyMeeus"; 5 version = "0.5.12"; 6 7 src = fetchPypi { 8 inherit pname version; 9 hash = "sha256-VI9xhr2LlsvAac9kmo6ON33OSax0SGcJhJ/mOpnK1oQ="; 10 }; 11 12 nativeCheckInputs = [ pytest ]; 13 14 checkPhase = '' 15 pytest . 16 ''; 17 18 meta = with lib; { 19 homepage = "https://github.com/architest/pymeeus"; 20 description = "Library of astronomical algorithms"; 21 license = licenses.lgpl3; 22 maintainers = with maintainers; [ jluttine ]; 23 }; 24}