nixpkgs/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix
2014-12-21 10:35:24 +01:00

28 lines
872 B
Nix

{ stdenv, makeWrapper, fetchurl, pkgconfig, intltool, gtk3, json_glib, curl }:
stdenv.mkDerivation rec {
name = "transmission-remote-gtk-1.1.1";
src = fetchurl {
url = "http://transmission-remote-gtk.googlecode.com/files/${name}.tar.gz";
sha256 = "1jbh2pm4i740cmzqd2r7zxnqqipvv2v2ndmnmk53nqrxcbgc4nlz";
};
buildInputs = [ makeWrapper pkgconfig intltool gtk3 json_glib curl ];
preFixup = ''
wrapProgram "$out/bin/transmission-remote-gtk" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
rm $out/share/icons/hicolor/icon-theme.cache
'';
meta = with stdenv.lib;
{ description = "GTK remote control for the Transmission BitTorrent client";
homepage = http://code.google.com/p/transmission-remote-gtk/;
license = licenses.gpl2;
maintainers = [ maintainers.emery ];
platforms = platforms.linux;
};
}