summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sgp4/default.nix
blob: 826d7f9d04a48ea05bbc6e127d6281958468f796 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  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 = {
    homepage = "https://github.com/brandon-rhodes/python-sgp4";
    description = "Python version of the SGP4 satellite position library";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ zane ];
  };
}