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-02-20 09:09:14 +00:00
|
|
|
version = "0.3.13";
|
2020-03-09 15:20:14 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:14 +00:00
|
|
|
sha256 = "43b800a2571f3237e558d8d305e97f6ac4027977666e22af98448e0f1f86af86";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|