diff options
author | lassulus <lass@blue.r> | 2018-11-10 19:42:46 +0100 |
---|---|---|
committer | lassulus <lass@blue.r> | 2018-11-10 19:42:46 +0100 |
commit | eff97662c02f385b1740929639817fc5b8318f07 (patch) | |
tree | f11710101eed0dcc8d75304939f06e819339d9f0 /makefu/5pkgs/jd-gui/default.nix | |
parent | 0028e3dde3dcb8e5e9394f7d230c7224b6177b79 (diff) | |
parent | 254e9e62b95951cecadd2b4800c03ef96f95b3c0 (diff) |
Merge remote-tracking branch 'nextgum/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; - }; -} |