mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +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,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "capslock";
|
pname = "capslock";
|
||||||
version = "0.2.7";
|
version = "0.2.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "capslock";
|
repo = "capslock";
|
||||||
rev = "v${version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-kRuEcrx9LBzCpXFWlc9bSsgZt84T8R8VFdbAWAseSPQ=";
|
hash = "sha256-kRuEcrx9LBzCpXFWlc9bSsgZt84T8R8VFdbAWAseSPQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -33,4 +33,4 @@ buildGoModule rec {
|
||||||
mainProgram = "capslock";
|
mainProgram = "capslock";
|
||||||
maintainers = with lib.maintainers; [ katexochen ];
|
maintainers = with lib.maintainers; [ katexochen ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue