Files
nixpkgs/pkgs/by-name/or/orbvis/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

55 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
gtk3,
curl,
libepoxy,
meson,
ninja,
wrapGAppsHook3,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "orbvis";
version = "0.3.2";
src = fetchFromGitHub {
owner = "wojciech-graj";
repo = "orbvis";
tag = "v${finalAttrs.version}";
hash = "sha256-kPbRhm+HymY6DuR4JgE6qTTYKGIqVxvwxtveu7dOOO0=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook3
];
buildInputs = [
gtk3
curl
libepoxy
];
postInstall = ''
install -Dm444 $src/flatpak/io.github.wojciech_graj.OrbVis.desktop -t $out/share/applications
install -Dm444 $src/flatpak/128x128/io.github.wojciech_graj.OrbVis.png -t $out/share/icons/hicolor/128x128/apps
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "View and propagate the full CelesTrak satellite catalog in realtime";
homepage = "https://github.com/wojciech-graj/OrbVis";
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ thtrf ];
mainProgram = "orbvis";
platforms = lib.platforms.linux;
};
})