mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
8a1aa036d3
* add avahi for DNS-SD
29 lines
744 B
Nix
29 lines
744 B
Nix
{ stdenv, fetchFromGitHub, cmake, soapysdr, avahi }:
|
|
|
|
let
|
|
version = "0.5.0";
|
|
|
|
in stdenv.mkDerivation {
|
|
name = "soapyremote-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pothosware";
|
|
repo = "SoapyRemote";
|
|
rev = "soapy-remote-${version}";
|
|
sha256 = "1lyjhf934zap61ky7rbk46bp8s8sjk8sgdyszhryfyf571jv9b2i";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ soapysdr avahi ];
|
|
|
|
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
|
|
|
|
meta = with stdenv.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;
|
|
};
|
|
}
|