mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
Merge pull request #72858 from nshalman/displaylink5
displaylink: 4.4.24 -> 5.2.14
This commit is contained in:
commit
8e069a1597
@ -11,22 +11,22 @@ let
|
|||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "displaylink";
|
pname = "displaylink";
|
||||||
version = "4.4.24";
|
version = "5.2.14";
|
||||||
|
|
||||||
src = requireFile rec {
|
src = requireFile rec {
|
||||||
name = "displaylink.zip";
|
name = "displaylink.zip";
|
||||||
sha256 = "0c02mg7vbijpfpk9imh0hmls1yiglc216zfllw5ar86r1slhd5y0";
|
sha256 = "03b176y95f04rg3lcnjps9llsjbvd8yksh1fpvjwaciz48mnxh2i";
|
||||||
message = ''
|
message = ''
|
||||||
In order to install the DisplayLink drivers, you must first
|
In order to install the DisplayLink drivers, you must first
|
||||||
comply with DisplayLink's EULA and download the binaries and
|
comply with DisplayLink's EULA and download the binaries and
|
||||||
sources from here:
|
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
|
Once you have downloaded the file, please use the following
|
||||||
commands and re-run the installation:
|
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}
|
nix-prefetch-url file://\$PWD/${name}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
@ -67,8 +67,9 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "DisplayLink DL-5xxx, DL-41xx and DL-3x00 Driver for Linux";
|
description = "DisplayLink DL-5xxx, DL-41xx and DL-3x00 Driver for Linux";
|
||||||
|
maintainers = with maintainers; [ nshalman abbradar peterhoeg ];
|
||||||
platforms = [ "x86_64-linux" "i686-linux" ];
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
homepage = https://www.displaylink.com/;
|
homepage = "https://www.displaylink.com/";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
cat <<'EOF'
|
cat <<'EOF'
|
||||||
start_service()
|
start_service()
|
||||||
{
|
{
|
||||||
- systemctl start dlm
|
- systemctl start displaylink-driver
|
||||||
+ @systemd@/bin/systemctl start --no-block dlm
|
+ @systemd@/bin/systemctl start --no-block dlm
|
||||||
}
|
}
|
||||||
|
|
||||||
stop_service()
|
stop_service()
|
||||||
{
|
{
|
||||||
- systemctl stop dlm
|
- systemctl stop displaylink-driver
|
||||||
+ @systemd@/bin/systemctl stop dlm
|
+ @systemd@/bin/systemctl stop dlm
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user