nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 lib,
4 fetchzip,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "kasmweb";
9 version = "1.15.0";
10 build = "06fdc8";
11
12 src = fetchzip {
13 url = "https://kasm-static-content.s3.amazonaws.com/kasm_release_${version}.${build}.tar.gz";
14 sha256 = "sha256-7z5lc4QEpQQdVGMEMc04wXlJTK5VXJ4rufZmDEflJLw=";
15 };
16
17 dontConfigure = true;
18 dontBuild = true;
19
20 installPhase = ''
21 runHook preInstall
22
23 mkdir $out
24 rm bin/utils/yq*
25 cp -r bin conf www $out/
26
27 runHook postInstall
28 '';
29
30 meta = {
31 homepage = "https://www.kasmweb.com/";
32 description = "Streaming containerized apps and desktops to end-users";
33 license = lib.licenses.unfree;
34 maintainers = with lib.maintainers; [ s1341 ];
35 };
36}