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:
parent
7064665800
commit
fe9582f018
1 changed files with 14 additions and 8 deletions
|
@ -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";
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue