0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

konbucase: 4.1.2 -> 4.4.0

Diff: https://github.com/ryonakano/konbucase/compare/4.1.2...4.4.0
This commit is contained in:
emaryn 2025-05-03 08:17:30 +08:00
parent 7064665800
commit fe9582f018

View file

@ -7,19 +7,22 @@
vala, vala,
pkg-config, pkg-config,
wrapGAppsHook3, wrapGAppsHook3,
blueprint-compiler,
pantheon, pantheon,
gtksourceview5, gtksourceview5,
chcase,
libadwaita,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "konbucase"; pname = "konbucase";
version = "4.1.2"; version = "4.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ryonakano"; owner = "ryonakano";
repo = "konbucase"; repo = "konbucase";
rev = finalAttrs.version; tag = finalAttrs.version;
hash = "sha256-md7drxg1JuW6TRJauKOk4Aqjx/V1RVZ+POa5v6DtKwk="; hash = "sha256-56P2RueZSsuQth8IB73r3WYXCQ+rEyfQpGXhLAAeFlY=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -29,25 +32,28 @@ stdenv.mkDerivation (finalAttrs: {
vala vala
pkg-config pkg-config
wrapGAppsHook3 wrapGAppsHook3
blueprint-compiler
]; ];
buildInputs = [ buildInputs = [
pantheon.granite7 pantheon.granite7
gtksourceview5 gtksourceview5
chcase
libadwaita
]; ];
postInstall = '' postInstall = ''
mv $out/bin/com.github.ryonakano.konbucase $out/bin/konbucase mv $out/bin/com.github.ryonakano.konbucase $out/bin/konbucase
substituteInPlace $out/share/applications/com.github.ryonakano.konbucase.desktop \ 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"; homepage = "https://github.com/ryonakano/konbucase";
description = "Case converting app suitable for coding or typing"; description = "Case converting app suitable for coding or typing";
license = licenses.gpl3Only; license = lib.licenses.gpl3Only;
maintainers = with maintainers; [ galaxy ]; maintainers = with lib.maintainers; [ galaxy ];
platforms = platforms.linux; platforms = lib.platforms.linux;
mainProgram = "konbucase"; mainProgram = "konbucase";
}; };
}) })