tonelib-zoom: fix meta.platforms

dan4ik a123ab3a d78a7264

+33 -23
+33 -23
pkgs/applications/audio/tonelib-zoom/default.nix
··· 1 - { stdenv 2 - , dpkg 3 - , lib 4 - , autoPatchelfHook 5 , fetchurl 6 - , webkitgtk 7 - , libjack2 8 , alsa-lib 9 , curl 10 }: 11 12 stdenv.mkDerivation rec { ··· 18 sha256 = "sha256-4q2vM0/q7o/FracnO2xxnr27opqfVQoN7fsqTD9Tr/c="; 19 }; 20 21 - buildInputs = [ 22 dpkg 23 - webkitgtk 24 - libjack2 25 - alsa-lib 26 ]; 27 28 - nativeBuildInputs = [ 29 - autoPatchelfHook 30 ]; 31 32 - unpackPhase = '' 33 - mkdir -p $TMP/ $out/ 34 - dpkg -x $src $TMP 35 - ''; 36 37 installPhase = '' 38 - cp -R $TMP/usr/* $out/ 39 - mv $out/bin/ToneLib-Zoom $out/bin/tonelib-zoom 40 ''; 41 - 42 - runtimeDependencies = [ 43 - (lib.getLib curl) 44 - ]; 45 46 meta = with lib; { 47 description = "ToneLib Zoom – change and save all the settings in your Zoom(r) guitar pedal"; 48 homepage = "https://tonelib.net/"; 49 license = licenses.unfree; 50 maintainers = with maintainers; [ dan4ik605743 ]; 51 - platforms = platforms.linux; 52 }; 53 }
··· 1 + { lib 2 + , stdenv 3 , fetchurl 4 + , autoPatchelfHook 5 + , dpkg 6 , alsa-lib 7 + , freetype 8 + , libglvnd 9 , curl 10 + , libXcursor 11 + , libXinerama 12 + , libXrandr 13 + , libXrender 14 + , libjack2 15 + , webkitgtk 16 }: 17 18 stdenv.mkDerivation rec { ··· 24 sha256 = "sha256-4q2vM0/q7o/FracnO2xxnr27opqfVQoN7fsqTD9Tr/c="; 25 }; 26 27 + nativeBuildInputs = [ 28 + autoPatchelfHook 29 dpkg 30 ]; 31 32 + buildInputs = [ 33 + stdenv.cc.cc.lib 34 + alsa-lib 35 + freetype 36 + libglvnd 37 + webkitgtk 38 + ] ++ runtimeDependencies; 39 + 40 + runtimeDependencies = map lib.getLib [ 41 + curl 42 + libXcursor 43 + libXinerama 44 + libXrandr 45 + libXrender 46 + libjack2 47 ]; 48 49 + unpackCmd = "dpkg -x $curSrc source"; 50 51 installPhase = '' 52 + mv usr $out 53 + substituteInPlace $out/share/applications/ToneLib-Zoom.desktop --replace /usr/ $out/ 54 ''; 55 56 meta = with lib; { 57 description = "ToneLib Zoom – change and save all the settings in your Zoom(r) guitar pedal"; 58 homepage = "https://tonelib.net/"; 59 license = licenses.unfree; 60 maintainers = with maintainers; [ dan4ik605743 ]; 61 + platforms = [ "x86_64-linux" ]; 62 }; 63 }