3
0
Fork 0
forked from mirrors/nixpkgs

paulstretch: fix build

This commit is contained in:
Robin Gloster 2019-09-25 11:25:47 +02:00
parent a82ae1470a
commit fb6595eafd
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -1,5 +1,7 @@
{ stdenv, fetchFromGitHub, audiofile, libvorbis, fltk, fftw, fftwFloat,
minixml, pkgconfig, libmad, libjack2, portaudio, libsamplerate }:
{ stdenv, fetchFromGitHub, fetchpatch
, audiofile, libvorbis, fltk, fftw, fftwFloat
, minixml, pkgconfig, libmad, libjack2, portaudio, libsamplerate
}:
stdenv.mkDerivation {
pname = "paulstretch";
@ -27,6 +29,13 @@ stdenv.mkDerivation {
libsamplerate
];
patches = [
(fetchpatch {
url = "https://github.com/paulnasca/paulstretch_cpp/pull/12.patch";
sha256 = "0lx1rfrs53afkiz1drp456asqgj5yv6hx3lkc01165cv1jsbw6q4";
})
];
buildPhase = ''
bash compile_linux_fftw_jack.sh
'';