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