mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
capslock: use finalAttrs
Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
parent
cfe0dd5b45
commit
34274ebbd8
1 changed files with 3 additions and 3 deletions
|
@ -5,14 +5,14 @@
|
|||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "capslock";
|
||||
version = "0.2.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "capslock";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-kRuEcrx9LBzCpXFWlc9bSsgZt84T8R8VFdbAWAseSPQ=";
|
||||
};
|
||||
|
||||
|
@ -33,4 +33,4 @@ buildGoModule rec {
|
|||
mainProgram = "capslock";
|
||||
maintainers = with lib.maintainers; [ katexochen ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue