2017-04-18 13:55:49 -07:00
|
|
|
{ stdenv, autoconf, automake, libtool, wrapGAppsHook, fetchFromGitHub, pkgconfig
|
2018-02-24 18:23:58 -08:00
|
|
|
, intltool, gtk3, json-glib, curl, glib, autoconf-archive, appstream-glib
|
|
|
|
, hicolor-icon-theme }:
|
2012-07-02 07:24:24 -07:00
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-19 13:18:22 -07:00
|
|
|
name = "transmission-remote-gtk-${version}";
|
2019-01-06 10:32:09 -08:00
|
|
|
version = "1.4.1";
|
2012-07-02 07:24:24 -07:00
|
|
|
|
2017-03-17 15:30:49 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "transmission-remote-gtk";
|
|
|
|
repo = "transmission-remote-gtk";
|
|
|
|
rev = "${version}";
|
2019-01-06 10:32:09 -08:00
|
|
|
sha256 = "1pipc1f94jdppv597mqmcj2kw2rdvaqcbl512v7z8vir76p1a7gk";
|
2012-07-02 07:24:24 -07:00
|
|
|
};
|
|
|
|
|
2017-03-17 15:30:49 -07:00
|
|
|
preConfigure = "./autogen.sh";
|
2015-09-19 13:18:22 -07:00
|
|
|
|
2017-04-18 13:55:49 -07:00
|
|
|
nativeBuildInputs= [
|
|
|
|
autoconf automake libtool wrapGAppsHook
|
|
|
|
pkgconfig intltool autoconf-archive
|
2017-03-17 15:30:49 -07:00
|
|
|
appstream-glib
|
|
|
|
];
|
2018-04-24 20:20:18 -07:00
|
|
|
|
2018-02-24 18:23:58 -08:00
|
|
|
buildInputs = [ gtk3 json-glib curl glib hicolor-icon-theme ];
|
2012-07-02 07:24:24 -07:00
|
|
|
|
2018-04-24 20:20:18 -07:00
|
|
|
doCheck = false; # fails with style validation error
|
|
|
|
|
|
|
|
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.ehmry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2012-07-02 07:24:24 -07:00
|
|
|
}
|