2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
2020-03-09 15:20:14 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PyMeeus";
|
2021-03-24 09:28:23 +00:00
|
|
|
version = "0.5.11";
|
2020-03-09 15:20:14 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:23 +00:00
|
|
|
sha256 = "bb9d670818d8b0594317b48a7dadea02a0594e5344263bf2054e1a011c8fed55";
|
2020-03-09 15:20:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest .
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-03-09 15:20:14 +00:00
|
|
|
homepage = "https://github.com/architest/pymeeus";
|
|
|
|
description = "Library of astronomical algorithms";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
};
|
|
|
|
}
|