2022-11-27 09:42:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-05-15 21:57:56 +00:00
|
|
|
, fetchFromGitHub
|
2023-02-02 18:25:31 +00:00
|
|
|
, fetchpatch
|
2020-04-24 23:36:52 +00:00
|
|
|
, autoreconfHook
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-05-15 21:57:56 +00:00
|
|
|
, which
|
|
|
|
, libtool
|
|
|
|
, liblo
|
|
|
|
, libxml2
|
|
|
|
, libjack2
|
|
|
|
, libsndfile
|
2023-02-02 18:25:31 +00:00
|
|
|
, wxGTK32
|
2020-05-15 21:57:56 +00:00
|
|
|
, libsigcxx
|
|
|
|
, libsamplerate
|
|
|
|
, rubberband
|
|
|
|
, gettext
|
|
|
|
, ncurses
|
2021-06-28 23:13:55 +00:00
|
|
|
, alsa-lib
|
2020-05-15 21:57:56 +00:00
|
|
|
, fftw
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-15 21:57:56 +00:00
|
|
|
pname = "sooperlooper";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "1.7.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "essej";
|
|
|
|
repo = "sooperlooper";
|
2023-02-02 18:25:31 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-Lrsz/UDCgoac63FJ3CaPVaYwvBtzkGQQRLhUi6lUusE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "10-build_with_wx_32.patch";
|
|
|
|
url = "https://sources.debian.org/data/main/s/sooperlooper/1.7.8~dfsg0-2/debian/patches/10-build_with_wx_32.patch";
|
|
|
|
sha256 = "sha256-NF/w+zgRBNkSTqUJhfH9kQogXSYEF70pCN+loR0hjpg=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
autoreconfPhase = ''
|
|
|
|
patchShebangs ./autogen.sh
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
which
|
|
|
|
libtool
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2020-05-15 21:57:56 +00:00
|
|
|
liblo
|
|
|
|
libxml2
|
|
|
|
libjack2
|
|
|
|
libsndfile
|
2023-02-02 18:25:31 +00:00
|
|
|
wxGTK32
|
2020-05-15 21:57:56 +00:00
|
|
|
libsigcxx
|
|
|
|
libsamplerate
|
|
|
|
rubberband
|
|
|
|
gettext
|
|
|
|
ncurses
|
2021-06-28 23:13:55 +00:00
|
|
|
alsa-lib
|
2020-05-15 21:57:56 +00:00
|
|
|
fftw
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A live looping sampler capable of immediate loop recording, overdubbing, multiplying, reversing and more";
|
|
|
|
longDescription = ''
|
|
|
|
It allows for multiple simultaneous multi-channel loops limited only by your computer's available memory.
|
|
|
|
The application is a standalone JACK client with an engine controllable via OSC and MIDI.
|
|
|
|
It also includes a GUI which communicates with the engine via OSC (even over a network) for user-friendly control on a desktop.
|
|
|
|
However, this kind of live performance looping tool is most effectively used via hardware (midi footpedals, etc)
|
|
|
|
and the engine can be run standalone on a computer without a monitor.
|
|
|
|
'';
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://sonosaurus.com/sooperlooper/";
|
2020-05-15 21:57:56 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|