diff --git a/pkgs/by-name/ch/cherrytree/package.nix b/pkgs/by-name/ch/cherrytree/package.nix index 08aa96f13bae..3004d14356a2 100644 --- a/pkgs/by-name/ch/cherrytree/package.nix +++ b/pkgs/by-name/ch/cherrytree/package.nix @@ -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; }; -} +})