From df330f0407765626475725bec364b5d51dcf123b Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Mon, 18 Oct 2021 10:26:23 +0300 Subject: airspyhf: init at 1.6.8 --- pkgs/applications/radio/airspyhf/default.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/applications/radio/airspyhf/default.nix (limited to 'pkgs/applications/radio/airspyhf/default.nix') diff --git a/pkgs/applications/radio/airspyhf/default.nix b/pkgs/applications/radio/airspyhf/default.nix new file mode 100644 index 0000000000000..a54e8441e36ba --- /dev/null +++ b/pkgs/applications/radio/airspyhf/default.nix @@ -0,0 +1,25 @@ +{ 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; + }; +} -- cgit 1.4.1