···11+diff -Naur a/include/opusfile.h b/include/opusfile.h
22+--- a/include/opusfile.h 2014-04-29 19:07:09.000000000 +0200
33++++ b/include/opusfile.h 2016-09-05 17:50:15.147553798 +0200
44+@@ -107,7 +107,7 @@
55+ # include <stdarg.h>
66+ # include <stdio.h>
77+ # include <ogg/ogg.h>
88+-# include <opus_multistream.h>
99++# include <opus/opus_multistream.h>
1010+1111+ /**@cond PRIVATE*/
1212+
+48
pkgs/applications/audio/squishyball/default.nix
···11+{ stdenv, autoreconfHook, fetchsvn, flac, libao, libvorbis, ncurses
22+, opusfile, pkgconfig
33+}:
44+55+stdenv.mkDerivation rec {
66+ name = "squishyball-${rev}";
77+ rev = "19580";
88+99+ src = fetchsvn {
1010+ url = "https://svn.xiph.org/trunk/squishyball";
1111+ rev = rev;
1212+ sha256 = "013vq52q9z6kpg9iyc2jnb3m2gihcjblvwpg4yj4wy1q2c05pzqp";
1313+ };
1414+1515+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
1616+1717+ buildInputs = [ flac libao libvorbis ncurses opusfile ];
1818+1919+ patches = [ ./gnu-screen.patch ];
2020+2121+ postInstall = ''
2222+ # Why doesn’t this happen automagically?
2323+ mkdir -p $out/share/man/man1
2424+ cp squishyball.1 $out/share/man/man1
2525+ '';
2626+2727+ meta = with stdenv.lib; {
2828+ description = "A tool to perform sample comparison testing on the command line";
2929+ longDescription = ''
3030+ squishyball is a simple command-line utility for performing
3131+ double-blind A/B, A/B/X or X/X/Y testing on the command line.
3232+ The user specifies two input files to be compared and uses the
3333+ keyboard during playback to flip between the randomized samples
3434+ to perform on-the-fly compar‐ isons. After a predetermined
3535+ number of trials, squishyball prints the trial results to
3636+ stdout and exits. Results (stdout) may be redirected to a file
3737+ without affecting interactive use of the terminal.
3838+3939+ squishyball can also be used to perform casual, non-randomized
4040+ comparisons of groups of up to ten samples; this is the default
4141+ mode of operation.
4242+ '';
4343+ homepage = https://svn.xiph.org/trunk/squishyball;
4444+ license = licenses.gpl2Plus;
4545+ maintainers = with maintainers; [ michalrus ];
4646+ platforms = platforms.linux;
4747+ };
4848+}