{openresolv,dhcpcd}: mark support for OpenBSD (#371601)
[NixPkgs.git] / pkgs / by-name / vu / vue / package.nix
blobfc4b9bb455646913d7b554430e954c4cde0b75df
2   lib,
3   stdenv,
4   fetchurl,
5   jre,
6   runtimeShell,
7 }:
9 stdenv.mkDerivation rec {
10   pname = "vue";
11   version = "3.3.0";
12   src = fetchurl {
13     url = "http://releases.atech.tufts.edu/jenkins/job/VUE/116/deployedArtifacts/download/artifact.1";
14     sha256 = "0yfzr80pw632lkayg4qfmwzrqk02y30yz8br7isyhmgkswyp5rnx";
15   };
17   dontUnpack = true;
19   installPhase = ''
20     mkdir -p "$out"/{share/vue,bin}
21     cp ${src} "$out/share/vue/vue.jar"
22     echo '#!${runtimeShell}' >> "$out/bin/vue"
23     echo '${jre}/bin/java -jar "'"$out/share/vue/vue.jar"'" "$@"' >> "$out/bin/vue"
24     chmod a+x "$out/bin/vue"
25   '';
27   meta = {
28     description = "Visual Understanding Environment - mind mapping software";
29     maintainers = with lib.maintainers; [ raskin ];
30     platforms = with lib.platforms; linux;
31     sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
32     license = lib.licenses.ecl20;
33     mainProgram = "vue";
34   };