biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / audio / sooperlooper / default.nix
blob35fb524ab3015b5ff67ba8ebaec7df8ed9ac2420
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , fetchpatch
5 , autoreconfHook
6 , pkg-config
7 , which
8 , libtool
9 , liblo
10 , libxml2
11 , libjack2
12 , libsndfile
13 , wxGTK32
14 , libsigcxx
15 , libsamplerate
16 , rubberband
17 , gettext
18 , ncurses
19 , alsa-lib
20 , fftw
23 stdenv.mkDerivation rec {
24   pname = "sooperlooper";
25   version = "1.7.8";
27   src = fetchFromGitHub {
28     owner = "essej";
29     repo = "sooperlooper";
30     rev = "v${version}";
31     sha256 = "sha256-Lrsz/UDCgoac63FJ3CaPVaYwvBtzkGQQRLhUi6lUusE=";
32   };
34   patches = [
35     (fetchpatch {
36       name = "10-build_with_wx_32.patch";
37       url = "https://sources.debian.org/data/main/s/sooperlooper/1.7.8~dfsg0-2/debian/patches/10-build_with_wx_32.patch";
38       sha256 = "sha256-NF/w+zgRBNkSTqUJhfH9kQogXSYEF70pCN+loR0hjpg=";
39     })
40   ];
42   autoreconfPhase = ''
43     patchShebangs ./autogen.sh
44     ./autogen.sh
45   '';
47   nativeBuildInputs = [
48     autoreconfHook
49     pkg-config
50     which
51     libtool
52   ];
54   buildInputs = [
55     liblo
56     libxml2
57     libjack2
58     libsndfile
59     wxGTK32
60     libsigcxx
61     libsamplerate
62     rubberband
63     gettext
64     ncurses
65     alsa-lib
66     fftw
67   ];
69   enableParallelBuilding = true;
71   meta = with lib; {
72     description = "A live looping sampler capable of immediate loop recording, overdubbing, multiplying, reversing and more";
73     longDescription = ''
74       It allows for multiple simultaneous multi-channel loops limited only by your computer's available memory.
75       The application is a standalone JACK client with an engine controllable via OSC and MIDI.
76       It also includes a GUI which communicates with the engine via OSC (even over a network) for user-friendly control on a desktop.
77       However, this kind of live performance looping tool is most effectively used via hardware (midi footpedals, etc)
78       and the engine can be run standalone on a computer without a monitor.
79     '';
80     homepage = "https://sonosaurus.com/sooperlooper/";
81     license = licenses.gpl2;
82     maintainers = with maintainers; [ magnetophon ];
83     platforms = platforms.linux;
84   };