diff --git a/pkgs/by-name/ke/keypunch/package.nix b/pkgs/by-name/ke/keypunch/package.nix index 420b7ff0de6a..2efc9afb44ce 100644 --- a/pkgs/by-name/ke/keypunch/package.nix +++ b/pkgs/by-name/ke/keypunch/package.nix @@ -3,6 +3,7 @@ stdenv, fetchFromGitHub, rustPlatform, + nix-update-script, cargo, rustc, meson, @@ -18,18 +19,18 @@ stdenv.mkDerivation (finalAttrs: { pname = "keypunch"; - version = "3.1"; + version = "4.0"; src = fetchFromGitHub { owner = "bragefuglseth"; repo = "keypunch"; rev = "refs/tags/v${finalAttrs.version}"; - hash = "sha256-2S5S7SvMYdEOOrF3SiwpbijsgHcSIyWEVJB41jbrn1A="; + hash = "sha256-Xd4fzreComOUnoJ6l2ncMWn6DlUeRCM+YwApilhFd/8="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit (finalAttrs) pname version src; - hash = "sha256-sD+wy1D6nl333PxlDz73YtnfBEmDzb+kNZkZI8JbfSg="; + hash = "sha256-agFOxSZBi8f0zEPd+ha5c3IAbSH2jHfUx2iNeHFs9jI="; }; strictDeps = true; @@ -53,12 +54,19 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ libadwaita ]; + passthru = { + updateScript = nix-update-script { }; + }; + meta = { description = "Practice your typing skills"; homepage = "https://github.com/bragefuglseth/keypunch"; license = lib.licenses.gpl3Plus; mainProgram = "keypunch"; - maintainers = with lib.maintainers; [ tomasajt ]; + maintainers = with lib.maintainers; [ + tomasajt + getchoo + ]; platforms = lib.platforms.linux; }; })