2016-01-26 16:34:33 +00:00
|
|
|
{ stdenv, fetchsvn, jre, makeWrapper }:
|
2011-07-01 07:26:38 +00:00
|
|
|
|
2016-01-26 16:34:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "welkin-${version}";
|
|
|
|
version = "1.1";
|
2011-07-01 07:26:38 +00:00
|
|
|
|
2016-01-26 16:34:33 +00:00
|
|
|
src = fetchsvn {
|
|
|
|
url = "http://simile.mit.edu/repository/welkin";
|
|
|
|
rev = "9638";
|
|
|
|
sha256 = "1bqh3vam7y805xrmdw7k0ckcfwjg88wypxgv3njkkwyn7kxnfnqp";
|
|
|
|
};
|
2011-07-01 07:26:38 +00:00
|
|
|
|
2016-01-26 16:34:33 +00:00
|
|
|
sourceRoot = "welkin-r9638/tags/${version}";
|
2011-07-01 07:26:38 +00:00
|
|
|
|
2016-01-26 16:34:33 +00:00
|
|
|
buildInputs = [ jre makeWrapper ];
|
2011-07-01 07:26:38 +00:00
|
|
|
|
2016-01-26 16:34:33 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/{bin,share}
|
|
|
|
cp -R . $out/share
|
|
|
|
cp $out/share/welkin.sh $out/bin/welkin
|
|
|
|
sed -e 's@\./lib/welkin\.jar@'"$out"'/share/lib/welkin.jar@' -i $out/bin/welkin
|
|
|
|
wrapProgram $out/bin/welkin \
|
|
|
|
--set JAVA_HOME ${jre}
|
|
|
|
chmod a+x $out/bin/welkin
|
|
|
|
'';
|
2014-11-06 00:44:33 +00:00
|
|
|
|
2011-07-01 07:26:38 +00:00
|
|
|
meta = {
|
|
|
|
description = "An RDF visualizer";
|
2016-01-26 16:34:33 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [
|
2011-07-01 07:26:38 +00:00
|
|
|
raskin
|
|
|
|
];
|
2013-11-04 23:04:36 +00:00
|
|
|
hydraPlatforms = [];
|
2016-01-26 16:34:33 +00:00
|
|
|
license = stdenv.lib.licenses.free;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
2011-07-01 07:26:38 +00:00
|
|
|
};
|
2016-01-26 16:34:33 +00:00
|
|
|
}
|