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