1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

meme-bingo-web: 0.2.0 → 1.0.1

This commit is contained in:
Anna Aurora 2024-01-04 16:41:46 +01:00
parent af3a3d8114
commit 34db15c1fd
No known key found for this signature in database
GPG key ID: 28364F6BBA0F1FFC

View file

@ -1,18 +1,23 @@
{ lib, fetchFromGitea, rustPlatform, makeWrapper }:
{ lib
, fetchFromGitea
, rustPlatform
, makeWrapper
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
pname = "meme-bingo-web";
version = "0.2.0";
version = "1.0.1";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "annaaurora";
repo = "meme-bingo-web";
rev = "v${version}";
hash = "sha256-6hQra+10TaaQGzwiYfL+WHmGc6f0Hn8Tybd0lA5t0qc=";
hash = "sha256-mOcN9WIXJYRK23tMX29mT5/eSRpqb++zlnJnMizzIfY=";
};
cargoHash = "sha256-/hBymxNAzyfapUL5Whkg4NBLA7Fc8A1npXEa9MXTAz4=";
cargoHash = "sha256-JWVsmw8ha2TSkCXyLPf9Qe1eL2OHB5uu+bSfCaF0lV8=";
nativeBuildInputs = [ makeWrapper ];
@ -25,6 +30,8 @@ rustPlatform.buildRustPackage rec {
--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";