bingo: use finalAttrs

This commit is contained in:
Aaron Jheng 2025-05-07 21:30:17 +08:00
parent 50b6a37683
commit 91ed0b2c85
No known key found for this signature in database
GPG key ID: F6A547A869D050A3

View file

@ -4,14 +4,14 @@
fetchFromGitHub, fetchFromGitHub,
}: }:
buildGoModule rec { buildGoModule (finalAttrs: {
pname = "bingo"; pname = "bingo";
version = "0.9.0"; version = "0.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bwplotka"; owner = "bwplotka";
repo = "bingo"; repo = "bingo";
rev = "v${version}"; tag = "v${finalAttrs.version}";
hash = "sha256-bzh6P+J8EoewjOofwWXMgtSXAhESetD3y9EiqLNOT54="; hash = "sha256-bzh6P+J8EoewjOofwWXMgtSXAhESetD3y9EiqLNOT54=";
}; };
@ -35,4 +35,4 @@ buildGoModule rec {
license = lib.licenses.asl20; license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ aaronjheng ]; maintainers = with lib.maintainers; [ aaronjheng ];
}; };
} })