Merge pull request #324121 from drupol/bump/displaylink-6-0-0

displaylink: 5.8.0-63.33 -> 6.0.0-24

authored by Pol Dellaiera and committed by GitHub e901eee1 d4858e91

+35 -21
+35 -21
pkgs/os-specific/linux/displaylink/default.nix
··· 1 - { stdenv 2 - , lib 3 - , unzip 4 - , util-linux 5 - , libusb1 6 - , evdi 7 - , makeBinaryWrapper 8 - , requireFile 1 + { 2 + stdenv, 3 + lib, 4 + unzip, 5 + util-linux, 6 + libusb1, 7 + evdi, 8 + makeBinaryWrapper, 9 + requireFile, 9 10 }: 10 11 11 12 let 12 13 bins = 13 - if stdenv.hostPlatform.system == "x86_64-linux" then "x64-ubuntu-1604" 14 - else if stdenv.hostPlatform.system == "i686-linux" then "x86-ubuntu-1604" 15 - else if stdenv.hostPlatform.system == "aarch64-linux" then "aarch64-linux-gnu" 16 - else throw "Unsupported architecture"; 17 - libPath = lib.makeLibraryPath [ stdenv.cc.cc util-linux libusb1 evdi ]; 14 + if stdenv.hostPlatform.system == "x86_64-linux" then 15 + "x64-ubuntu-1604" 16 + else if stdenv.hostPlatform.system == "i686-linux" then 17 + "x86-ubuntu-1604" 18 + else if stdenv.hostPlatform.system == "aarch64-linux" then 19 + "aarch64-linux-gnu" 20 + else 21 + throw "Unsupported architecture"; 22 + libPath = lib.makeLibraryPath [ 23 + stdenv.cc.cc 24 + util-linux 25 + libusb1 26 + evdi 27 + ]; 18 28 in 19 29 stdenv.mkDerivation (finalAttrs: { 20 30 pname = "displaylink"; 21 - version = "5.8.0-63.33"; 31 + version = "6.0.0-24"; 22 32 23 33 src = requireFile rec { 24 - name = "displaylink-580.zip"; 25 - sha256 = "05m8vm6i9pc9pmvar021lw3ls60inlmq92nling0vj28skm55i92"; 34 + name = "displaylink-600.zip"; 35 + sha256 = "1ixrklwk67w25cy77n7l0pq6j9i4bp4lkdr30kp1jsmyz8daaypw"; 26 36 message = '' 27 37 In order to install the DisplayLink drivers, you must first 28 38 comply with DisplayLink's EULA and download the binaries and 29 39 sources from here: 30 40 31 - https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu-5.8 41 + https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu-6.0 32 42 33 43 Once you have downloaded the file, please use the following 34 44 commands and re-run the installation: 35 45 36 - mv \$PWD/"DisplayLink USB Graphics Software for Ubuntu5.8-EXE.zip" \$PWD/${name} 46 + mv \$PWD/"DisplayLink USB Graphics Software for Ubuntu6.0-EXE.zip" \$PWD/${name} 37 47 nix-prefetch-url file://\$PWD/${name} 38 48 ''; 39 49 }; ··· 73 83 dontPatchELF = true; 74 84 75 85 meta = with lib; { 76 - description = "DisplayLink DL-5xxx, DL-41xx and DL-3x00 Driver for Linux"; 86 + description = "DisplayLink DL-7xxx, DL-6xxx, DL-5xxx, DL-41xx and DL-3x00 Driver for Linux"; 77 87 homepage = "https://www.displaylink.com/"; 78 - hydraPlatforms = []; 88 + hydraPlatforms = [ ]; 79 89 license = licenses.unfree; 80 90 mainProgram = "DisplayLinkManager"; 81 91 maintainers = with maintainers; [ abbradar ]; 82 - platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; 92 + platforms = [ 93 + "x86_64-linux" 94 + "i686-linux" 95 + "aarch64-linux" 96 + ]; 83 97 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 84 98 }; 85 99 })