ieda: init at 0-unstable-2024-10-11 (#338769)
[NixPkgs.git] / pkgs / by-name / gu / guacamole-client / package.nix
blob41af451583b31d35d016abd0cd97ff46413a1f50
2   lib,
3   stdenvNoCC,
4   fetchurl,
5 }:
7 stdenvNoCC.mkDerivation (finalAttrs: {
8   pname = "guacamole-client";
9   version = "1.5.5";
11   src = fetchurl {
12     url = "mirror://apache/guacamole/${finalAttrs.version}/binary/guacamole-${finalAttrs.version}.war";
13     hash = "sha256-QmcwfzYAZjcj8kr5LVlumcg1lCUxUTUFKkLUUflSkgA=";
14   };
16   dontUnpack = true;
17   dontBuild = true;
19   installPhase = ''
20     runHook preInstall
22     mkdir -p $out/webapps
23     cp $src $out/webapps/guacamole.war
25     runHook postInstall
26   '';
28   meta = {
29     description = "Clientless remote desktop gateway";
30     homepage = "https://guacamole.apache.org/";
31     license = lib.licenses.asl20;
32     maintainers = [ lib.maintainers.drupol ];
33     platforms = [
34       "x86_64-linux"
35       "i686-linux"
36     ];
37     sourceProvenance = [
38       lib.sourceTypes.binaryBytecode
39     ];
40   };