depot/third_party/nixpkgs/pkgs/applications/radio/airspyhf/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

25 lines
608 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libusb1 }:
stdenv.mkDerivation rec {
pname = "airspyhf";
version = "1.6.8";
src = fetchFromGitHub {
owner = "airspy";
repo = pname;
rev = version;
hash = "sha256-RKTMEDPeKcerJZtXTn8eAShxDcZUMgeQg/+7pEpMyVg=";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libusb1 ];
meta = with lib; {
description = "User mode driver for Airspy HF+";
homepage = "https://github.com/airspy/airspyhf";
license = licenses.bsd3;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix;
};
}