<commit_before>{ fetchurl, stdenv, nss, nspr, pkgconfig }:


stdenv.mkDerivation rec {
  name = "liboauth-1.0.3";

  src = fetchurl {
    url = "mirror://sourceforge/liboauth/${name}.tar.gz";
    sha256 = "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd";
  };

  buildInputs = [ pkgconfig nss nspr ];

  configureFlags = [ "--enable-nss" ];

  postInstall = ''
    substituteInPlace $out/lib/liboauth.la \
      --replace "-lnss3" "-L${nss.out}/lib -lnss3"
  '';

  meta = with stdenv.lib; {
    platforms = platforms.linux;
    description = "C library implementing the OAuth secure authentication protocol";
    homepage = http://liboauth.sourceforge.net/;
    repositories.git = https://github.com/x42/liboauth.git;
  };

}
<commit_msg>liboauth: propagate inputs wanted by pkgconfig<commit_after>{ fetchurl, stdenv, nss, nspr, pkgconfig }:


stdenv.mkDerivation rec {
  name = "liboauth-1.0.3";

  src = fetchurl {
    url = "mirror://sourceforge/liboauth/${name}.tar.gz";
    sha256 = "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd";
  };

  nativeBuildInputs = [ pkgconfig ];

  propagatedBuildInputs = [ nss nspr ];

  configureFlags = [ "--enable-nss" ];

  postInstall = ''
    substituteInPlace $out/lib/liboauth.la \
      --replace "-lnss3" "-L${nss.out}/lib -lnss3"
  '';

  meta = with stdenv.lib; {
    platforms = platforms.linux;
    description = "C library implementing the OAuth secure authentication protocol";
    homepage = http://liboauth.sourceforge.net/;
    repositories.git = https://github.com/x42/liboauth.git;
  };

}

{'fraction_non_alphanumeric': 0.14541960281870595, 'fraction_numerical': 0.037155669442664956, 'mean_word_length': 3.4, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2486882', 'n_tokens_mistral': 627, 'n_tokens_neox': 590, 'n_words': 100}