<commit_before>{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, fftw, rtl-sdr, libusb1 }:

stdenv.mkDerivation {
  pname = "kalibrate-rtl";
  version = "2013-12-14";

  # 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";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config ];
  buildInputs = [ fftw rtl-sdr libusb1 ];

  meta = with 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 ];
  };
}<commit_msg>kalibrate-rtl: switch to fetchFromGitHub<commit_after>{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, fftw, rtl-sdr, libusb1 }:

stdenv.mkDerivation {
  pname = "kalibrate-rtl";
  version = "unstable-2013-12-14";

  src = fetchFromGitHub {
    owner = "steve-m";
    repo = "kalibrate-rtl";
    rev = "aae11c8a8dc79692a94ccfee39ba01e8c8c05d38";
    sha256 = "1spbfflkqnw9s8317ppsf7b1nnkicqsmaqsnz1zf8i49ix70i6kn";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config ];

  buildInputs = [ fftw rtl-sdr libusb1 ];

  meta = with 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 = with maintainers; [ bjornfor ];
  };
}
{'fraction_non_alphanumeric': 0.10148849797023005, 'fraction_numerical': 0.04871447902571042, 'mean_word_length': 3.480808080808081, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3625228', 'n_tokens_mistral': 863, 'n_tokens_neox': 782, 'n_words': 194}