1{ lib, buildPythonPackage, fetchPypi, pytest }:
2
3buildPythonPackage rec {
4 pname = "PyMeeus";
5 version = "0.5.11";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "bb9d670818d8b0594317b48a7dadea02a0594e5344263bf2054e1a011c8fed55";
10 };
11
12 checkInputs = [ 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}