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

35 lines
1.2 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, intltool
2018-02-26 01:47:15 +00:00
, gtk3, glib, curl, goocanvas2, gpsd
, hamlib, wrapGAppsHook
2017-12-09 09:45:29 +00:00
}:
let
2018-02-26 01:47:15 +00:00
version = "2.2.1";
in stdenv.mkDerivation {
2019-08-13 21:52:01 +00:00
pname = "gpredict";
inherit version;
2017-12-09 09:45:29 +00:00
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 = [ pkg-config intltool wrapGAppsHook ];
buildInputs = [ curl glib gtk3 goocanvas2 gpsd hamlib ];
2017-12-09 09:45:29 +00:00
meta = with lib; {
2017-12-09 09:45:29 +00:00
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
2017-12-09 09:45:29 +00:00
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.
'';
2021-02-01 12:27:39 +00:00
license = licenses.gpl2Only;
2017-12-09 09:45:29 +00:00
platforms = platforms.linux;
homepage = "http://gpredict.oz9aec.net/";
maintainers = [ maintainers.markuskowa maintainers.cmcdragonkai ];
2017-12-09 09:45:29 +00:00
};
}