summary refs log tree commit diff
path: root/pkgs/applications/science/astronomy/gpredict/default.nix
blob: 148963d64c08dc4de0f1389c7cc542005ac33a73 (plain) (blame)
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
29
30
31
32
33
{ stdenv, fetchurl, pkgconfig
, gtk2-x11, glib, curl, goocanvas, intltool
}:

let
  version = "1.3";
in
stdenv.mkDerivation {
  name = "gpredict-${version}";

  src = fetchurl {
    url = "https://sourceforge.net/projects/gpredict/files/Gpredict/${version}/gpredict-${version}.tar.gz";
    sha256 = "18ym71r2f5mwpnjcnrpwrk3py2f6jlqmj8hzp89wbcm1ipnvxxmh";
  };

  buildInputs = [ curl glib gtk2-x11 goocanvas ];
  nativeBuildInputs = [ pkgconfig intltool ];

  meta = with stdenv.lib; {
    description = "Real time satellite tracking and orbit prediction";
    longDescription = ''
      Gpredict is a real time satellite tracking and orbit prediction program
      written using the Gtk+ widgets. Gpredict is targetted mainly towards ham radio
      operators but others interested in satellite tracking may find it useful as
      well. Gpredict uses the SGP4/SDP4 algorithms, which are compatible with the
      NORAD Keplerian elements.
    '';
    license = licenses.gpl2;
    platforms = platforms.linux;
    homepage = "https://sourceforge.net/projects/gpredict/";
    maintainers = [ maintainers.markuskowa ];
  };
}