Unverified Commit 5ef52057 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #210468 from wegank/sooperlooper-bump

sooperlooper: 1.7.4 -> 1.7.8
parents 5bd1073f 18fd604c
Loading
Loading
Loading
Loading
+15 −6
Original line number Diff line number Diff line
{ 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;