31 lines
1,007 B
Nix
31 lines
1,007 B
Nix
|
{ stdenv, fetchurl, glib, zlib, dbus, dbus_glib, gtk2, gdk_pixbuf, cairo, pango }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "tixati-${version}";
|
||
|
version = "2.55";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://download2.tixati.com/download/tixati-${version}-1.x86_64.manualinstall.tar.gz";
|
||
|
sha256 = "02mha6lfcb0mg0y977bxa6xg8krpbsbzpm4b5xw6y6wign4d8a8w";
|
||
|
};
|
||
|
|
||
|
installPhase = ''
|
||
|
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||
|
--set-rpath ${stdenv.lib.makeLibraryPath [ glib zlib dbus dbus_glib gtk2 gdk_pixbuf cairo pango ]} \
|
||
|
tixati
|
||
|
install -D tixati $out/bin/tixati
|
||
|
install -D tixati.desktop $out/share/applications/tixati.desktop
|
||
|
install -D tixati.png $out/share/icons/tixati.png
|
||
|
'';
|
||
|
|
||
|
dontStrip = true;
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Torrent client";
|
||
|
homepage = http://www.tixati.com;
|
||
|
license = licenses.free;
|
||
|
platforms = [ "x86_64-linux" ];
|
||
|
maintainers = with maintainers; [ volth ];
|
||
|
};
|
||
|
}
|