9 rustPlatform.buildRustPackage rec {
10 pname = "meme-bingo-web";
13 src = fetchFromGitea {
14 domain = "codeberg.org";
16 repo = "meme-bingo-web";
18 hash = "sha256-AKY0EjeoOnliRN3XSnlCgzCvnWOkZPQz/9QIcr8+hQM=";
21 cargoHash = "sha256-/+9fxIk3EQxG3PzQLRsYcwBHDZaOtWUsAYGa7t1jLHY=";
23 nativeBuildInputs = [ makeWrapper ];
26 mkdir -p $out/share/meme-bingo-web
27 cp -r {templates,static} $out/share/meme-bingo-web/
29 wrapProgram $out/bin/meme-bingo-web \
30 --set MEME_BINGO_TEMPLATES $out/share/meme-bingo-web/templates \
31 --set MEME_BINGO_STATIC $out/share/meme-bingo-web/static
34 passthru.updateScript = nix-update-script { };
37 description = "Play meme bingo using this neat web app";
38 mainProgram = "meme-bingo-web";
39 homepage = "https://codeberg.org/annaaurora/meme-bingo-web";
40 license = licenses.unlicense;
41 maintainers = with maintainers; [ annaaurora ];