From 3cb89a81b7e80e7a6e8deb7f35518ad4705c49b8 Mon Sep 17 00:00:00 2001 From: volth Date: Wed, 25 Oct 2017 10:36:30 +0200 Subject: [PATCH] vuze: init at 5750 (#30557) --- .../networking/p2p/vuze/default.nix | 29 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/applications/networking/p2p/vuze/default.nix diff --git a/pkgs/applications/networking/p2p/vuze/default.nix b/pkgs/applications/networking/p2p/vuze/default.nix new file mode 100644 index 000000000000..8725d5263fe3 --- /dev/null +++ b/pkgs/applications/networking/p2p/vuze/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchsvn, jdk, jre, ant, swt, makeWrapper }: + +stdenv.mkDerivation rec { + name = "vuze-${version}"; + version = "5750"; + + src = fetchsvn { + url = "http://svn.vuze.com/public/client/tags/RELEASE_${version}"; + sha256 = "07w6ipyiy8hi88d6yxbbf3vkv26mj7dcz9yr8141hb2ig03v0h0p"; + }; + + buildInputs = [ makeWrapper jdk ant ]; + + buildPhase = "ant"; + + installPhase = '' + install -D dist/Vuze_0000-00.jar $out/share/java/Vuze_${version}-00.jar + makeWrapper ${jre}/bin/java $out/bin/vuze \ + --add-flags "-Xmx256m -Djava.library.path=${swt}/lib -cp $out/share/java/Vuze_${version}-00.jar:${swt}/jars/swt.jar org.gudy.azureus2.ui.swt.Main" + ''; + + meta = with stdenv.lib; { + description = "Torrent client"; + homepage = http://www.vuze.com; + license = licenses.unfree; + platforms = platforms.all; + maintainers = with maintainers; [ volth ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0db04906c528..cd6553cc16d8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17025,6 +17025,8 @@ with pkgs; vue = callPackage ../applications/misc/vue { }; + vuze = callPackage ../applications/networking/p2p/vuze { }; + vwm = callPackage ../applications/window-managers/vwm { }; vym = callPackage ../applications/misc/vym { };