depot/third_party/nixpkgs/pkgs/development/python-modules/pymeeus/default.nix

25 lines
525 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "PyMeeus";
version = "0.5.12";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-VI9xhr2LlsvAac9kmo6ON33OSax0SGcJhJ/mOpnK1oQ=";
};
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 ];
};
}