mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
33 lines
987 B
Nix
33 lines
987 B
Nix
{ 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;
|
|
hash = "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";
|
|
};
|
|
}
|