nixpkgs/pkgs/applications/misc/vue/default.nix

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

30 lines
938 B
Nix
Raw Normal View History

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