3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/remote/rdesktop/default.nix

33 lines
968 B
Nix
Raw Normal View History

2020-04-28 18:35:41 +01:00
{stdenv, fetchFromGitHub, openssl, libX11, krb5, libXcursor, libtasn1, nettle, gnutls, pkgconfig, autoreconfHook
, enableCredssp ? (!stdenv.isDarwin)
} :
stdenv.mkDerivation (rec {
pname = "rdesktop";
2020-04-28 18:35:41 +01:00
version = "1.9.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
2020-04-28 18:35:41 +01:00
sha256 = "1s6k1jwd28y38ymk3lfv76ch4arpfwrbdhpkbnwwy3fc4617gb78";
};
nativeBuildInputs = [pkgconfig autoreconfHook];
2020-04-28 18:35:41 +01:00
buildInputs = [openssl libX11 libXcursor libtasn1 nettle gnutls]
++ stdenv.lib.optional enableCredssp krb5;
2014-02-20 11:27:38 +00:00
configureFlags = [
2017-05-17 19:53:36 +01:00
"--with-ipv6"
"--with-openssl=${openssl.dev}"
2014-02-20 11:27:38 +00: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 15:48:09 +00:00
license = stdenv.lib.licenses.gpl2;
};
})