2025-08-05 12:10:52 +00:00

29 lines
576 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
numpy,
}:
buildPythonPackage rec {
pname = "sgp4";
version = "2.25";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-4Z7cbcwl1p+4/eCiZ7jwxE1+kVx7y+rPXTqLWVuvBnQ=";
};
nativeCheckInputs = [ numpy ];
pythonImportsCheck = [ "sgp4" ];
meta = with lib; {
homepage = "https://github.com/brandon-rhodes/python-sgp4";
description = "Python version of the SGP4 satellite position library";
license = licenses.mit;
maintainers = with maintainers; [ zane ];
};
}