mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +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,
|
fetchFromGitHub,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "bufisk";
|
pname = "bufisk";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bufbuild";
|
owner = "bufbuild";
|
||||||
repo = "bufisk";
|
repo = "bufisk";
|
||||||
rev = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-pVnqvQn7jwpx6T3sS4eA29JeJdh0GrPVm0J8n2UjJTw=";
|
hash = "sha256-pVnqvQn7jwpx6T3sS4eA29JeJdh0GrPVm0J8n2UjJTw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -29,4 +29,4 @@ buildGoModule rec {
|
||||||
maintainers = with lib.maintainers; [ aaronjheng ];
|
maintainers = with lib.maintainers; [ aaronjheng ];
|
||||||
mainProgram = "bufisk";
|
mainProgram = "bufisk";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue