2015-04-17 22:11:03 +02:00
|
|
|
{ stdenv, fetchurl, jre }:
|
2011-09-01 15:41:42 +02:00
|
|
|
|
2015-04-17 22:11:03 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "vue-${version}";
|
|
|
|
version = "3.2.2";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "releases.atech.tufts.edu/jenkins/job/VUE/64/deployedArtifacts/download/artifact.2";
|
|
|
|
sha256 = "0sb1kgan8fvph2cqfxk3906cwx5wy83zni2vlz4zzi6yg4zvfxld";
|
2011-09-01 15:41:42 +02:00
|
|
|
};
|
|
|
|
|
2015-04-17 22:11:03 +02:00
|
|
|
phases = "installPhase";
|
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"
|
2015-04-17 22:11:03 +02:00
|
|
|
echo '#!${stdenv.shell}' >> "$out/bin/vue"
|
|
|
|
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";
|
2015-04-17 22:11:03 +02: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 15:41:42 +02:00
|
|
|
};
|
2015-04-17 22:11:03 +02:00
|
|
|
}
|