mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
0215034f25
when they already rely on SRI hashes.
25 lines
529 B
Nix
25 lines
529 B
Nix
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "PyMeeus";
|
|
version = "0.5.12";
|
|
|
|
src = fetchPypi {
|
|
inherit pname 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 ];
|
|
};
|
|
}
|