1 { lib, stdenv, fetchsvn, jre, makeWrapper }:
3 stdenv.mkDerivation rec {
8 url = "http://simile.mit.edu/repository/welkin";
10 sha256 = "1bqh3vam7y805xrmdw7k0ckcfwjg88wypxgv3njkkwyn7kxnfnqp";
13 sourceRoot = "${src.name}/tags/${version}";
15 nativeBuildInputs = [ makeWrapper ];
16 buildInputs = [ jre ];
19 mkdir -p $out/{bin,share}
21 cp $out/share/welkin.sh $out/bin/welkin
22 sed -e 's@\./lib/welkin\.jar@'"$out"'/share/lib/welkin.jar@' -i $out/bin/welkin
23 wrapProgram $out/bin/welkin \
24 --set JAVA_HOME ${jre}
25 chmod a+x $out/bin/welkin
29 description = "RDF visualizer";
30 maintainers = with lib.maintainers; [
34 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
35 license = lib.licenses.bsd3;
36 platforms = with lib.platforms; unix;