1{ lib, buildPythonPackage, fetchPypi, tox, numpy }:
2
3buildPythonPackage rec {
4 pname = "sgp4";
5 version = "2.21";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "sha256-YXm4dQRId+lBYzwgr3ci/SMaiNiomvAb8wvWTzPN7O8=";
10 };
11
12 checkInputs = [ tox 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}