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
823 B
Nix
Raw Normal View History

2023-06-14 21:05:53 +00:00
{ lib
, stdenvNoCC
, fetchurl
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "guacamole-client";
2024-04-28 00:05:20 +00:00
version = "1.5.5";
2023-06-14 21:05:53 +00:00
src = fetchurl {
2024-10-09 10:04:00 +00:00
url = "mirror://apache/guacamole/${finalAttrs.version}/binary/guacamole-${finalAttrs.version}.war";
2024-04-28 00:05:20 +00:00
hash = "sha256-QmcwfzYAZjcj8kr5LVlumcg1lCUxUTUFKkLUUflSkgA=";
2023-06-14 21:05:53 +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
];
};
})