treewide: use less phases if not necessary

This removes some skipping of e.g. fixupPhase and cleans up occurences
where this led to duplicating code
This commit is contained in:
Robin Gloster
2017-08-11 11:40:36 +02:00
parent 72457cdebb
commit 28cc2642f0
16 changed files with 43 additions and 74 deletions
+2 -1
View File
@@ -29,7 +29,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ upx patchelf ];
phases = "unpackPhase installPhase";
unpackPhase = "tar xf ${src}";
installPhase = ''
mkdir -p $out/bin
@@ -41,6 +40,8 @@ stdenv.mkDerivation rec {
$out/bin/jd-gui
'';
dontStrip = true;
meta = {
description = "Fast Java Decompiler with powerful GUI";
homepage = "http://jd.benow.ca/";