3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/radio/airspyhf/default.nix

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

26 lines
608 B
Nix
Raw Normal View History

2021-10-18 08:26:23 +01:00
{ 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;
};
}