3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/vue/default.nix

28 lines
859 B
Nix
Raw Normal View History

2015-04-17 21:11:03 +01:00
{ stdenv, fetchurl, jre }:
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 {
2015-10-15 16:58:17 +01:00
url = "releases.atech.tufts.edu/jenkins/job/VUE/116/deployedArtifacts/download/artifact.1";
sha256 = "0yfzr80pw632lkayg4qfmwzrqk02y30yz8br7isyhmgkswyp5rnx";
};
2015-04-17 21:11:03 +01:00
phases = "installPhase";
2015-04-17 21:11:03 +01:00
installPhase = ''
mkdir -p "$out"/{share/vue,bin}
cp ${src} "$out/share/vue/vue.jar"
2015-04-17 21:11:03 +01:00
echo '#!${stdenv.shell}' >> "$out/bin/vue"
echo '${jre}/bin/java -jar "'"$out/share/vue/vue.jar"'" "$@"' >> "$out/bin/vue"
chmod a+x "$out/bin/vue"
2015-04-17 21:11:03 +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
};
2015-04-17 21:11:03 +01:00
}