Author: raskin
Date: Fri May 18 09:32:02 2012
New Revision: 34166
URL: https://nixos.org/websvn/nix/?rev=34166&sc=1
Log:
Adding zgrviewer
Added:
nixpkgs/trunk/pkgs/applications/graphics/zgrviewer/
nixpkgs/trunk/pkgs/applications/graphics/zgrviewer/default.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/applications/graphics/zgrviewer/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/applications/graphics/zgrviewer/default.nix Fri May
18 09:32:02 2012 (r34166)
@@ -0,0 +1,30 @@
+{stdenv, fetchurl, jre, unzip}:
+stdenv.mkDerivation rec {
+ version = "0.8.2";
+ pname = "zgrviewer";
+ name="${pname}-${version}";
+ src = fetchurl {
+ url = "mirror://sourceforge/zvtm/${pname}/${version}/${name}.zip";
+ sha256 =
"a76b9865c1490a6cfc08911592a19c15fe5972bf58e017cb31db580146f069bb";
+ };
+ buildInputs = [jre unzip];
+ buildPhase = "";
+ installPhase = ''
+ mkdir -p "$out"/{bin,lib/java/zvtm/plugins,share/doc/zvtm}
+
+ cp overview.html *.license.* "$out/share/doc/zvtm"
+
+ cp -r target/* "$out/lib/java/zvtm/"
+
+ echo '#!/bin/sh' > "$out/bin/zgrviewer"
+ echo "java -jar '$out/lib/java/zvtm/zgrviewer-${version}.jar'" >>
"$out/bin/zgrviewer"
+ chmod a+x "$out/bin/zgrviewer"
+ '';
+ meta = {
+ # Quicker to unpack locally than load Hydra
+ platforms = [];
+ maintainers = with stdenv.lib.maintainers; [raskin];
+ license = with stdenv.lib.licenses; lgpl21Plus;
+ description = "GraphViz graph viewer/navigator";
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Fri May 18 07:50:10
2012 (r34165)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Fri May 18 09:32:02
2012 (r34166)
@@ -7673,6 +7673,8 @@
zathura = callPackage ../applications/misc/zathura { };
+ zgrviewer = callPackage ../applications/graphics/zgrviewer {};
+
zynaddsubfx = callPackage ../applications/audio/zynaddsubfx { };
### GAMES
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits