Skip to content

Commit c08263b

Browse files
keypunch: 3.1 -> 4.0; adopt (#357221)
2 parents 69b2f4d + 1422e69 commit c08263b

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

pkgs/by-name/ke/keypunch/package.nix

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
stdenv,
44
fetchFromGitHub,
55
rustPlatform,
6+
nix-update-script,
67
cargo,
78
rustc,
89
meson,
@@ -18,18 +19,18 @@
1819

1920
stdenv.mkDerivation (finalAttrs: {
2021
pname = "keypunch";
21-
version = "3.1";
22+
version = "4.0";
2223

2324
src = fetchFromGitHub {
2425
owner = "bragefuglseth";
2526
repo = "keypunch";
2627
rev = "refs/tags/v${finalAttrs.version}";
27-
hash = "sha256-2S5S7SvMYdEOOrF3SiwpbijsgHcSIyWEVJB41jbrn1A=";
28+
hash = "sha256-Xd4fzreComOUnoJ6l2ncMWn6DlUeRCM+YwApilhFd/8=";
2829
};
2930

3031
cargoDeps = rustPlatform.fetchCargoTarball {
3132
inherit (finalAttrs) pname version src;
32-
hash = "sha256-sD+wy1D6nl333PxlDz73YtnfBEmDzb+kNZkZI8JbfSg=";
33+
hash = "sha256-agFOxSZBi8f0zEPd+ha5c3IAbSH2jHfUx2iNeHFs9jI=";
3334
};
3435

3536
strictDeps = true;
@@ -53,12 +54,19 @@ stdenv.mkDerivation (finalAttrs: {
5354

5455
buildInputs = [ libadwaita ];
5556

57+
passthru = {
58+
updateScript = nix-update-script { };
59+
};
60+
5661
meta = {
5762
description = "Practice your typing skills";
5863
homepage = "https://github.com/bragefuglseth/keypunch";
5964
license = lib.licenses.gpl3Plus;
6065
mainProgram = "keypunch";
61-
maintainers = with lib.maintainers; [ tomasajt ];
66+
maintainers = with lib.maintainers; [
67+
tomasajt
68+
getchoo
69+
];
6270
platforms = lib.platforms.linux;
6371
};
6472
})

0 commit comments

Comments
 (0)