nixpkgs/pkgs/applications/networking/remote/rdesktop/default.nix

34 lines
938 B
Nix
Raw Normal View History

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