nixpkgs/pkgs/development/python-modules/pymeeus/default.nix
2024-03-17 19:04:53 +01:00

26 lines
546 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "pymeeus";
version = "0.5.12";
src = fetchPypi {
pname = "PyMeeus";
inherit version;
hash = "sha256-VI9xhr2LlsvAac9kmo6ON33OSax0SGcJhJ/mOpnK1oQ=";
};
nativeCheckInputs = [ pytest ];
checkPhase = ''
pytest .
'';
meta = with lib; {
homepage = "https://github.com/architest/pymeeus";
description = "Library of astronomical algorithms";
license = licenses.lgpl3;
maintainers = with maintainers; [ jluttine ];
};
}