depot/third_party/nixpkgs/pkgs/applications/radio/soapyremote/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

29 lines
753 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, soapysdr, avahi }:
let
version = "0.5.2";
in stdenv.mkDerivation {
pname = "soapyremote";
inherit version;
src = fetchFromGitHub {
owner = "pothosware";
repo = "SoapyRemote";
rev = "soapy-remote-${version}";
sha256 = "124sy9v08fm51ds1yzrxspychn34y0rl6y48mzariianazvzmfax";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ soapysdr avahi ];
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
meta = with lib; {
homepage = "https://github.com/pothosware/SoapyRemote";
description = "SoapySDR plugin for remote access to SDRs";
license = licenses.boost;
maintainers = with maintainers; [ markuskowa ];
platforms = platforms.linux;
};
}