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