7 stdenv.mkDerivation rec {
11 src = fetchFromGitHub {
15 sha256 = "1vkb1xr2hjcaw88gig7rknlwsx01lm0w94d2z0rk5vz9ih4fslvv";
21 url = "https://src.fedoraproject.org/rpms/qm-dsp/raw/6eb385e2f970c4150f9c8eba73b558318475ed15/f/qm-dsp-install.patch";
22 sha256 = "071g30p17ya0pknzqa950pb93vrgp2024ray8axn22c44gvy147c";
25 url = "https://src.fedoraproject.org/rpms/qm-dsp/raw/6eb385e2f970c4150f9c8eba73b558318475ed15/f/qm-dsp-flags.patch";
26 sha256 = "127n6j5bsp94kf2m1zqfvkf4iqk1h5f7w778bk7w02vi45nm4x6q";
28 sed -i 's~/Makefile~/build/linux/Makefile.linux32~g' "$out"
37 makefile = "build/linux/Makefile.linux32";
40 "PREFIX=${placeholder "out"}"
41 "LIBDIR=${placeholder "out"}/lib"
44 NIX_CFLAGS_COMPILE = "-I${kissfft}/include/kissfft";
47 description = "A C++ library of functions for DSP and Music Informatics purposes";
48 homepage = "https://code.soundsoftware.ac.uk/projects/qm-dsp";
49 license = licenses.gpl2Plus;
50 maintainers = [ maintainers.goibhniu ];
51 platforms = platforms.unix;