1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-05 06:44:40 +00:00
nixpkgs/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

2017-03-17 22:30:49 +00:00
{ stdenv, autoconf, automake, libtool, makeWrapper, fetchFromGitHub, pkgconfig
, intltool, gtk3, json_glib, curl, glib, autoconf-archive, appstream-glib }:
stdenv.mkDerivation rec {
name = "transmission-remote-gtk-${version}";
2017-03-17 22:30:49 +00:00
version = "1.3.1";
2017-03-17 22:30:49 +00:00
src = fetchFromGitHub {
owner = "transmission-remote-gtk";
repo = "transmission-remote-gtk";
rev = "${version}";
sha256 = "02q0vl7achx9rpd0iv0347h838bwzm7aj4k04y88g3bh8fi3cddh";
};
2017-03-17 22:30:49 +00:00
preConfigure = "./autogen.sh";
2017-03-17 22:30:49 +00:00
nativeBuildInputs= [
autoconf automake libtool makeWrapper
pkgconfig intltool autoconf-archive
appstream-glib
];
buildInputs = [ gtk3 json_glib curl glib ];
preFixup = ''
wrapProgram "$out/bin/transmission-remote-gtk" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
rm $out/share/icons/hicolor/icon-theme.cache
'';
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;
};
}