2021-01-15 06:42:41 +01:00
|
|
|
{ lib, stdenv, fetchurl, jre, runtimeShell }:
|
2011-09-01 15:41:42 +02:00
|
|
|
|
2015-04-17 22:11:03 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "vue";
|
2015-10-15 17:58:17 +02:00
|
|
|
version = "3.3.0";
|
2015-04-17 22:11:03 +02:00
|
|
|
src = fetchurl {
|
2016-05-09 15:35:41 +02:00
|
|
|
url = "http://releases.atech.tufts.edu/jenkins/job/VUE/116/deployedArtifacts/download/artifact.1";
|
2015-10-15 17:58:17 +02:00
|
|
|
sha256 = "0yfzr80pw632lkayg4qfmwzrqk02y30yz8br7isyhmgkswyp5rnx";
|
2011-09-01 15:41:42 +02:00
|
|
|
};
|
|
|
|
|
2021-07-20 11:45:35 +02:00
|
|
|
dontUnpack = true;
|
2011-09-01 15:41:42 +02:00
|
|
|
|
2015-04-17 22:11:03 +02:00
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p "$out"/{share/vue,bin}
|
2013-11-22 07:34:08 +01:00
|
|
|
cp ${src} "$out/share/vue/vue.jar"
|
2019-02-26 12:45:54 +01:00
|
|
|
echo '#!${runtimeShell}' >> "$out/bin/vue"
|
2015-04-17 22:11:03 +02:00
|
|
|
echo '${jre}/bin/java -jar "'"$out/share/vue/vue.jar"'" "$@"' >> "$out/bin/vue"
|
2011-09-01 15:41:42 +02:00
|
|
|
chmod a+x "$out/bin/vue"
|
2015-04-17 22:11:03 +02:00
|
|
|
'';
|
2014-11-06 01:44:33 +01:00
|
|
|
|
2011-09-01 15:41:42 +02:00
|
|
|
meta = {
|
|
|
|
description = "Visual Understanding Environment - mind mapping software";
|
2021-01-15 06:42:41 +01:00
|
|
|
maintainers = with lib.maintainers; [ raskin ];
|
|
|
|
platforms = with lib.platforms; linux;
|
|
|
|
license = lib.licenses.free; # Apache License fork, actually
|
2011-09-01 15:41:42 +02:00
|
|
|
};
|
2015-04-17 22:11:03 +02:00
|
|
|
}
|