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