overlay/dump1090_rs: init at 0.5.1

This commit is contained in:
Astro 2022-02-21 17:48:28 +01:00
parent 04e811ea16
commit 9dbcbc0f62
2 changed files with 22 additions and 0 deletions

View File

@ -15,6 +15,8 @@ final: prev:
readsb = prev.callPackage ./readsb.nix { };
dump1090_rs = prev.callPackage ./dump1090_rs.nix { };
plume = prev.callPackage ./plume { };
SimpleYggGen-CPP = prev.callPackage ./simpleygggen.nix { };

20
overlay/dump1090_rs.nix Normal file
View File

@ -0,0 +1,20 @@
{ fetchFromGitHub, rustPlatform
, pkg-config, llvmPackages
, soapysdr-with-plugins
}:
rustPlatform.buildRustPackage rec {
name = "dump1090_rs";
version = "0.5.1";
src = fetchFromGitHub {
owner = "rsadsb";
repo = "dump1090_rs";
rev = "v${version}";
sha256 = "1jhcb5b3l1q8zz3hfwyxy69i1015jmbdw3zlnhvalgqhp9qli2li";
};
cargoSha256 = "00270yfbgz794m8mifnskvgqd6h17mm18cxr10371zlymnsnjf2c";
nativeBuildInputs = [ pkg-config llvmPackages.clang ];
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
buildInputs = [ soapysdr-with-plugins ];
}