<commit_before>a :  
let 
  s = import ./src-for-default.nix;
  buildInputs = with a; [
    openssl zlib pcre libxml2 libxslt
    perl ? null
  ];
in
rec {
  src = a.fetchUrlFromSrcInfo s;

  inherit (s) name;
  inherit buildInputs;
  configureFlags = [
    "--with-http_ssl_module"
    "--with-http_xslt_module"
    "--with-http_sub_module"
    "--with-http_dav_module"
    "--with-http_gzip_static_module"
    "--with-http_secure_link_module"
    # Install destination problems
    # "--with-http_perl_module" 
  ];

  preConfigure = a.fullDepEntry ''
    export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${a.libxml2}/include/libxml2"
  '' [];

  phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
      
  meta = {
    description = "nginx - 'engine x' - reverse proxy and lightweight webserver";<commit_msg>Fix remaining perl mention in buildInputs<commit_after>a :  
let 
  s = import ./src-for-default.nix;
  buildInputs = with a; [
    openssl zlib pcre libxml2 libxslt
  ];
in
rec {
  src = a.fetchUrlFromSrcInfo s;

  inherit (s) name;
  inherit buildInputs;
  configureFlags = [
    "--with-http_ssl_module"
    "--with-http_xslt_module"
    "--with-http_sub_module"
    "--with-http_dav_module"
    "--with-http_gzip_static_module"
    "--with-http_secure_link_module"
    # Install destination problems
    # "--with-http_perl_module" 
  ];

  preConfigure = a.fullDepEntry ''
    export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${a.libxml2}/include/libxml2"
  '' [];

  phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
      
  meta = {
    description = "nginx - 'engine x' - reverse proxy and lightweight webserver";
{'fraction_non_alphanumeric': 0.1275695284159613, 'fraction_numerical': 0.0036275695284159614, 'mean_word_length': 3.2111959287531806, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '4607930', 'n_tokens_mistral': 600, 'n_tokens_neox': 583, 'n_words': 112}