nixpkgs/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix
devhell 49a5d06d3c transmission-remote-gtk: 1.1.1 -> 1.2
This commit includes some rework since the original googlecode
repository redirects to the GitHub page.

Built and tested successfully on local.

From the Changelog:
```
* Wed Jun 11 2014 1.2
- A basic RSS reader which uses libmrss.
- Fix some 32bit platforms reporting 0 connected peers and unknown ETA.
- Resolve some GTK deprecations.
- Fix a crash in port test callback.
- Fix decimal marker in status bar version.
- Support for GeoIPCity.dat.
- Fix a crash when removing lots of columns (something changed in GTK).
- Optional and non-default support for validating SSL certs.
- Remove all GTK2 support.
- Allow alt-speed limits to override global speed limits in the statusbar
  display.
```
2015-09-19 21:18:22 +01:00

33 lines
1 KiB
Nix

{ stdenv, autoconf, automake, libtool, makeWrapper, fetchgit, pkgconfig
, intltool, gtk3, json_glib, curl }:
stdenv.mkDerivation rec {
name = "transmission-remote-gtk-${version}";
version = "1.2";
src = fetchgit {
url = "https://github.com/ajf8/transmission-remote-gtk.git";
rev = "aa4e0c7d836cfcc10d8effd10225abb050343fc8";
sha256 = "0qz0jzr5w5fik2awfps0q49blwm4z7diqca2405rr3fyhyjhx42b";
};
buildInputs = [ libtool autoconf automake makeWrapper pkgconfig intltool
gtk3 json_glib curl ];
preConfigure = "sh autogen.sh";
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 = https://github.com/ajf8/transmission-remote-gtk;
license = licenses.gpl2;
maintainers = [ maintainers.emery ];
platforms = platforms.linux;
};
}