3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/p2p/tixati/default.nix

31 lines
1,001 B
Nix
Raw Normal View History

2019-05-22 12:03:39 +01:00
{ stdenv, fetchurl, glib, zlib, dbus, dbus-glib, gtk2, gdk-pixbuf, cairo, pango }:
2017-10-19 01:45:09 +01:00
stdenv.mkDerivation rec {
pname = "tixati";
2020-05-10 19:29:10 +01:00
version = "2.73";
2017-10-19 01:45:09 +01:00
src = fetchurl {
url = "https://download2.tixati.com/download/tixati-${version}-1.x86_64.manualinstall.tar.gz";
2020-05-10 19:29:10 +01:00
sha256 = "1ncrfc4wgf02la2h3zpdcz07b980n9232lg5f62q7ab79fjrcrfr";
2017-10-19 01:45:09 +01:00
};
installPhase = ''
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
2019-05-22 12:03:39 +01:00
--set-rpath ${stdenv.lib.makeLibraryPath [ glib zlib dbus dbus-glib gtk2 gdk-pixbuf cairo pango ]} \
2017-10-19 01:45:09 +01:00
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";
2017-10-21 08:30:22 +01:00
license = licenses.unfree;
2017-10-19 01:45:09 +01:00
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ volth ];
};
}