diff --git a/pkgs/by-name/ko/konbucase/package.nix b/pkgs/by-name/ko/konbucase/package.nix index 905f63f5aa51..6398565d3fde 100644 --- a/pkgs/by-name/ko/konbucase/package.nix +++ b/pkgs/by-name/ko/konbucase/package.nix @@ -7,19 +7,22 @@ vala, pkg-config, wrapGAppsHook3, + blueprint-compiler, pantheon, gtksourceview5, + chcase, + libadwaita, }: stdenv.mkDerivation (finalAttrs: { pname = "konbucase"; - version = "4.1.2"; + version = "4.4.0"; src = fetchFromGitHub { owner = "ryonakano"; repo = "konbucase"; - rev = finalAttrs.version; - hash = "sha256-md7drxg1JuW6TRJauKOk4Aqjx/V1RVZ+POa5v6DtKwk="; + tag = finalAttrs.version; + hash = "sha256-56P2RueZSsuQth8IB73r3WYXCQ+rEyfQpGXhLAAeFlY="; fetchSubmodules = true; }; @@ -29,25 +32,28 @@ stdenv.mkDerivation (finalAttrs: { vala pkg-config wrapGAppsHook3 + blueprint-compiler ]; buildInputs = [ pantheon.granite7 gtksourceview5 + chcase + libadwaita ]; postInstall = '' mv $out/bin/com.github.ryonakano.konbucase $out/bin/konbucase substituteInPlace $out/share/applications/com.github.ryonakano.konbucase.desktop \ - --replace 'Exec=com.github.ryonakano.konbucase' 'Exec=${placeholder "out"}/bin/konbucase' + --replace-fail "Exec=com.github.ryonakano.konbucase" "Exec=konbucase" ''; - meta = with lib; { + meta = { homepage = "https://github.com/ryonakano/konbucase"; description = "Case converting app suitable for coding or typing"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ galaxy ]; - platforms = platforms.linux; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ galaxy ]; + platforms = lib.platforms.linux; mainProgram = "konbucase"; }; })