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

25 lines
535 B
Nix
Raw Normal View History

2020-03-09 15:20:14 +00:00
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "PyMeeus";
version = "0.3.7";
src = fetchPypi {
inherit pname version;
sha256 = "0qjnk9sc65i4by2x4zm6w941a4i31fmhgwbkpbqkk87rwq4h4hsn";
};
checkInputs = [ pytest ];
checkPhase = ''
pytest .
'';
meta = with stdenv.lib; {
homepage = "https://github.com/architest/pymeeus";
description = "Library of astronomical algorithms";
license = licenses.lgpl3;
maintainers = with maintainers; [ jluttine ];
};
}