3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix

23 lines
619 B
Nix
Raw Normal View History

{ 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 ];
postInstall = ''
wrapProgram "$out/bin/transmission-remote-gtk" \
--prefix XDG_DATA_DIRS : "${gtk3}/share"
'';
meta = {
description = "GTK remote control for the Transmission BitTorrent client";
};
}