summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pymeeus/default.nix
blob: a48bbdd1878de42afd304061d638d9ea1951b648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  pytest7CheckHook,
}:

buildPythonPackage rec {
  pname = "pymeeus";
  version = "0.5.12";
  pyproject = true;

  src = fetchPypi {
    pname = "PyMeeus";
    inherit version;
    hash = "sha256-VI9xhr2LlsvAac9kmo6ON33OSax0SGcJhJ/mOpnK1oQ=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytest7CheckHook ];

  meta = {
    homepage = "https://github.com/architest/pymeeus";
    description = "Library of astronomical algorithms";
    license = lib.licenses.lgpl3;
    maintainers = with lib.maintainers; [ jluttine ];
  };
}