1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/applications/networking/remote/freerdp/default.nix
Shea Levy c3dff03d1a freerdp: Add meta information
svn path=/nixpkgs/trunk/; revision=29071
2011-09-07 03:42:23 +00:00

50 lines
972 B
Nix

{ 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";
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 ];
};
}