2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, stdenvNoCC
|
|
|
|
, fetchurl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
|
|
pname = "guacamole-client";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.5.5";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://archive.apache.org/dist/guacamole/${finalAttrs.version}/binary/guacamole-${finalAttrs.version}.war";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-QmcwfzYAZjcj8kr5LVlumcg1lCUxUTUFKkLUUflSkgA=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontUnpack = true;
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/webapps
|
|
|
|
cp $src $out/webapps/guacamole.war
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Clientless remote desktop gateway";
|
|
|
|
homepage = "https://guacamole.apache.org/";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = [ lib.maintainers.drupol ];
|
|
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
|
|
|
sourceProvenance = [
|
|
|
|
lib.sourceTypes.binaryBytecode
|
|
|
|
];
|
|
|
|
};
|
|
|
|
})
|