2023-06-14 23:05:53 +02:00
|
|
|
{ lib
|
|
|
|
, stdenvNoCC
|
|
|
|
, fetchurl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
|
|
pname = "guacamole-client";
|
2023-12-09 07:08:45 +01:00
|
|
|
version = "1.5.4";
|
2023-06-14 23:05:53 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://archive.apache.org/dist/guacamole/${finalAttrs.version}/binary/guacamole-${finalAttrs.version}.war";
|
2023-12-09 07:08:45 +01:00
|
|
|
hash = "sha256-Vyi1Y5Eb1kvOCguBx06ozLIZDReFv/NAMPxohagnPT4=";
|
2023-06-14 23:05:53 +02: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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
})
|