Files
nixpkgs/pkgs/by-name/gp/gpredict/package.nix
Ben Siraphob 5506449838 pkgs/by-name: fix typos
Assisted-by: Claude Code (claude-opus-5)
2026-08-05 09:56:33 -07:00

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 targeted 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
];
};
})