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