8 rustPlatform.buildRustPackage rec {
9 pname = "meme-bingo-web";
12 src = fetchFromGitea {
13 domain = "codeberg.org";
15 repo = "meme-bingo-web";
17 hash = "sha256-AKY0EjeoOnliRN3XSnlCgzCvnWOkZPQz/9QIcr8+hQM=";
20 cargoHash = "sha256-/+9fxIk3EQxG3PzQLRsYcwBHDZaOtWUsAYGa7t1jLHY=";
22 nativeBuildInputs = [ makeWrapper ];
25 mkdir -p $out/share/meme-bingo-web
26 cp -r {templates,static} $out/share/meme-bingo-web/
28 wrapProgram $out/bin/meme-bingo-web \
29 --set MEME_BINGO_TEMPLATES $out/share/meme-bingo-web/templates \
30 --set MEME_BINGO_STATIC $out/share/meme-bingo-web/static
33 passthru.updateScript = nix-update-script { };
36 description = "Play meme bingo using this neat web app";
37 mainProgram = "meme-bingo-web";
38 homepage = "https://codeberg.org/annaaurora/meme-bingo-web";
39 license = licenses.unlicense;
40 maintainers = with maintainers; [ annaaurora ];