Merge pull request #40666 from magnetophon/M32edit

m32edit and x32edit: init at 3.2

authored by lewo and committed by GitHub 2c3e5328 c06d7950

+65
+43
pkgs/applications/audio/midas/generic.nix
···
··· 1 + { stdenv, fetchurl, lib, libX11, libXext, alsaLib, freetype, brand, type, version, homepage, sha256, ... }: 2 + stdenv.mkDerivation rec { 3 + inherit type; 4 + baseName = "${type}-Edit"; 5 + name = "${baseName}-${version}"; 6 + 7 + src = fetchurl { 8 + url = "http://downloads.music-group.com/software/behringer/${type}/${type}-Edit_LINUX_64bit_${version}.tar.gz"; 9 + inherit sha256; 10 + }; 11 + 12 + sourceRoot = "."; 13 + dontBuild = true; 14 + dontStrip = true; 15 + 16 + installPhase = '' 17 + mkdir -p $out/bin 18 + cp ${baseName} $out/bin 19 + ''; 20 + preFixup = let 21 + # we prepare our library path in the let clause to avoid it become part of the input of mkDerivation 22 + libPath = lib.makeLibraryPath [ 23 + libX11 # libX11.so.6 24 + libXext # libXext.so.6 25 + alsaLib # libasound.so.2 26 + freetype # libfreetype.so.6 27 + stdenv.cc.cc.lib # libstdc++.so.6 28 + ]; 29 + in '' 30 + patchelf \ 31 + --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 32 + --set-rpath "${libPath}" \ 33 + $out/bin/${baseName} 34 + ''; 35 + 36 + meta = with stdenv.lib; { 37 + inherit homepage; 38 + description = "Editor for the ${brand} ${type} digital mixer"; 39 + license = licenses.unfree; 40 + platforms = platforms.linux; 41 + maintainers = [ maintainers.magnetophon ]; 42 + }; 43 + }
+9
pkgs/applications/audio/midas/m32edit.nix
···
··· 1 + { callPackage, ... } @ args: 2 + 3 + callPackage ./generic.nix (args // { 4 + brand = "Midas"; 5 + type = "M32"; 6 + version = "3.2"; 7 + sha256 = "1cds6qinz37086l6pmmgrzrxadygjr2z96sjjyznnai2wz4z2nrd"; 8 + homepage = http://www.musictri.be/Categories/Midas/Mixers/Digital/M32/p/P0B3I/downloads; 9 + })
+9
pkgs/applications/audio/midas/x32edit.nix
···
··· 1 + { callPackage, ... } @ args: 2 + 3 + callPackage ./generic.nix (args // { 4 + brand = "Behringer"; 5 + type = "X32"; 6 + version = "3.2"; 7 + sha256 = "1lzmhd0sqnlzc0khpwm82sfi48qhv7rg153a57qjih7hhhy41mzk"; 8 + homepage = http://www.musictri.be/Categories/Behringer/Mixers/Digital/X32/p/P0ASF/downloads; 9 + })
+4
pkgs/top-level/all-packages.nix
··· 16134 16135 linssid = libsForQt5.callPackage ../applications/networking/linssid { }; 16136 16137 manuskript = callPackage ../applications/editors/manuskript { }; 16138 16139 manul = callPackage ../development/tools/manul { }; ··· 18711 x2goclient = libsForQt5.callPackage ../applications/networking/remote/x2goclient { }; 18712 18713 x2vnc = callPackage ../tools/X11/x2vnc { }; 18714 18715 x42-plugins = callPackage ../applications/audio/x42-plugins { }; 18716
··· 16134 16135 linssid = libsForQt5.callPackage ../applications/networking/linssid { }; 16136 16137 + m32edit = callPackage ../applications/audio/midas/m32edit.nix {}; 16138 + 16139 manuskript = callPackage ../applications/editors/manuskript { }; 16140 16141 manul = callPackage ../development/tools/manul { }; ··· 18713 x2goclient = libsForQt5.callPackage ../applications/networking/remote/x2goclient { }; 18714 18715 x2vnc = callPackage ../tools/X11/x2vnc { }; 18716 + 18717 + x32edit = callPackage ../applications/audio/midas/x32edit.nix {}; 18718 18719 x42-plugins = callPackage ../applications/audio/x42-plugins { }; 18720