Commit 34274ebb authored by Paul Meyer's avatar Paul Meyer
Browse files

capslock: use finalAttrs

parent cfe0dd5b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})