2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchsvn, jre, makeWrapper }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "welkin";
|
|
|
|
version = "1.1";
|
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "http://simile.mit.edu/repository/welkin";
|
|
|
|
rev = "9638";
|
|
|
|
sha256 = "1bqh3vam7y805xrmdw7k0ckcfwjg88wypxgv3njkkwyn7kxnfnqp";
|
|
|
|
};
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
sourceRoot = "${src.name}/tags/${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
buildInputs = [ jre ];
|
2020-04-24 23:36:52 +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
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An RDF visualizer";
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = with lib.maintainers; [
|
2020-04-24 23:36:52 +00:00
|
|
|
raskin
|
|
|
|
];
|
|
|
|
hydraPlatforms = [];
|
2022-06-16 17:23:12 +00:00
|
|
|
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.free;
|
|
|
|
platforms = with lib.platforms; unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|