1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/misc/kalibrate-rtl/default.nix
Bjørn Forsman 49c9ba81a5 kalibrate-rtl: new package
kalibrate-rtl calculates the local oscillator frequency offset in
RTL-SDR devices.

kalibrate-rtl has no tags/releases, so I'm using the latest commit from
git master (dated 2013-12-14). I made an upstream issue about making a
release back in May[1], but I've gotten no response yet.

[1] https://github.com/steve-m/kalibrate-rtl/issues/7
2014-07-23 22:47:41 +02:00

31 lines
1.1 KiB
Nix

{ stdenv, fetchgit, autoreconfHook, pkgconfig, fftw, rtl-sdr, libusb1 }:
stdenv.mkDerivation rec {
name = "kalibrate-rtl-20131214";
# There are no tags/releases, so use the latest commit from git master.
# Currently, the latest commit is from 2013-12-14.
src = fetchgit {
url = "https://github.com/steve-m/kalibrate-rtl.git";
rev = "aae11c8a8dc79692a94ccfee39ba01e8c8c05d38";
sha256 = "1spbfflkqnw9s8317ppsf7b1nnkicqsmaqsnz1zf8i49ix70i6kn";
};
buildInputs = [ autoreconfHook pkgconfig fftw rtl-sdr libusb1 ];
meta = with stdenv.lib; {
description = "Calculate local oscillator frequency offset in RTL-SDR devices";
longDescription = ''
Kalibrate, or kal, can scan for GSM base stations in a given frequency
band and can use those GSM base stations to calculate the local
oscillator frequency offset.
This package is for RTL-SDR devices.
'';
homepage = https://github.com/steve-m/kalibrate-rtl;
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}