Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

+32
+30
pkgs/tools/misc/kalibrate-rtl/default.nix
···
··· 1 + { stdenv, fetchgit, autoreconfHook, pkgconfig, fftw, rtl-sdr, libusb1 }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "kalibrate-rtl-20131214"; 5 + 6 + # There are no tags/releases, so use the latest commit from git master. 7 + # Currently, the latest commit is from 2013-12-14. 8 + src = fetchgit { 9 + url = "https://github.com/steve-m/kalibrate-rtl.git"; 10 + rev = "aae11c8a8dc79692a94ccfee39ba01e8c8c05d38"; 11 + sha256 = "1spbfflkqnw9s8317ppsf7b1nnkicqsmaqsnz1zf8i49ix70i6kn"; 12 + }; 13 + 14 + buildInputs = [ autoreconfHook pkgconfig fftw rtl-sdr libusb1 ]; 15 + 16 + meta = with stdenv.lib; { 17 + description = "Calculate local oscillator frequency offset in RTL-SDR devices"; 18 + longDescription = '' 19 + Kalibrate, or kal, can scan for GSM base stations in a given frequency 20 + band and can use those GSM base stations to calculate the local 21 + oscillator frequency offset. 22 + 23 + This package is for RTL-SDR devices. 24 + ''; 25 + homepage = https://github.com/steve-m/kalibrate-rtl; 26 + license = licenses.bsd2; 27 + platforms = platforms.linux; 28 + maintainers = [ maintainers.bjornfor ]; 29 + }; 30 + }
+2
pkgs/top-level/all-packages.nix
··· 1353 1354 kazam = callPackage ../applications/video/kazam { }; 1355 1356 kexectools = callPackage ../os-specific/linux/kexectools { }; 1357 1358 keychain = callPackage ../tools/misc/keychain { };
··· 1353 1354 kazam = callPackage ../applications/video/kazam { }; 1355 1356 + kalibrate-rtl = callPackage ../tools/misc/kalibrate-rtl { }; 1357 + 1358 kexectools = callPackage ../os-specific/linux/kexectools { }; 1359 1360 keychain = callPackage ../tools/misc/keychain { };