mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
displaylink: 4.4.24 -> 5.2.14
This commit is contained in:
parent
7827d3f449
commit
079849e096
@ -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/";
|
||||
};
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user