1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, libusb1 }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-RKTMEDPeKcerJZtXTn8eAShxDcZUMgeQg/+7pEpMyVg=";
14 nativeBuildInputs = [ cmake pkg-config ];
16 buildInputs = [ libusb1 ];
19 description = "User mode driver for Airspy HF+";
20 homepage = "https://github.com/airspy/airspyhf";
21 license = licenses.bsd3;
22 maintainers = with maintainers; [ sikmir ];
23 platforms = platforms.unix;