nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 2bdf040a652010f0531cfb7149056b3878476e25
parent 8df17636ce2cac138ef94487b7c77f6db97d1da9
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Thu,  5 Sep 2024 19:55:27 +0400

Add dump1090_rs

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/radio/dump1090_rs/default.nix | 33+++++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -490,6 +490,7 @@ lib.makeScope newScope ( adsb_deku = callPackage ./radio/adsb_deku { }; ais-catcher = callPackage ./radio/ais-catcher { }; aprsc = callPackage ./radio/aprsc { }; + dump1090_rs = callPackage ./radio/dump1090_rs { }; dumphfdl = callPackage ./radio/dumphfdl { }; dumpvdl2 = callPackage ./radio/dumpvdl2 { }; fmreceiver = libsForQt5.callPackage ./radio/fmreceiver { }; diff --git a/pkgs/radio/dump1090_rs/default.nix b/pkgs/radio/dump1090_rs/default.nix @@ -0,0 +1,33 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + pkg-config, + soapysdr, +}: + +rustPlatform.buildRustPackage rec { + pname = "dump1090_rs"; + version = "0.8.1"; + + src = fetchFromGitHub { + owner = "rsadsb"; + repo = "dump1090_rs"; + rev = "v${version}"; + hash = "sha256-YMi+DaLORiy36rl02sKoCanI1hQSh4eRKJdrruxvMWg="; + }; + + cargoHash = "sha256-eLFRbEJPEurSzxcaMpMmV1y2S47B34+LALkpD+vILoo="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ soapysdr ]; + + meta = { + description = "Multi-SDR supported Rust translation of the popular dump1090 project for ADS-B demodulation"; + homepage = "https://github.com/rsadsb/dump1090_rs"; + license = lib.licenses.gpl2; + maintainers = [ lib.maintainers.sikmir ]; + platforms = lib.platforms.unix; + }; +}