2011-09-07 01:32:01 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
2012-01-18 14:45:46 +01:00
|
|
|
, cmake
|
2011-09-07 01:32:01 +02:00
|
|
|
, openssl
|
|
|
|
, printerSupport ? true, cups
|
|
|
|
, pkgconfig
|
|
|
|
, zlib
|
|
|
|
, libX11
|
|
|
|
, libXcursor
|
2012-01-18 14:45:46 +01:00
|
|
|
, libXdamage
|
|
|
|
, libXext
|
2011-09-07 01:32:01 +02:00
|
|
|
, alsaLib
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert printerSupport -> cups != null;
|
|
|
|
stdenv.mkDerivation rec {
|
2012-01-18 14:45:46 +01:00
|
|
|
name = "freerdp-${version}";
|
|
|
|
version = "1.0.0";
|
2011-09-07 01:32:01 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-01-18 14:45:46 +01:00
|
|
|
url = "https://github.com/downloads/FreeRDP/FreeRDP/FreeRDP-${version}.tar.gz";
|
2012-07-02 16:23:01 +02:00
|
|
|
sha256 = "df9f5f3275436f3e413824ca40f1e41733a95121f45e1ed41ab410701c5764cc";
|
2011-09-07 01:32:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2012-01-18 14:45:46 +01:00
|
|
|
cmake
|
2011-09-07 01:32:01 +02:00
|
|
|
openssl
|
|
|
|
pkgconfig
|
|
|
|
zlib
|
|
|
|
libX11
|
|
|
|
libXcursor
|
2012-01-18 14:45:46 +01:00
|
|
|
libXdamage
|
|
|
|
libXext
|
2011-09-07 01:32:01 +02:00
|
|
|
alsaLib
|
|
|
|
] ++ stdenv.lib.optional printerSupport cups;
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-x"
|
|
|
|
] ++ stdenv.lib.optional printerSupport "--with-printer=cups";
|
2011-09-07 05:42:23 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Remote Desktop Protocol Client";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP)
|
|
|
|
following the Microsoft Open Specifications.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://www.freerdp.com/;
|
|
|
|
|
|
|
|
license = "free-non-copyleft";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
|
|
|
};
|
2011-09-07 01:32:01 +02:00
|
|
|
}
|