Skip to content

Commit

Permalink
keypunch: 4.0 -> 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo committed Dec 24, 2024
1 parent f1f275a commit 6182001
Showing 1 changed file with 19 additions and 22 deletions.
41 changes: 19 additions & 22 deletions pkgs/by-name/ke/keypunch/package.nix
Original file line number Diff line number Diff line change
@@ -1,54 +1,51 @@
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
nix-update-script,
cargo,
rustc,
meson,
ninja,
pkg-config,
appstream,
blueprint-compiler,
cargo,
desktop-file-utils,
fetchFromGitHub,
gettext,
wrapGAppsHook4,
libadwaita,
meson,
ninja,
nix-update-script,
pkg-config,
rustPlatform,
rustc,
wrapGAppsHook4,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "keypunch";
version = "4.0";
version = "5.0";

src = fetchFromGitHub {
owner = "bragefuglseth";
repo = "keypunch";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-Xd4fzreComOUnoJ6l2ncMWn6DlUeRCM+YwApilhFd/8=";
tag = "v${finalAttrs.version}";
hash = "sha256-oP/rbtX72Ng4GVsXl5s8eESrUlJiJ/n05KArZHVo00c=";
};

cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) pname version src;
hash = "sha256-agFOxSZBi8f0zEPd+ha5c3IAbSH2jHfUx2iNeHFs9jI=";
hash = "sha256-Uz9YbD4k3o3WOXCoIW41eUdi+HIfZLZJNszr9y3qezI=";
};

strictDeps = true;

nativeBuildInputs = [
rustPlatform.cargoSetupHook
cargo
rustc

meson
ninja

pkg-config
appstream
blueprint-compiler
cargo
desktop-file-utils
gettext

meson
ninja
pkg-config
rustPlatform.cargoSetupHook
rustc
wrapGAppsHook4
];

Expand Down

0 comments on commit 6182001

Please sign in to comment.