sooperlooper: unbreak, moderinize (#398722)

authored by Arne Keller and committed by GitHub a9c19196 58845c0d

+13 -18
+13 -18
pkgs/by-name/so/sooperlooper/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 - fetchpatch, 6 5 autoreconfHook, 7 6 pkg-config, 8 7 which, ··· 21 20 fftw, 22 21 }: 23 22 24 - stdenv.mkDerivation rec { 23 + stdenv.mkDerivation (finalAttrs: { 25 24 pname = "sooperlooper"; 26 - version = "1.7.8"; 25 + version = "1.7.9"; 27 26 28 27 src = fetchFromGitHub { 29 28 owner = "essej"; 30 29 repo = "sooperlooper"; 31 - rev = "v${version}"; 32 - sha256 = "sha256-Lrsz/UDCgoac63FJ3CaPVaYwvBtzkGQQRLhUi6lUusE="; 30 + rev = "v${finalAttrs.version}"; 31 + sha256 = "sha256-bPu/VWTJLSIMoJSEQb+/nqtTpkPtCNVuXA17XsnFSP0="; 33 32 }; 34 33 35 - patches = [ 36 - (fetchpatch { 37 - name = "10-build_with_wx_32.patch"; 38 - url = "https://sources.debian.org/data/main/s/sooperlooper/1.7.8~dfsg0-2/debian/patches/10-build_with_wx_32.patch"; 39 - sha256 = "sha256-NF/w+zgRBNkSTqUJhfH9kQogXSYEF70pCN+loR0hjpg="; 40 - }) 41 - ]; 42 - 43 34 autoreconfPhase = '' 44 35 patchShebangs ./autogen.sh 45 36 ./autogen.sh ··· 67 58 fftw 68 59 ]; 69 60 61 + # see https://bugs.gentoo.org/925275 62 + CPPFLAGS = "-fpermissive"; 63 + 70 64 enableParallelBuilding = true; 71 65 72 - meta = with lib; { 66 + meta = { 73 67 description = "Live looping sampler capable of immediate loop recording, overdubbing, multiplying, reversing and more"; 74 68 longDescription = '' 75 69 It allows for multiple simultaneous multi-channel loops limited only by your computer's available memory. ··· 79 73 and the engine can be run standalone on a computer without a monitor. 80 74 ''; 81 75 homepage = "https://sonosaurus.com/sooperlooper/"; 82 - license = licenses.gpl2; 83 - maintainers = with maintainers; [ magnetophon ]; 84 - platforms = platforms.linux; 76 + downloadPage = "https://github.com/essej/sooperlooper"; 77 + license = lib.licenses.gpl2; 78 + maintainers = with lib.maintainers; [ magnetophon ]; 79 + platforms = lib.platforms.linux; 85 80 }; 86 - } 81 + })