mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
fm-tune: init at 1.1
Add the fm_tune application for initial sdr tuning.
This commit is contained in:
parent
d4d822f526
commit
2b3fd11c30
32
pkgs/applications/radio/fm-tune/default.nix
Normal file
32
pkgs/applications/radio/fm-tune/default.nix
Normal file
@ -0,0 +1,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";
|
||||||
|
};
|
||||||
|
}
|
@ -1679,6 +1679,8 @@ with pkgs;
|
|||||||
|
|
||||||
fabs = callPackage ../tools/backup/fabs { };
|
fabs = callPackage ../tools/backup/fabs { };
|
||||||
|
|
||||||
|
fm-tune = callPackage ../applications/radio/fm-tune { };
|
||||||
|
|
||||||
fwbuilder = libsForQt5.callPackage ../tools/security/fwbuilder { };
|
fwbuilder = libsForQt5.callPackage ../tools/security/fwbuilder { };
|
||||||
|
|
||||||
hblock = callPackage ../tools/networking/hblock { };
|
hblock = callPackage ../tools/networking/hblock { };
|
||||||
|
Loading…
Reference in New Issue
Block a user