3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pymeeus/default.nix

25 lines
538 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pytest }:
2020-03-09 15:20:14 +00:00
buildPythonPackage rec {
pname = "PyMeeus";
version = "0.3.13";
2020-03-09 15:20:14 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "43b800a2571f3237e558d8d305e97f6ac4027977666e22af98448e0f1f86af86";
2020-03-09 15:20:14 +00:00
};
checkInputs = [ pytest ];
checkPhase = ''
pytest .
'';
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 ];
};
}