schemaspy: nitpicks
This commit is contained in:
parent
06c7c05cc2
commit
cca9bb1cc5
@ -13,21 +13,19 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
jre
|
jre
|
||||||
makeWrapper
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = "true";
|
nativeBuildInputs = [
|
||||||
|
makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
wrappedPath = lib.makeBinPath [
|
wrappedPath = lib.makeBinPath [
|
||||||
graphviz
|
graphviz
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase =
|
installPhase = ''
|
||||||
''
|
install -D ${src} "$out/share/java/${name}.jar"
|
||||||
mkdir -p "$out/share/java"
|
|
||||||
cp ${src} "$out/share/java/${name}.jar"
|
|
||||||
|
|
||||||
mkdir -p $out/bin
|
|
||||||
makeWrapper ${jre}/bin/java $out/bin/schemaspy \
|
makeWrapper ${jre}/bin/java $out/bin/schemaspy \
|
||||||
--add-flags "-jar $out/share/java/${name}.jar" \
|
--add-flags "-jar $out/share/java/${name}.jar" \
|
||||||
--prefix PATH : "$wrappedPath"
|
--prefix PATH : "$wrappedPath"
|
||||||
|
Loading…
Reference in New Issue
Block a user