2017-04-18 13:55:49 -07:00
|
|
|
{ stdenv, autoconf, automake, libtool, wrapGAppsHook, fetchFromGitHub, pkgconfig
|
2019-11-30 04:34:58 -08:00
|
|
|
, intltool, gtk3, json-glib, curl, glib, autoconf-archive, appstream-glib, fetchpatch }:
|
2012-07-02 07:24:24 -07:00
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "transmission-remote-gtk";
|
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";
|
2019-09-08 16:38:31 -07:00
|
|
|
rev = version;
|
2019-01-06 10:32:09 -08:00
|
|
|
sha256 = "1pipc1f94jdppv597mqmcj2kw2rdvaqcbl512v7z8vir76p1a7gk";
|
2012-07-02 07:24:24 -07:00
|
|
|
};
|
|
|
|
|
2019-11-30 04:34:58 -08:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/transmission-remote-gtk/transmission-remote-gtk/commit/0f5cc8a9942e220ea0f7d0b17db4a78d094e3b65.patch";
|
|
|
|
sha256 = "195rsjpbc0gzmr9bycvq4mra7abp3hd9by3a5vvcmxsh5ipikycf";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
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
|
|
|
|
2019-09-12 07:25:05 -07:00
|
|
|
buildInputs = [ gtk3 json-glib curl glib ];
|
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
|
|
|
}
|