b92afdaebc
- goocanvas has been replaced with native GTK3/Cairo: https://github.com/csete/gpredict/pull/390 - hamlib C bindings haven't been used since 2008: https://github.com/csete/gpredict/commit/1123de6044f6e5ad031567f0c047c13e0a348123
63 lines
1.3 KiB
Nix
63 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
intltool,
|
|
autoreconfHook,
|
|
gtk3,
|
|
curl,
|
|
gpsd,
|
|
wrapGAppsHook3,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "gpredict";
|
|
version = "2.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "csete";
|
|
repo = "gpredict";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-lP+QakQ+uTgBY8NNEC7DwQifh3Zi0ZKbarxNGB4onq0=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
__structuredAttrs = true;
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
intltool
|
|
wrapGAppsHook3
|
|
autoreconfHook
|
|
];
|
|
|
|
buildInputs = [
|
|
curl
|
|
gtk3
|
|
gpsd
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Real time satellite tracking and orbit prediction";
|
|
mainProgram = "gpredict";
|
|
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 = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.linux;
|
|
homepage = "https://oz9aec.dk/gpredict/";
|
|
maintainers = with lib.maintainers; [
|
|
cmcdragonkai
|
|
pandapip1
|
|
];
|
|
};
|
|
})
|