schemaspy: nitpicks

This commit is contained in:
Joerg Thalheim 2017-11-19 15:11:34 +00:00
parent 06c7c05cc2
commit cca9bb1cc5

View file

@ -13,25 +13,23 @@ stdenv.mkDerivation rec {
buildInputs = [
jre
makeWrapper
];
buildPhase = "true";
nativeBuildInputs = [
makeWrapper
];
wrappedPath = lib.makeBinPath [
graphviz
];
installPhase =
''
mkdir -p "$out/share/java"
cp ${src} "$out/share/java/${name}.jar"
installPhase = ''
install -D ${src} "$out/share/java/${name}.jar"
mkdir -p $out/bin
makeWrapper ${jre}/bin/java $out/bin/schemaspy \
--add-flags "-jar $out/share/java/${name}.jar" \
--prefix PATH : "$wrappedPath"
'';
makeWrapper ${jre}/bin/java $out/bin/schemaspy \
--add-flags "-jar $out/share/java/${name}.jar" \
--prefix PATH : "$wrappedPath"
'';
meta = with lib; {
homepage = "http://schemaspy.org";