default.nix (815B)
1 { 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6 soapysdr, 7 }: 8 9 rustPlatform.buildRustPackage rec { 10 pname = "dump1090_rs"; 11 version = "0.8.1"; 12 13 src = fetchFromGitHub { 14 owner = "rsadsb"; 15 repo = "dump1090_rs"; 16 rev = "v${version}"; 17 hash = "sha256-YMi+DaLORiy36rl02sKoCanI1hQSh4eRKJdrruxvMWg="; 18 }; 19 20 cargoHash = "sha256-eLFRbEJPEurSzxcaMpMmV1y2S47B34+LALkpD+vILoo="; 21 22 nativeBuildInputs = [ pkg-config ]; 23 24 buildInputs = [ soapysdr ]; 25 26 meta = { 27 description = "Multi-SDR supported Rust translation of the popular dump1090 project for ADS-B demodulation"; 28 homepage = "https://github.com/rsadsb/dump1090_rs"; 29 license = lib.licenses.gpl2; 30 maintainers = [ lib.maintainers.sikmir ]; 31 platforms = lib.platforms.unix; 32 broken = true; # Unable to find libclang 33 }; 34 }