Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

44 lines
1.1 KiB
Nix

{
lib,
fetchFromGitea,
rustPlatform,
makeWrapper,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "meme-bingo-web";
version = "1.2.0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "annaaurora";
repo = "meme-bingo-web";
rev = "v${version}";
hash = "sha256-0ahyyuihpwmAmaBwZv7lNmjuy8UsAm1a9XUhWcYq76w=";
};
cargoHash = "sha256-5GpNVcnwWjxYgIXGoFkuf5CFD46kxxQwb3t0/i/2nFM=";
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
mkdir -p $out/share/meme-bingo-web
cp -r {templates,static} $out/share/meme-bingo-web/
wrapProgram $out/bin/meme-bingo-web \
--set MEME_BINGO_TEMPLATES $out/share/meme-bingo-web/templates \
--set MEME_BINGO_STATIC $out/share/meme-bingo-web/static
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Play meme bingo using this neat web app";
mainProgram = "meme-bingo-web";
homepage = "https://codeberg.org/annaaurora/meme-bingo-web";
license = licenses.unlicense;
maintainers = with maintainers; [ annaaurora ];
};
}