diff options
Diffstat (limited to 'pkgs/applications/networking/remote')
-rw-r--r-- | pkgs/applications/networking/remote/freerdp/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/networking/remote/freerdp/default.nix b/pkgs/applications/networking/remote/freerdp/default.nix new file mode 100644 index 0000000000000..51a1b5ae0e022 --- /dev/null +++ b/pkgs/applications/networking/remote/freerdp/default.nix @@ -0,0 +1,34 @@ +{ stdenv +, fetchurl +, openssl +, printerSupport ? true, cups +, pkgconfig +, zlib +, libX11 +, libXcursor +, alsaLib +}: + +assert printerSupport -> cups != null; +stdenv.mkDerivation rec { + name = "freerdp-0.8.2"; + + src = fetchurl { + url = "mirror://sourceforge/freerdp/${name}.tar.gz"; + sha256 = "1q9hhwyc4hk49hsmd2kghrfsawxcc7gy7vcmhdf91l8v95xp16iq"; + }; + + buildInputs = [ + openssl + pkgconfig + zlib + libX11 + libXcursor + alsaLib + ] ++ stdenv.lib.optional printerSupport cups; + + configureFlags = [ + "--with-x" + ] ++ stdenv.lib.optional printerSupport "--with-printer=cups"; +} + |