2008-01-28 12:28:23 +00:00
|
|
|
{stdenv, fetchurl, openssl, libX11} :
|
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
|
|
|
pname = "rdesktop";
|
2014-08-31 12:59:29 +01:00
|
|
|
version = "1.8.2";
|
2008-01-28 12:28:23 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${pname}/${name}.tar.gz";
|
2014-08-31 12:59:29 +01:00
|
|
|
sha256 = "0y0s0qjfsflp4drcn75ykx6as7mn13092bcvlp2ibhilkpa27gzv";
|
2008-01-28 12:28:23 +00:00
|
|
|
};
|
|
|
|
|
2014-10-23 08:46:52 +01:00
|
|
|
patches = [ ./enable_windows_key.patch ];
|
|
|
|
|
2008-01-28 12:28:23 +00:00
|
|
|
buildInputs = [openssl libX11];
|
|
|
|
|
2014-02-20 11:27:38 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-openssl=${openssl}"
|
|
|
|
"--disable-credssp"
|
|
|
|
"--disable-smartcard"
|
|
|
|
];
|
2008-01-28 12:28:23 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Open source client for Windows Terminal Services";
|
2014-08-31 12:59:29 +01:00
|
|
|
homepage = http://www.rdesktop.org/;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2008-01-28 12:28:23 +00:00
|
|
|
};
|
|
|
|
})
|