nixpkgs/pkgs/applications/science/astronomy/gpredict/default.nix

33 lines
1.1 KiB
Nix
Raw Normal View History

2018-02-26 01:47:15 +00:00
{ stdenv, fetchurl, pkgconfig, intltool
, gtk3, glib, curl, goocanvas2, gpsd
2017-12-09 09:45:29 +00:00
}:
let
2018-02-26 01:47:15 +00:00
version = "2.2.1";
in stdenv.mkDerivation {
2017-12-09 09:45:29 +00:00
name = "gpredict-${version}";
src = fetchurl {
2018-02-26 01:47:15 +00:00
url = "https://github.com/csete/gpredict/releases/download/v${version}/gpredict-${version}.tar.bz2";
sha256 = "0hwf97kng1zy8rxyglw04x89p0bg07zq30hgghm20yxiw2xc8ng7";
2017-12-09 09:45:29 +00:00
};
nativeBuildInputs = [ pkgconfig intltool ];
2018-02-26 01:47:15 +00:00
buildInputs = [ curl glib gtk3 goocanvas2 gpsd ];
2017-12-09 09:45:29 +00:00
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;
2018-02-26 01:47:15 +00:00
homepage = http://gpredict.oz9aec.net/;
2017-12-09 09:45:29 +00:00
maintainers = [ maintainers.markuskowa ];
};
}