nixpkgs/pkgs/servers/guacamole-client/default.nix

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

38 lines
839 B
Nix
Raw Normal View History

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
];
};
})