diff options
author | tv <tv@krebsco.de> | 2018-11-10 19:52:37 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-11-10 19:52:37 +0100 |
commit | 5ea1c2fcbb5756ef99d5fade8a7cd9e33b04a0c6 (patch) | |
tree | f6edbd9d1ff68773f413065a1f1c5dd71150be1a /makefu/5pkgs/jd-gui/default.nix | |
parent | 9a801fa642a60a2c46240670b4e3ad66ea77d995 (diff) | |
parent | 05b288604e7e653efb6035b9953aa849e6e6bc19 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/5pkgs/jd-gui/default.nix')
-rw-r--r-- | makefu/5pkgs/jd-gui/default.nix | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/makefu/5pkgs/jd-gui/default.nix b/makefu/5pkgs/jd-gui/default.nix deleted file mode 100644 index adefd80dd..000000000 --- a/makefu/5pkgs/jd-gui/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ stdenv, lib, pkgs, fetchurl, jre, makeWrapper, unzip }: -stdenv.mkDerivation rec { - name = "${packageName}-${version}"; - packageName = "jd-gui"; - version = "1.4.0"; - - src = fetchurl { - url = "https://github.com/java-decompiler/jd-gui/releases/download/v${version}/${name}.jar"; - sha256 = "0rvbplkhafb6s9aiwgcq4ffz4bvzyp7q511pd46hx4ahhzfg7lmx"; - }; - - nativeBuildInputs = [ makeWrapper unzip ]; - - phases = [ "installPhase" ]; - - installPhase = '' - f=$out/lib/jd-gui/ - bin=$out/bin - name=$(basename $src) - mkdir -p $f $bin - - # fixup path to java - cp $src $f - cat > $bin/jd-gui <<EOF - #!/bin/sh - exec ${pkgs.jre}/bin/java -jar $f/$name \$@ - EOF - chmod +x $bin/jd-gui - ''; - - meta = { - homepage = https://github.com/java-decompiler/jd-gui; - description = "A standalone Java Decompiler GUI"; - license = lib.licenses.gpl3; - }; -} |