commit d8a4d25c6026fef91eeff4aa0a224aad9b88a77a
parent 6b7bc6ac1ac067534678f67d62f15e651fd08c6e
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sat, 18 May 2024 23:41:29 +0400
Add adsb_deku
Diffstat:
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -515,6 +515,7 @@ lib.makeScope newScope (
### RADIO
acarsdec = callPackage ./radio/acarsdec { };
+ adsb_deku = callPackage ./radio/adsb_deku { };
ais-catcher = callPackage ./radio/ais-catcher { };
aprsc = callPackage ./radio/aprsc { };
dumphfdl = callPackage ./radio/dumphfdl { };
diff --git a/pkgs/radio/adsb_deku/default.nix b/pkgs/radio/adsb_deku/default.nix
@@ -0,0 +1,23 @@
+{ lib, stdenv, rustPlatform, fetchFromGitHub }:
+
+rustPlatform.buildRustPackage rec {
+ pname = "adsb_deku";
+ version = "2023.11.22";
+
+ src = fetchFromGitHub {
+ owner = "rsadsb";
+ repo = "adsb_deku";
+ rev = "v${version}";
+ hash = "sha256-vreda3+c0HS0+YaQZrJRBdbtQgKxw+NgkSMkDqhc+AM=";
+ };
+
+ cargoHash = "sha256-0ur+GNJna56eM99nwJHJJlAaP60lgXSTBFHZ9NHIau8=";
+
+ meta = with lib; {
+ description = "Rust ADS-B decoder + tui radar application";
+ inherit (src.meta) homepage;
+ license = licenses.mit;
+ maintainers = [ maintainers.sikmir ];
+ platforms = platforms.unix;
+ };
+}