mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
jd-gui: version 0.3.5
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
86711e4120
commit
7f800e8155
33
pkgs/tools/security/jd-gui/default.nix
Normal file
33
pkgs/tools/security/jd-gui/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -1314,6 +1314,8 @@ let
|
|||
|
||||
isync = callPackage ../tools/networking/isync { };
|
||||
|
||||
jd-gui = callPackage_i686 ../tools/security/jd-gui { };
|
||||
|
||||
jdiskreport = callPackage ../tools/misc/jdiskreport { };
|
||||
|
||||
jfsrec = callPackage ../tools/filesystems/jfsrec {
|
||||
|
|
Loading…
Reference in a new issue