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.5.11";
2020-03-09 15:20:14 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "bb9d670818d8b0594317b48a7dadea02a0594e5344263bf2054e1a011c8fed55";
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 ];
};
}