2015-09-19 21:18:22 +01:00
|
|
|
{ stdenv, autoconf, automake, libtool, makeWrapper, fetchgit, pkgconfig
|
|
|
|
, intltool, gtk3, json_glib, curl }:
|
2012-07-02 15:24:24 +01:00
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-19 21:18:22 +01:00
|
|
|
name = "transmission-remote-gtk-${version}";
|
|
|
|
version = "1.2";
|
2012-07-02 15:24:24 +01:00
|
|
|
|
2015-09-19 21:18:22 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/ajf8/transmission-remote-gtk.git";
|
|
|
|
rev = "aa4e0c7d836cfcc10d8effd10225abb050343fc8";
|
|
|
|
sha256 = "0qz0jzr5w5fik2awfps0q49blwm4z7diqca2405rr3fyhyjhx42b";
|
2012-07-02 15:24:24 +01:00
|
|
|
};
|
|
|
|
|
2015-09-19 21:18:22 +01:00
|
|
|
buildInputs = [ libtool autoconf automake makeWrapper pkgconfig intltool
|
|
|
|
gtk3 json_glib curl ];
|
|
|
|
|
|
|
|
preConfigure = "sh autogen.sh";
|
2014-03-23 17:03:31 +00:00
|
|
|
|
2014-04-17 10:27:57 +01:00
|
|
|
preFixup = ''
|
2014-03-23 17:03:31 +00:00
|
|
|
wrapProgram "$out/bin/transmission-remote-gtk" \
|
2014-04-17 10:27:57 +01:00
|
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
2014-04-20 16:16:43 +01:00
|
|
|
rm $out/share/icons/hicolor/icon-theme.cache
|
2014-03-23 17:03:31 +00:00
|
|
|
'';
|
2012-07-02 15:24:24 +01:00
|
|
|
|
2014-12-21 00:42:40 +00:00
|
|
|
meta = with stdenv.lib;
|
|
|
|
{ description = "GTK remote control for the Transmission BitTorrent client";
|
2015-09-19 21:18:22 +01:00
|
|
|
homepage = https://github.com/ajf8/transmission-remote-gtk;
|
2014-12-21 00:42:40 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.emery ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2012-07-02 15:24:24 +01:00
|
|
|
}
|