about summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p
diff options
context:
space:
mode:
authordevhell <^@regexmail.net>2015-09-19 21:18:22 +0100
committerdevhell <^@regexmail.net>2015-09-19 21:18:22 +0100
commit49a5d06d3c3b164ef63965f97fc2cb45e71ecac2 (patch)
tree9f60c1ed48c9dbc70e4277f3403c814dd415ce67 /pkgs/applications/networking/p2p
parent26c3e8e5096706f47a230f39ff5242251166e9fe (diff)
downloadnixlib-49a5d06d3c3b164ef63965f97fc2cb45e71ecac2.tar
nixlib-49a5d06d3c3b164ef63965f97fc2cb45e71ecac2.tar.gz
nixlib-49a5d06d3c3b164ef63965f97fc2cb45e71ecac2.tar.bz2
nixlib-49a5d06d3c3b164ef63965f97fc2cb45e71ecac2.tar.lz
nixlib-49a5d06d3c3b164ef63965f97fc2cb45e71ecac2.tar.xz
nixlib-49a5d06d3c3b164ef63965f97fc2cb45e71ecac2.tar.zst
nixlib-49a5d06d3c3b164ef63965f97fc2cb45e71ecac2.zip
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.
```
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r--pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix20
1 files changed, 13 insertions, 7 deletions
diff --git a/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix b/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix
index 01ba9ff47eaa..5d76b295dda3 100644
--- a/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix
+++ b/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix
@@ -1,15 +1,21 @@
-{ stdenv, makeWrapper, fetchurl, pkgconfig, intltool, gtk3, json_glib, curl }:
+{ stdenv, autoconf, automake, libtool, makeWrapper, fetchgit, pkgconfig
+, intltool, gtk3, json_glib, curl }:
 
 
 stdenv.mkDerivation rec {
-  name = "transmission-remote-gtk-1.1.1";
+  name = "transmission-remote-gtk-${version}";
+  version = "1.2";
 
-  src = fetchurl {
-    url = "http://transmission-remote-gtk.googlecode.com/files/${name}.tar.gz";
-    sha256 = "1jbh2pm4i740cmzqd2r7zxnqqipvv2v2ndmnmk53nqrxcbgc4nlz";
+  src = fetchgit {
+    url = "https://github.com/ajf8/transmission-remote-gtk.git";
+    rev = "aa4e0c7d836cfcc10d8effd10225abb050343fc8";
+    sha256 = "0qz0jzr5w5fik2awfps0q49blwm4z7diqca2405rr3fyhyjhx42b";
   };
 
-  buildInputs = [ makeWrapper pkgconfig intltool gtk3 json_glib curl ];
+  buildInputs = [ libtool autoconf automake makeWrapper pkgconfig intltool
+                  gtk3 json_glib curl ];
+
+  preConfigure = "sh autogen.sh";
 
   preFixup = ''
     wrapProgram "$out/bin/transmission-remote-gtk" \
@@ -19,7 +25,7 @@ stdenv.mkDerivation rec {
 
   meta = with stdenv.lib;
     { description = "GTK remote control for the Transmission BitTorrent client";
-      homepage = http://code.google.com/p/transmission-remote-gtk/;
+      homepage = https://github.com/ajf8/transmission-remote-gtk;
       license = licenses.gpl2;
       maintainers = [ maintainers.emery ];
       platforms = platforms.linux;