1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 numpy,
6}:
7
8buildPythonPackage rec {
9 pname = "sgp4";
10 version = "2.25";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-4Z7cbcwl1p+4/eCiZ7jwxE1+kVx7y+rPXTqLWVuvBnQ=";
16 };
17
18 nativeCheckInputs = [ numpy ];
19
20 pythonImportsCheck = [ "sgp4" ];
21
22 meta = with lib; {
23 homepage = "https://github.com/brandon-rhodes/python-sgp4";
24 description = "Python version of the SGP4 satellite position library";
25 license = licenses.mit;
26 maintainers = with maintainers; [ zane ];
27 };
28}