forked from mirrors/nixpkgs
4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
71 lines
1.7 KiB
Nix
71 lines
1.7 KiB
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, pkgconfig
|
|
, which
|
|
, libtool
|
|
, liblo
|
|
, libxml2
|
|
, libjack2
|
|
, libsndfile
|
|
, wxGTK30
|
|
, libsigcxx
|
|
, libsamplerate
|
|
, rubberband
|
|
, gettext
|
|
, ncurses
|
|
, alsaLib
|
|
, fftw
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sooperlooper";
|
|
version = "1.7.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "essej";
|
|
repo = "sooperlooper";
|
|
rev = "v${builtins.replaceStrings [ "." ] [ "_" ] version}";
|
|
sha256 = "1jng9bkb7iikad0dy1fkiq9wjjdhh1xi1p0cp2lvnz1dsc4yk6iw";
|
|
};
|
|
|
|
autoreconfPhase = ''
|
|
patchShebangs ./autogen.sh
|
|
./autogen.sh
|
|
'';
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig which libtool ];
|
|
|
|
buildInputs = [
|
|
liblo
|
|
libxml2
|
|
libjack2
|
|
libsndfile
|
|
wxGTK30
|
|
libsigcxx
|
|
libsamplerate
|
|
rubberband
|
|
gettext
|
|
ncurses
|
|
alsaLib
|
|
fftw
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with 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;
|
|
};
|
|
}
|