<commit_before># Perhaps we can get some ideas from here ? http://gentoo-wiki.com/HOWTO_Jack
# still much to test but it compiles now

{ composableDerivation, fetchurl, pkgconfig, alsaLib }:

let inherit (composableDerivation) edf; in

composableDerivation.composableDerivation {} {
  name = "jack-0.103.0";
  
  src = fetchurl {
    url = "mirror://sourceforge/jackit/jack-audio-connection-kit-0.109.2.tar.gz";
    sha256 = "1m5z8dzalqspsa63pkcgyns0cvh0kqwhb9g1ivcwvnz0bc7ag9r7";
  };
  
  buildInputs = [ pkgconfig ];
  
  flags =
      # FIXME: tidy up
       edf { name = "posix-shm"; } #use POSIX shm API
    // edf { name = "timestamps"; }                      # allow clients to use the JACK timestamp API
    // edf { name = "capabilities"; }                   #use libcap to gain realtime scheduling priviledges
    // edf { name = "oldtrans"; }                      #remove old transport interfaces
    // edf { name = "stripped-jackd"; }                 #strip jack before computing its md5 sum
    // edf { name = "portaudio"; }                     #ignore PortAudio driver
    // edf { name = "coreaudio"; }                     #ignore CoreAudio driver
    // edf { name = "oss"; }                           #ignore OSS driver
    // edf { name = "freebob"; }                       #ignore FreeBob driver
    // edf { name = "alsa"; enable = { buildInputs = [ alsaLib ]; }; };

  cfg = {
    posix_shmSupport = true;
    timestampsSupport = true;
    alsaSupport = true;<commit_msg>Updating jack to version 0.120.1 (some newer applications e.g. Yoshimi require a more recent version)<commit_after># Perhaps we can get some ideas from here ? http://gentoo-wiki.com/HOWTO_Jack
# still much to test but it compiles now

{ composableDerivation, fetchurl, pkgconfig, alsaLib }:

let inherit (composableDerivation) edf; in

composableDerivation.composableDerivation {} {
  name = "jack-0.120.1";
  
  src = fetchurl {
    url = "mirror://sourceforge/jackit/jack-audio-connection-kit-0.120.1.tar.gz";
    sha256 = "02h8536c67059gq2vsl323kvy9jak9dp0syi1h58awlkbgzlg80d";
  };
  
  buildInputs = [ pkgconfig ];
  
  flags =
      # FIXME: tidy up
       edf { name = "posix-shm"; } #use POSIX shm API
    // edf { name = "timestamps"; }                      # allow clients to use the JACK timestamp API
    // edf { name = "capabilities"; }                   #use libcap to gain realtime scheduling priviledges
    // edf { name = "oldtrans"; }                      #remove old transport interfaces
    // edf { name = "stripped-jackd"; }                 #strip jack before computing its md5 sum
    // edf { name = "portaudio"; }                     #ignore PortAudio driver
    // edf { name = "coreaudio"; }                     #ignore CoreAudio driver
    // edf { name = "oss"; }                           #ignore OSS driver
    // edf { name = "freebob"; }                       #ignore FreeBob driver
    // edf { name = "alsa"; enable = { buildInputs = [ alsaLib ]; }; };

  cfg = {
    posix_shmSupport = true;
    timestampsSupport = true;
    alsaSupport = true;
{'fraction_non_alphanumeric': 0.11241065627030539, 'fraction_numerical': 0.022417153996101363, 'mean_word_length': 2.0820820820820822, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6251633', 'n_tokens_mistral': 1028, 'n_tokens_neox': 952, 'n_words': 261}