mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
bufisk: use finalAttrs
This commit is contained in:
parent
b64f075d60
commit
e849ad02e0
1 changed files with 3 additions and 3 deletions
|
@ -4,14 +4,14 @@
|
|||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "bufisk";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bufbuild";
|
||||
repo = "bufisk";
|
||||
rev = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-pVnqvQn7jwpx6T3sS4eA29JeJdh0GrPVm0J8n2UjJTw=";
|
||||
};
|
||||
|
||||
|
@ -29,4 +29,4 @@ buildGoModule rec {
|
|||
maintainers = with lib.maintainers; [ aaronjheng ];
|
||||
mainProgram = "bufisk";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue