displaylink: 4.4.24 -> 5.2.14

This commit is contained in:
Nahum Shalman 2019-11-05 13:13:36 -05:00
parent 7827d3f449
commit 079849e096
2 changed files with 8 additions and 7 deletions

View file

@ -11,22 +11,22 @@ let
in stdenv.mkDerivation rec {
pname = "displaylink";
version = "4.4.24";
version = "5.2.14";
src = requireFile rec {
name = "displaylink.zip";
sha256 = "0c02mg7vbijpfpk9imh0hmls1yiglc216zfllw5ar86r1slhd5y0";
sha256 = "03b176y95f04rg3lcnjps9llsjbvd8yksh1fpvjwaciz48mnxh2i";
message = ''
In order to install the DisplayLink drivers, you must first
comply with DisplayLink's EULA and download the binaries and
sources from here:
http://www.displaylink.com/downloads/file?id=1261
http://www.displaylink.com/downloads/file?id=1369
Once you have downloaded the file, please use the following
commands and re-run the installation:
mv \$PWD/"DisplayLink USB Graphics Software for Ubuntu ${version}.zip" \$PWD/${name}
mv \$PWD/"DisplayLink USB Graphics Software for Ubuntu ${lib.versions.majorMinor version}.zip" \$PWD/${name}
nix-prefetch-url file://\$PWD/${name}
'';
};
@ -67,8 +67,9 @@ in stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "DisplayLink DL-5xxx, DL-41xx and DL-3x00 Driver for Linux";
maintainers = with maintainers; [ nshalman abbradar peterhoeg ];
platforms = [ "x86_64-linux" "i686-linux" ];
license = licenses.unfree;
homepage = https://www.displaylink.com/;
homepage = "https://www.displaylink.com/";
};
}

View file

@ -4,13 +4,13 @@
cat <<'EOF'
start_service()
{
- systemctl start dlm
- systemctl start displaylink-driver
+ @systemd@/bin/systemctl start --no-block dlm
}
stop_service()
{
- systemctl stop dlm
- systemctl stop displaylink-driver
+ @systemd@/bin/systemctl stop dlm
}