icebreaker: init at unstable-2023-08-13

https://github.com/jonhoo/icebreaker
This commit is contained in:
figsoda 2023-08-13 18:58:41 -04:00 committed by Anderson Torres
parent afde5d87aa
commit 37458514ef
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildGoModule
, fetchFromGitHub
, makeBinaryWrapper
}:
buildGoModule {
pname = "icebreaker";
version = "unstable-2023-08-13";
src = fetchFromGitHub {
owner = "jonhoo";
repo = "icebreaker";
rev = "71fe0679fcf82ccf458b47585cda09f3ef213155";
hash = "sha256-d8x4Q4ZT0qrKWEIRbYVOUjhnkJWOgY0ct/+cjaSh7SU=";
};
proxyVendor = true;
vendorHash = "sha256-i648w+BOUX5IfEEZ11gJAjX1ZUdoYRzDPz6GDe7i2S8=";
nativeBuildInputs = [
makeBinaryWrapper
];
ldflags = [ "-s" "-w" ];
postInstall = ''
mkdir -p $out/share
cp -r static templates $out/share
wrapProgram $out/bin/icebreaker \
--chdir $out/share \
--set-default GIN_MODE release
'';
meta = with lib; {
description = "Web app that allows students to ask real-time, anonymous questions during class";
homepage = "https://github.com/jonhoo/icebreaker";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "icebreaker";
};
}

View File

@ -9122,6 +9122,8 @@ with pkgs;
ibniz = callPackage ../tools/graphics/ibniz { };
icebreaker = callPackage ../servers/icebreaker { };
icecast = callPackage ../servers/icecast { };
icemon = libsForQt5.callPackage ../applications/networking/icemon { };