2019-07-03 20:27:14 +00:00
|
|
|
{stdenv, fetchFromGitHub, openssl, libX11, libgssglue, pkgconfig, autoreconfHook
|
2019-04-03 15:30:16 +00:00
|
|
|
, enableCredssp ? (!stdenv.isDarwin)
|
|
|
|
} :
|
2008-01-28 12:28:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
|
|
|
pname = "rdesktop";
|
2019-07-03 20:27:14 +00:00
|
|
|
version = "1.8.6";
|
2008-01-28 12:28:23 +00:00
|
|
|
|
2019-07-03 20:27:14 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "02sbhnqbasa54c75c86qw9w9h9sxxbnldj7bjv2gvn18lmq5rm20";
|
2008-01-28 12:28:23 +00:00
|
|
|
};
|
|
|
|
|
2019-07-03 20:27:14 +00:00
|
|
|
nativeBuildInputs = [pkgconfig autoreconfHook];
|
2019-04-03 15:30:16 +00:00
|
|
|
buildInputs = [openssl libX11]
|
|
|
|
++ stdenv.lib.optional enableCredssp libgssglue;
|
2008-01-28 12:28:23 +00:00
|
|
|
|
2014-02-20 11:27:38 +00:00
|
|
|
configureFlags = [
|
2017-05-17 18:53:36 +00:00
|
|
|
"--with-ipv6"
|
2016-04-16 17:44:32 +00:00
|
|
|
"--with-openssl=${openssl.dev}"
|
2014-02-20 11:27:38 +00:00
|
|
|
"--disable-smartcard"
|
2019-04-03 15:30:16 +00:00
|
|
|
] ++ stdenv.lib.optional (!enableCredssp) "--disable-credssp";
|
2008-01-28 12:28:23 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Open source client for Windows Terminal Services";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.rdesktop.org/";
|
2019-04-03 15:30:16 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2015-03-02 15:48:09 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2008-01-28 12:28:23 +00:00
|
|
|
};
|
|
|
|
})
|