nixpkgs/pkgs/applications/networking/p2p/tixati/default.nix

31 lines
992 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, glib, zlib, dbus, dbus-glib, gtk2, gdk-pixbuf, cairo, pango }:
2017-10-19 00:45:09 +00:00
stdenv.mkDerivation rec {
pname = "tixati";
2020-07-15 02:49:29 +00:00
version = "2.74";
2017-10-19 00:45:09 +00:00
src = fetchurl {
url = "https://download2.tixati.com/download/tixati-${version}-1.x86_64.manualinstall.tar.gz";
2020-07-15 02:49:29 +00:00
sha256 = "1slsrqv97hnj1vxx3hw32dhqckbr05w622samjbrimh4dv8yrd29";
2017-10-19 00:45:09 +00:00
};
installPhase = ''
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
2021-01-15 13:21:58 +00:00
--set-rpath ${lib.makeLibraryPath [ glib zlib dbus dbus-glib gtk2 gdk-pixbuf cairo pango ]} \
2017-10-19 00:45:09 +00: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 lib; {
2017-10-19 00:45:09 +00:00
description = "Torrent client";
homepage = "http://www.tixati.com";
2017-10-21 07:30:22 +00:00
license = licenses.unfree;
2017-10-19 00:45:09 +00:00
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ volth ];
};
}