14 rustPlatform.buildRustPackage rec {
18 src = fetchFromGitHub {
22 sha256 = "sha256-wmjglF2+BFmlTfvqt90nbCxuldN8AEFXj7y9tgTvA2Y=";
40 lockFile = ./Cargo.lock;
42 "satellite-0.1.0" = "sha256-R5Tz4MpRnAEnMmkx/LhWPmwRIKpnCLIB4VxApMTBn78=";
47 # Used by macro pointing to resource location at compile time.
48 export NOAA_APT_RES_DIR=$out/share/noaa-apt
53 mkdir -p $out/share/noaa-apt
54 cp -R $src/res/* $out/share/noaa-apt/
57 install -Dm644 -t $out/share/applications $src/debian/ar.com.mbernardi.noaa-apt.desktop
58 install -Dm644 -t $out/share/icons/hicolor/48x48/apps $src/debian/ar.com.mbernardi.noaa-apt.png
59 install -Dm644 -t $out/share/icons/hicolor/scalable/apps $src/debian/ar.com.mbernardi.noaa-apt.svg
63 description = "NOAA APT image decoder";
64 homepage = "https://noaa-apt.mbernardi.com.ar/";
65 license = licenses.gpl3Only;
66 maintainers = with maintainers; [ trepetti tmarkus ];
67 platforms = platforms.all;
68 changelog = "https://github.com/martinber/noaa-apt/releases/tag/v${version}";
69 mainProgram = "noaa-apt";