sooperlooper: 1.7.4 -> 1.7.8

This commit is contained in:
Weijia Wang 2023-01-13 02:38:52 +01:00
parent 971e45b76a
commit 18fd604cf0

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, pkg-config
, which
@ -9,7 +10,7 @@
, libxml2
, libjack2
, libsndfile
, wxGTK30
, wxGTK32
, libsigcxx
, libsamplerate
, rubberband
@ -21,15 +22,23 @@
stdenv.mkDerivation rec {
pname = "sooperlooper";
version = "1.7.4";
version = "1.7.8";
src = fetchFromGitHub {
owner = "essej";
repo = "sooperlooper";
rev = "v${builtins.replaceStrings [ "." ] [ "_" ] version}";
sha256 = "1jng9bkb7iikad0dy1fkiq9wjjdhh1xi1p0cp2lvnz1dsc4yk6iw";
rev = "v${version}";
sha256 = "sha256-Lrsz/UDCgoac63FJ3CaPVaYwvBtzkGQQRLhUi6lUusE=";
};
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=";
})
];
autoreconfPhase = ''
patchShebangs ./autogen.sh
./autogen.sh
@ -47,7 +56,7 @@ stdenv.mkDerivation rec {
libxml2
libjack2
libsndfile
wxGTK30
wxGTK32
libsigcxx
libsamplerate
rubberband
@ -68,7 +77,7 @@ stdenv.mkDerivation rec {
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
homepage = "https://sonosaurus.com/sooperlooper/";
license = licenses.gpl2;
maintainers = with maintainers; [ magnetophon ];
platforms = platforms.linux;