blob: f845b69b85116776553d2a02771a59ea7304f864 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
gtk3,
curl,
libepoxy,
meson,
ninja,
wrapGAppsHook3,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "orbvis";
version = "0.3.4";
src = fetchFromGitHub {
owner = "wojciech-graj";
repo = "orbvis";
tag = "v${finalAttrs.version}";
hash = "sha256-e41CDv86zz+x5LF2JDZuxzgIvhHBM0s2XHoQMHfMRAg=";
};
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;
};
})
|