blob: 59c61dc4ed5bbd3145abbd1844681467725eb8db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib, stdenv, fetchFromGitHub, pkg-config, liquid-dsp, soapysdr }:
stdenv.mkDerivation rec {
pname = "fm-tune";
version = "1.1";
src = fetchFromGitHub {
owner = "viraptor";
repo = "fm_tune";
rev = version;
sha256 = "pwL2G1Ni1Ixw/N0diSoGGIoVrtmF92mWZ5i57OOvkX4=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ liquid-dsp soapysdr ];
meta = with lib; {
description = "Find initial calibration offset for SDR devices";
longDescription = ''
fm_tune finds the initial offset for calibrating an SDR device. This is
based a given FM radio station frequency. The offset given by this tool is
not precise, but can be useful as a starting point for other tools which
cannot correct for very large errors.
'';
homepage = "https://github.com/viraptor/fm_tune";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ viraptor ];
mainProgram = "fm_tune";
};
}
|