emaryn 2025-04-19 00:12:49 +08:00
parent dba7688e8e
commit 1560e87d76

View file

@ -1,13 +1,13 @@
{
stdenv,
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
python3,
wrapGAppsHook3,
gtkmm3,
gtksourceview,
gtksourceview4,
gtksourceviewmm,
gspell,
libxmlxx,
@ -19,15 +19,15 @@
vte,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "cherrytree";
version = "1.1.4";
version = "1.4.0";
src = fetchFromGitHub {
owner = "giuspen";
repo = "cherrytree";
tag = "v${version}";
hash = "sha256-JiSGoEVGotaPqEKFHjTagi+sZPgdX+tKI0FIHRmJKHE=";
tag = "v${finalAttrs.version}";
hash = "sha256-X87L3oSidnXH/IIHtVbeIn0ehWkSgrAkX0+TUGQomV0=";
};
nativeBuildInputs = [
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
buildInputs = [
gtkmm3
gtksourceview
gtksourceview4
gtksourceviewmm
gspell
libxmlxx
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
vte
];
meta = with lib; {
meta = {
description = "Hierarchical note taking application";
mainProgram = "cherrytree";
longDescription = ''
@ -64,9 +64,9 @@ stdenv.mkDerivation rec {
a Cherrytree document where you can easily find it.
'';
homepage = "https://www.giuspen.com/cherrytree";
changelog = "https://raw.githubusercontent.com/giuspen/cherrytree/${version}/changelog.txt";
license = licenses.gpl3Plus;
changelog = "https://raw.githubusercontent.com/giuspen/cherrytree/${finalAttrs.version}/changelog.txt";
license = lib.licenses.gpl3Plus;
maintainers = [ ];
platforms = platforms.unix;
platforms = lib.platforms.unix;
};
}
})