tunefish: unstable-2020-08-13 -> 0-unstable-2021-12-19 (#396532)

authored by Peder Bergebakken Sundt and committed by GitHub dba7688e 7a091923

+28 -17
+27 -14
pkgs/applications/audio/tunefish/default.nix
··· 15 15 webkitgtk_4_0, 16 16 }: 17 17 18 - stdenv.mkDerivation { 18 + stdenv.mkDerivation (finalAttrs: { 19 19 pname = "tunefish"; 20 - version = "unstable-2020-08-13"; 20 + version = "0-unstable-2021-12-19"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "jpcima"; 24 24 repo = "tunefish"; 25 - rev = "b3d83cc66201619f6399500f6897fbeb1786d9ed"; 25 + rev = "c801c6cab63bb9e78e38ed69bd92024f2c667f00"; 26 + hash = "sha256-ZH2VD0IydEFdbB3Ht5D6/lbcWLQHBuu9GyasVP7VefI="; 26 27 fetchSubmodules = true; 27 - sha256 = "0rjpq3s609fblzkvnc9729glcnfinmxljh0z8ldpzr245h367zxh"; 28 28 }; 29 29 30 30 nativeBuildInputs = [ 31 31 pkg-config 32 32 python3 33 33 ]; 34 + 34 35 buildInputs = [ 35 36 alsa-lib 36 37 curl ··· 43 44 webkitgtk_4_0 44 45 ]; 45 46 46 - postPatch = '' 47 - patchShebangs src/tunefish4/generate-lv2-ttl.py 48 - ''; 49 - 50 47 makeFlags = [ 51 48 "-C" 52 49 "src/tunefish4/Builds/LinuxMakefile" 53 50 "CONFIG=Release" 54 51 ]; 55 52 53 + # silences build warnings 54 + HOME = "/build"; 55 + 56 + postPatch = '' 57 + patchShebangs src/tunefish4/generate-lv2-ttl.py 58 + ''; 59 + 56 60 installPhase = '' 57 - mkdir -p $out/lib/lv2 58 - cp -r src/tunefish4/Builds/LinuxMakefile/build/Tunefish4.lv2 $out/lib/lv2 61 + runHook preInstall 62 + 63 + mkdir -p $out/lib/{lv2,vst,vst3/Tunefish4.vst3} 64 + 65 + pushd src/tunefish4/Builds/LinuxMakefile/build 66 + cp -r "Tunefish4.lv2" $out/lib/lv2 67 + cp -r "Tunefish4.vst3/Contents/x86_64-linux"/* $out/lib/vst3/Tunefish4.vst3 68 + cp "Tunefish4.so" $out/lib/vst 69 + popd 70 + 71 + runHook postInstall 59 72 ''; 60 73 61 74 enableParallelBuilding = true; 62 75 63 - meta = with lib; { 76 + meta = { 64 77 homepage = "https://tunefish-synth.com/"; 65 78 description = "Virtual analog synthesizer LV2 plugin"; 66 - license = licenses.gpl3Plus; 67 - maintainers = with maintainers; [ orivej ]; 79 + license = lib.licenses.gpl3Plus; 80 + maintainers = with lib.maintainers; [ orivej ]; 68 81 platforms = [ "x86_64-linux" ]; 69 82 }; 70 - } 83 + })
+1 -3
pkgs/top-level/all-packages.nix
··· 16389 16389 16390 16390 trojita = libsForQt5.callPackage ../applications/networking/mailreaders/trojita { }; 16391 16391 16392 - tunefish = callPackage ../applications/audio/tunefish { 16393 - stdenv = clangStdenv; # https://github.com/jpcima/tunefish/issues/4 16394 - }; 16392 + tunefish = callPackage ../applications/audio/tunefish { }; 16395 16393 16396 16394 tuxclocker = libsForQt5.callPackage ../applications/misc/tuxclocker { 16397 16395 tuxclocker-plugins = tuxclocker-plugins-with-unfree;