displaylink: 5.4.1-55.174 -> 5.5.0-beta-59.118, evdi: unstable-2021-07-07 -> v1.10.0 (including build-flag-patch - credits see PR)

This commit is contained in:
Sebastian Sellmeier 2022-01-11 21:20:30 +01:00
parent 167402b517
commit 32c5f80a14
No known key found for this signature in database
GPG Key ID: 51E2BE0CCC826F98
2 changed files with 11 additions and 9 deletions

View File

@ -20,22 +20,22 @@ let
in
stdenv.mkDerivation rec {
pname = "displaylink";
version = "5.4.1-55.174";
version = "5.5.0-beta-59.118";
src = requireFile rec {
name = "displaylink.zip";
sha256 = "1biswvjz91gmx7xf9g05h3ra463hf2yv9mr2nkxclyrd283iiiqc";
name = "displaylink-55.zip";
sha256 = "0mid6p1mnkhbl96cr763ngdwrlgnpgs6c137rwc2sjf4v33g59ma";
message = ''
In order to install the DisplayLink drivers, you must first
comply with DisplayLink's EULA and download the binaries and
sources from here:
https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu-5.4.1
https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu-5.5-Beta
Once you have downloaded the file, please use the following
commands and re-run the installation:
mv \$PWD/"DisplayLink USB Graphics Software for Ubuntu ${lib.versions.majorMinor version}.zip" \$PWD/${name}
mv \$PWD/"DisplayLink USB Graphics Software for Ubuntu (Beta)5.5 Beta-EXE.zip" \$PWD/${name}
nix-prefetch-url file://\$PWD/${name}
'';
};

View File

@ -2,15 +2,17 @@
stdenv.mkDerivation rec {
pname = "evdi";
version = "unstable-2021-07-07";
version = "1.10.0";
src = fetchFromGitHub {
owner = "DisplayLink";
repo = pname;
rev = "b0b2c80eb63f9b858b71afa772135f434aea192a";
sha256 = "sha256-io+CbZovGjEJjwtmARFH23Djt933ONoHMDoea+i6xFo=";
rev = "v${version}";
sha256 = "sha256-vMcmUWdnO9JmImxz4vO3/UONlsrCGc8VH/o38YwCIzg=";
};
NIX_CFLAGS_COMPILE = "-Wno-error -Wno-error=sign-compare";
nativeBuildInputs = kernel.moduleBuildDependencies;
buildInputs = [ kernel libdrm ];
@ -33,6 +35,6 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
license = with licenses; [ lgpl21Only gpl2Only ];
homepage = "https://www.displaylink.com/";
broken = kernel.kernelOlder "4.19" || kernel.kernelAtLeast "5.15" || stdenv.isAarch64;
broken = kernel.kernelOlder "4.19" || stdenv.isAarch64;
};
}