<commit_before>x@{builderDefsPackage
  , autoconf, automake, libtool, m4
  , libX11, xproto, libXi, inputproto
  , libXaw, libXmu, libXt
  , ...}:
builderDefsPackage
(a :  
let 
  helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 
    [];

  buildInputs = map (n: builtins.getAttr n x)
    (builtins.attrNames (builtins.removeAttrs x helperArgNames));
  sourceInfo = rec {
    baseName="ois";
    majorVersion="1";
    minorVersion="3";
    version="${majorVersion}.${minorVersion}";
    name="${baseName}-${version}";
    url="mirror://sourceforge/project/wgois/Source%20Release/${version}/ois_v${majorVersion}-${minorVersion}.tar.gz";
    hash="18gs6xxhbqb91x2gm95hh1pmakimqim1k9c65h7ah6g14zc7dyjh";
  };
in
rec {
  src = a.fetchurl {
    url = sourceInfo.url;
    sha256 = sourceInfo.hash;
  };

  inherit (sourceInfo) name version;
  inherit buildInputs;

  phaseNames = ["doConfigure" "doMakeInstall"];

  configureCommand = ''sh bootstrap; sh configure'';
      
  meta = {
    description = "Object-oriented C++ input system";
    maintainers = with a.lib.maintainers;
    [
      raskin
    ];
    platforms = with a.lib.platforms;
      linux;
    license = a.lib.zlib;
  };
  passthru = {
    updateInfo = {
      downloadPage = "http://sourceforge.net/projects/wgois/files/Source Release/";
    };
  };
}) x

<commit_msg>Fixing license attribute<commit_after>x@{builderDefsPackage
  , autoconf, automake, libtool, m4
  , libX11, xproto, libXi, inputproto
  , libXaw, libXmu, libXt
  , ...}:
builderDefsPackage
(a :  
let 
  helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 
    [];

  buildInputs = map (n: builtins.getAttr n x)
    (builtins.attrNames (builtins.removeAttrs x helperArgNames));
  sourceInfo = rec {
    baseName="ois";
    majorVersion="1";
    minorVersion="3";
    version="${majorVersion}.${minorVersion}";
    name="${baseName}-${version}";
    url="mirror://sourceforge/project/wgois/Source%20Release/${version}/ois_v${majorVersion}-${minorVersion}.tar.gz";
    hash="18gs6xxhbqb91x2gm95hh1pmakimqim1k9c65h7ah6g14zc7dyjh";
  };
in
rec {
  src = a.fetchurl {
    url = sourceInfo.url;
    sha256 = sourceInfo.hash;
  };

  inherit (sourceInfo) name version;
  inherit buildInputs;

  phaseNames = ["doConfigure" "doMakeInstall"];

  configureCommand = ''sh bootstrap; sh configure'';
      
  meta = {
    description = "Object-oriented C++ input system";
    maintainers = with a.lib.maintainers;
    [
      raskin
    ];
    platforms = with a.lib.platforms;
      linux;
    license = a.lib.licenses.zlib;
  };
  passthru = {
    updateInfo = {
      downloadPage = "http://sourceforge.net/projects/wgois/files/Source Release/";
    };
  };
}) x


{'fraction_non_alphanumeric': 0.14649446494464943, 'fraction_numerical': 0.020664206642066422, 'mean_word_length': 3.4588815789473686, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2390057', 'n_tokens_mistral': 1004, 'n_tokens_neox': 958, 'n_words': 166}