2019-04-03 08:30:16 -07:00
|
|
|
{stdenv, fetchurl, openssl, libX11, libgssglue, pkgconfig
|
|
|
|
, enableCredssp ? (!stdenv.isDarwin)
|
|
|
|
} :
|
2008-01-28 04:28:23 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
|
|
|
pname = "rdesktop";
|
2015-03-02 07:48:09 -08:00
|
|
|
version = "1.8.3";
|
2008-01-28 04:28:23 -08:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${pname}/${name}.tar.gz";
|
2015-03-02 07:48:09 -08:00
|
|
|
sha256 = "1r7c1rjmw2xzq8fw0scyb453gy9z19774z1z8ldmzzsfndb03cl8";
|
2008-01-28 04:28:23 -08:00
|
|
|
};
|
|
|
|
|
2017-11-21 15:44:41 -08:00
|
|
|
nativeBuildInputs = [pkgconfig];
|
2019-04-03 08:30:16 -07:00
|
|
|
buildInputs = [openssl libX11]
|
|
|
|
++ stdenv.lib.optional enableCredssp libgssglue;
|
2008-01-28 04:28:23 -08:00
|
|
|
|
2014-02-20 03:27:38 -08:00
|
|
|
configureFlags = [
|
2017-05-17 11:53:36 -07:00
|
|
|
"--with-ipv6"
|
2016-04-16 10:44:32 -07:00
|
|
|
"--with-openssl=${openssl.dev}"
|
2014-02-20 03:27:38 -08:00
|
|
|
"--disable-smartcard"
|
2019-04-03 08:30:16 -07:00
|
|
|
] ++ stdenv.lib.optional (!enableCredssp) "--disable-credssp";
|
2008-01-28 04:28:23 -08:00
|
|
|
|
|
|
|
meta = {
|
2014-08-24 07:21:08 -07:00
|
|
|
description = "Open source client for Windows Terminal Services";
|
2014-08-31 04:59:29 -07:00
|
|
|
homepage = http://www.rdesktop.org/;
|
2019-04-03 08:30:16 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2015-03-02 07:48:09 -08:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2008-01-28 04:28:23 -08:00
|
|
|
};
|
|
|
|
})
|