depot/third_party/nixpkgs/pkgs/development/python-modules/sgp4/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

22 lines
542 B
Nix

{ lib, buildPythonPackage, fetchPypi, numpy }:
buildPythonPackage rec {
pname = "sgp4";
version = "2.21";
src = fetchPypi {
inherit pname version;
hash = "sha256-YXm4dQRId+lBYzwgr3ci/SMaiNiomvAb8wvWTzPN7O8=";
};
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 ];
};
}