diff options
author | Austin Seipp <aseipp@pobox.com> | 2014-06-17 14:20:54 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2014-06-17 14:44:49 -0500 |
commit | 7f800e8155c0e61e07fdca69c1f9f3ba008b0f82 (patch) | |
tree | 7a12a85103f45d3a0d080e61b6127925071de12b /pkgs/tools/security/jd-gui | |
parent | 86711e4120634672ae891571c7628dfecee37af7 (diff) |
jd-gui: version 0.3.5
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/tools/security/jd-gui')
-rw-r--r-- | pkgs/tools/security/jd-gui/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/security/jd-gui/default.nix b/pkgs/tools/security/jd-gui/default.nix new file mode 100644 index 0000000000000..f247f8c4e89ec --- /dev/null +++ b/pkgs/tools/security/jd-gui/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchurl, gtk, atk, gdk_pixbuf, pango, makeWrapper }: + +let + dynlibPath = stdenv.lib.makeLibraryPath + [ gtk atk gdk_pixbuf pango ]; +in +stdenv.mkDerivation rec { + name = "jd-gui-${version}"; + version = "0.3.5"; + + src = fetchurl { + url = "http://jd.benow.ca/jd-gui/downloads/${name}.linux.i686.tar.gz"; + sha256 = "0jrvzs2s836yvqi41c7fq0gfiwf187qg765b9r1il2bjc0mb3dqv"; + }; + + buildInputs = [ makeWrapper ]; + + phases = "unpackPhase installPhase"; + unpackPhase = "tar xf ${src}"; + installPhase = '' + mkdir -p $out/bin && mv jd-gui $out/bin + wrapProgram $out/bin/jd-gui \ + --prefix LD_LIBRARY_PATH ":" "${dynlibPath}" + ''; + + meta = { + description = "Fast Java Decompiler with powerful GUI"; + homepage = "http://jd.benow.ca/"; + license = stdenv.lib.licenses.unfreeRedistributable; + platforms = [ "i686-linux" ]; + maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; + }; +} |