2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchsvn, jre, makeWrapper }:
|
2011-07-01 09:26:38 +02:00
|
|
|
|
2016-01-26 17:34:33 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "welkin";
|
2016-01-26 17:34:33 +01:00
|
|
|
version = "1.1";
|
2011-07-01 09:26:38 +02:00
|
|
|
|
2016-01-26 17:34:33 +01:00
|
|
|
src = fetchsvn {
|
|
|
|
url = "http://simile.mit.edu/repository/welkin";
|
|
|
|
rev = "9638";
|
|
|
|
sha256 = "1bqh3vam7y805xrmdw7k0ckcfwjg88wypxgv3njkkwyn7kxnfnqp";
|
|
|
|
};
|
2011-07-01 09:26:38 +02:00
|
|
|
|
2016-01-26 17:34:33 +01:00
|
|
|
sourceRoot = "welkin-r9638/tags/${version}";
|
2011-07-01 09:26:38 +02:00
|
|
|
|
2021-02-07 10:17:39 +01:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
buildInputs = [ jre ];
|
2011-07-01 09:26:38 +02:00
|
|
|
|
2016-01-26 17:34:33 +01: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 01:44:33 +01:00
|
|
|
|
2011-07-01 09:26:38 +02:00
|
|
|
meta = {
|
|
|
|
description = "An RDF visualizer";
|
2021-01-15 10:19:50 +01:00
|
|
|
maintainers = with lib.maintainers; [
|
2011-07-01 09:26:38 +02:00
|
|
|
raskin
|
|
|
|
];
|
2013-11-05 00:04:36 +01:00
|
|
|
hydraPlatforms = [];
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.free;
|
|
|
|
platforms = with lib.platforms; unix;
|
2011-07-01 09:26:38 +02:00
|
|
|
};
|
2016-01-26 17:34:33 +01:00
|
|
|
}
|