commit 002a8afee52558c436598d8d81803884e73c8d86
parent 702eb4dde8fe1834c1b846aa2426a0a77c345d14
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Fri, 22 Oct 2021 22:44:10 +0300
Add gqrx-scanner
Diffstat:
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -326,6 +326,7 @@ lib.makeScope newScope (
airspyhf = callPackage ./radio/airspyhf { };
aprsc = callPackage ./radio/aprsc { };
+ gqrx-scanner = callPackage ./radio/gqrx-scanner { };
libad9361 = callPackage ./radio/libad9361 { };
linrad = callPackage ./radio/linrad { };
sdrpp = callPackage ./radio/sdrpp { };
diff --git a/pkgs/radio/gqrx-scanner/default.nix b/pkgs/radio/gqrx-scanner/default.nix
@@ -0,0 +1,23 @@
+{ lib, stdenv, fetchFromGitHub, cmake }:
+
+stdenv.mkDerivation rec {
+ pname = "gqrx-scanner";
+ version = "1.0.2";
+
+ src = fetchFromGitHub {
+ owner = "neural75";
+ repo = pname;
+ rev = "v${version}";
+ hash = "sha256-CHM1Q54ephZA4vNUPnaLCncgnfSiNeUq6u+X6PhhxD8=";
+ };
+
+ nativeBuildInputs = [ cmake ];
+
+ meta = with lib; {
+ description = "A frequency scanner for Gqrx Software Defined Radio receiver";
+ inherit (src.meta) homepage;
+ license = licenses.mit;
+ maintainers = [ maintainers.sikmir ];
+ platforms = platforms.unix;
+ };
+}