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