18 stdenv.mkDerivation rec {
22 src = fetchFromGitHub {
26 hash = "sha256-+hgjImfT3nWMBYwde7+KC/hzd84pwQbpoJvaJSNG4E8=";
30 # Pull upstream fix for -fno-common toolchains:
31 # https://github.com/csete/gpredict/issues/195
33 name = "fno-common.patch";
34 url = "https://github.com/csete/gpredict/commit/c565bb3d48777bfe17114b5d01cd81150521f056.patch";
35 sha256 = "1jhy9hpqlachq32bkij60q3dxkgi1kkr80rm29jjxqpmambf406a";
37 # Updates URLs for TLE files
38 # https://github.com/csete/gpredict/pull/305
40 name = "TLE-urls.patch";
41 url = "https://github.com/csete/gpredict/commit/8f60f856921e8ee143cd6e2d34a9183778cb0fbf.patch";
42 hash = "sha256-X/nKrqh5sjxDMLhA9LQek8AsJFqhvK/k8Ep3ug/0rMI=";
63 description = "Real time satellite tracking and orbit prediction";
64 mainProgram = "gpredict";
66 Gpredict is a real time satellite tracking and orbit prediction program
67 written using the GTK widgets. Gpredict is targetted mainly towards ham radio
68 operators but others interested in satellite tracking may find it useful as
69 well. Gpredict uses the SGP4/SDP4 algorithms, which are compatible with the
70 NORAD Keplerian elements.
72 license = lib.licenses.gpl2Only;
73 platforms = lib.platforms.linux;
74 homepage = "http://gpredict.oz9aec.net/";
75 maintainers = with lib.maintainers; [