Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 535 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "PyMeeus"; 5 version = "0.3.7"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0qjnk9sc65i4by2x4zm6w941a4i31fmhgwbkpbqkk87rwq4h4hsn"; 10 }; 11 12 checkInputs = [ pytest ]; 13 14 checkPhase = '' 15 pytest . 16 ''; 17 18 meta = with stdenv.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}