aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/audio/sooperlooper/default.nix
blob: e7a43ad8a59549612c5677cde38b8b7bb2421bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{ stdenv
, fetchFromGitHub
, autoreconfHook
, pkgconfig
, which
, libtool
, liblo
, libxml2
, libjack2
, libsndfile
, wxGTK30
, libsigcxx
, libsamplerate
, rubberband
, gettext
, ncurses
, alsaLib
, fftw
}:

stdenv.mkDerivation rec {
  pname = "sooperlooper";
  version = "unstable-2019-09-30";

  src = fetchFromGitHub {
    owner = "essej";
    repo = "sooperlooper";
    rev = "4d1da14176e16b0f56b727bb1e6c2e8957515625";
    sha256 = "1gsgqa7hdymzw2al1ymzv0f33y161dyhh3fmy88lpjwv3bfchamg";
  };

  autoreconfPhase = ''
    patchShebangs ./autogen.sh
    ./autogen.sh
  '';

  nativeBuildInputs = [ autoreconfHook pkgconfig which libtool ];

  buildInputs = [
    liblo
    libxml2
    libjack2
    libsndfile
    wxGTK30
    libsigcxx
    libsamplerate
    rubberband
    gettext
    ncurses
    alsaLib
    fftw
  ];

  meta = with stdenv.lib; {
    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.
    '';
    homepage = "http://essej.net/sooperlooper/"; # https is broken
    license = licenses.gpl2;
    maintainers = with maintainers; [ magnetophon ];
    platforms = platforms.linux;
  };
}