nix-config/overlays/dump1090_rs.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
576 B
Nix
Raw Permalink Normal View History

{ fetchFromGitHub
, rustPlatform
, pkg-config
, llvmPackages
2022-02-21 17:48:28 +01:00
, soapysdr-with-plugins
}:
rustPlatform.buildRustPackage rec {
name = "dump1090_rs";
version = "0.5.1";
2022-06-12 17:26:32 +02:00
2022-02-21 17:48:28 +01:00
src = fetchFromGitHub {
owner = "rsadsb";
repo = "dump1090_rs";
rev = "v${version}";
sha256 = "1jhcb5b3l1q8zz3hfwyxy69i1015jmbdw3zlnhvalgqhp9qli2li";
};
2022-06-12 17:26:32 +02:00
2022-02-21 17:48:28 +01:00
cargoSha256 = "00270yfbgz794m8mifnskvgqd6h17mm18cxr10371zlymnsnjf2c";
nativeBuildInputs = [ pkg-config llvmPackages.clang ];
2022-06-12 17:26:32 +02:00
2022-02-21 17:48:28 +01:00
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
2022-06-12 17:26:32 +02:00
2022-02-21 17:48:28 +01:00
buildInputs = [ soapysdr-with-plugins ];
}