about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pymeeus/default.nix
blob: 96fb9d6f6943e471bbb0aea6a2d7b6411c9a6489 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, buildPythonPackage, fetchPypi, pytest }:

buildPythonPackage rec {
  pname = "PyMeeus";
  version = "0.3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0qjnk9sc65i4by2x4zm6w941a4i31fmhgwbkpbqkk87rwq4h4hsn";
  };

  checkInputs = [ pytest ];

  checkPhase = ''
    pytest .
  '';

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