3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/graphics/welkin/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
975 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv, fetchsvn, jre, makeWrapper }:
2016-01-26 16:34:33 +00:00
stdenv.mkDerivation rec {
pname = "welkin";
2016-01-26 16:34:33 +00:00
version = "1.1";
2016-01-26 16:34:33 +00:00
src = fetchsvn {
url = "http://simile.mit.edu/repository/welkin";
rev = "9638";
sha256 = "1bqh3vam7y805xrmdw7k0ckcfwjg88wypxgv3njkkwyn7kxnfnqp";
};
2016-01-26 16:34:33 +00:00
sourceRoot = "welkin-r9638/tags/${version}";
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];
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
'';
meta = {
description = "An RDF visualizer";
2021-01-15 09:19:50 +00:00
maintainers = with lib.maintainers; [
raskin
];
hydraPlatforms = [];
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
2021-01-15 09:19:50 +00:00
license = lib.licenses.free;
platforms = with lib.platforms; unix;
};
2016-01-26 16:34:33 +00:00
}