1 { lib, stdenv, fetchFromGitHub, pkg-config, liquid-dsp, soapysdr }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-pwL2G1Ni1Ixw/N0diSoGGIoVrtmF92mWZ5i57OOvkX4=";
14 nativeBuildInputs = [ pkg-config ];
16 buildInputs = [ liquid-dsp soapysdr ];
19 description = "Find initial calibration offset for SDR devices";
21 fm_tune finds the initial offset for calibrating an SDR device. This is
22 based a given FM radio station frequency. The offset given by this tool is
23 not precise, but can be useful as a starting point for other tools which
24 cannot correct for very large errors.
26 homepage = "https://github.com/viraptor/fm_tune";
27 license = licenses.asl20;
28 platforms = platforms.unix;
29 maintainers = with maintainers; [ viraptor ];
30 mainProgram = "fm_tune";