nixpkgs/pkgs/servers/web-apps/kasmweb/default.nix
2024-08-21 15:06:02 +03:00

37 lines
723 B
Nix

{ stdenv
, lib
, fetchzip
}:
stdenv.mkDerivation rec {
pname = "kasmweb";
version = "1.15.0";
build = "06fdc8";
src = fetchzip {
url = "https://kasm-static-content.s3.amazonaws.com/kasm_release_${version}.${build}.tar.gz";
sha256 = "sha256-7z5lc4QEpQQdVGMEMc04wXlJTK5VXJ4rufZmDEflJLw=";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir $out
rm bin/utils/yq*
cp -r bin conf www $out/
runHook postInstall
'';
meta = with lib; {
homepage = "https://www.kasmweb.com/";
description = "Streaming containerized apps and desktops to end-users";
license = licenses.unfree;
maintainers = with maintainers; [ s1341 ];
};
}