c9baba9212
(My OCD kicked in today...) Remove repeated package names, capitalize first word, remove trailing periods and move overlong descriptions to longDescription. I also simplified some descriptions as well, when they were particularly long or technical, often based on Arch Linux' package descriptions. I've tried to stay away from generated expressions (and I think I succeeded). Some specifics worth mentioning: * cron, has "Vixie Cron" in its description. The "Vixie" part is not mentioned anywhere else. I kept it in a parenthesis at the end of the description. * ctags description started with "Exuberant Ctags ...", and the "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis at the end of description. * nix has the description "The Nix Deployment System". Since that doesn't really say much what it is/does (especially after removing the package name!), I changed that to "Powerful package manager that makes package management reliable and reproducible" (borrowed from nixos.org). * Tons of "GNU Foo, Foo is a [the important bits]" descriptions is changed to just [the important bits]. If the package name doesn't contain GNU I don't think it's needed to say it in the description either.
52 lines
1.5 KiB
Nix
52 lines
1.5 KiB
Nix
{ stdenv, fetchurl, cmake, pkgconfig, makeWrapper
|
|
, glib, gtk, gettext, libxkbfile, libgnome_keyring, libX11
|
|
, freerdp, libssh, libgcrypt, gnutls, makeDesktopItem }:
|
|
|
|
let
|
|
version = "1.0.0";
|
|
|
|
desktopItem = makeDesktopItem {
|
|
name = "remmina";
|
|
desktopName = "Remmina";
|
|
genericName = "Remmina Remote Desktop Client";
|
|
exec = "remmina";
|
|
icon = "remmina";
|
|
comment = "Connect to remote desktops";
|
|
categories = "GTK;GNOME;X-GNOME-NetworkSettings;Network;";
|
|
};
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "remmina-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/downloads/FreeRDP/Remmina/Remmina-${version}.tar.gz";
|
|
sha256 = "7cd0d2d6adbd96c7139da8c4bfc4cf4821e1fa97242bb9cc9db32a53df289731";
|
|
};
|
|
|
|
buildInputs = [ cmake pkgconfig makeWrapper
|
|
glib gtk gettext libxkbfile libgnome_keyring libX11
|
|
freerdp libssh libgcrypt gnutls ];
|
|
|
|
cmakeFlags = "-DWITH_VTE=OFF -DWITH_TELEPATHY=OFF -DWITH_AVAHI=OFF";
|
|
|
|
patches = [ ./lgthread.patch ];
|
|
|
|
postInstall = ''
|
|
mkdir -pv $out/share/applications
|
|
mkdir -pv $out/share/icons
|
|
cp ${desktopItem}/share/applications/* $out/share/applications
|
|
cp -r $out/share/remmina/icons/* $out/share/icons
|
|
wrapProgram $out/bin/remmina --prefix LD_LIBRARY_PATH : "${libX11}/lib"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
license = stdenv.lib.licenses.gpl2;
|
|
homepage = "http://remmina.sourceforge.net/";
|
|
description = "Remote desktop client written in GTK+";
|
|
maintainers = [];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|