diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-05-12 19:47:54 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-07-23 22:47:41 +0200 |
commit | 49c9ba81a5cb130c2d492557230562da449bfeb2 (patch) | |
tree | 5510826c3154de26b220868aeed3cbfcbb40eace /pkgs/tools/misc/kalibrate-rtl/default.nix | |
parent | 162cb556f6c54403c87df698a4785d41875c0132 (diff) |
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
Diffstat (limited to 'pkgs/tools/misc/kalibrate-rtl/default.nix')
-rw-r--r-- | pkgs/tools/misc/kalibrate-rtl/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/misc/kalibrate-rtl/default.nix b/pkgs/tools/misc/kalibrate-rtl/default.nix new file mode 100644 index 0000000000000..19870b8de5b8a --- /dev/null +++ b/pkgs/tools/misc/kalibrate-rtl/default.nix @@ -0,0 +1,30 @@ +{ 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 ]; + }; +} |