mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
Merge pull request #4730 from shdpl/teamviewer
optional config for teamviewer
This commit is contained in:
commit
03400ab9ae
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, libX11, libXtst, libXext, libXdamage, libXfixes, wineUnstable, makeWrapper, libXau
|
||||
, bash, patchelf }:
|
||||
, bash, patchelf, config }:
|
||||
|
||||
let
|
||||
topath = "${wineUnstable}/bin";
|
||||
|
@ -10,8 +10,8 @@ in
|
|||
stdenv.mkDerivation {
|
||||
name = "teamviewer-8.0.17147";
|
||||
src = fetchurl {
|
||||
url = "http://download.teamviewer.com/download/version_8x/teamviewer_linux_x64.deb";
|
||||
sha256 = "0s5m15f99rdmspzwx3gb9mqd6jx1bgfm0d6rfd01k9rf7gi7qk0k";
|
||||
url = config.teamviewer8.url or "http://download.teamviewer.com/download/version_8x/teamviewer_linux_x64.deb";
|
||||
sha256 = config.teamviewer8.sha256 or "0s5m15f99rdmspzwx3gb9mqd6jx1bgfm0d6rfd01k9rf7gi7qk0k";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper patchelf ];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, libX11, libXtst, libXext, libXdamage, libXfixes, wineUnstable, makeWrapper, libXau
|
||||
, bash, patchelf }:
|
||||
, bash, patchelf, config }:
|
||||
|
||||
let
|
||||
topath = "${wineUnstable}/bin";
|
||||
|
@ -10,8 +10,8 @@ in
|
|||
stdenv.mkDerivation {
|
||||
name = "teamviewer-9.0.32150";
|
||||
src = fetchurl {
|
||||
url = "http://download.teamviewer.com/download/version_9x/teamviewer_linux_x64.deb";
|
||||
sha256 = "0wpwbx0xzn3vlzavszxhfvfcaj3pijlpwvlz5m7w19mb6cky3q13";
|
||||
url = config.teamviewer9.url or "http://download.teamviewer.com/download/version_9x/teamviewer_linux_x64.deb";
|
||||
sha256 = config.teamviewer9.sha256 or "0wpwbx0xzn3vlzavszxhfvfcaj3pijlpwvlz5m7w19mb6cky3q13";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper patchelf ];
|
||||
|
|
Loading…
Reference in a new issue