diff --git a/pkgs/applications/office/vnote/default.nix b/pkgs/applications/office/vnote/default.nix index 53fd1f07b6e6..7daaa02a645a 100644 --- a/pkgs/applications/office/vnote/default.nix +++ b/pkgs/applications/office/vnote/default.nix @@ -1,37 +1,42 @@ { lib -, mkDerivation +, stdenv , fetchFromGitHub , qmake , qtbase , qtwebengine +, qtx11extras +, wrapQtAppsHook }: -mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "vnote"; - version = "3.13.0"; + version = "3.15.1"; src = fetchFromGitHub { owner = "vnotex"; - repo = pname; + repo = "vnote"; + rev = "v${finalAttrs.version}"; fetchSubmodules = true; - rev = "v${version}"; - sha256 = "sha256-osJvoi7oyZupJ/bnqpm0TdZ5cMYEeOw9DHOIAzONKLg="; + hash = "sha256-A0OJzhvHP+muPI8N23zD4RTiyK0m3JGr/3uJ0Tqz97c="; }; nativeBuildInputs = [ qmake + wrapQtAppsHook ]; buildInputs = [ qtbase qtwebengine + qtx11extras ]; - meta = with lib; { + meta = { homepage = "https://vnotex.github.io/vnote"; description = "A pleasant note-taking platform"; - license = licenses.mit; - maintainers = with maintainers; [ AndersonTorres ]; - platforms = platforms.linux; + changelog = "https://github.com/vnotex/vnote/releases/tag/v${finalAttrs.src.rev}"; + license = lib.licenses.lgpl3Plus; + maintainers = with lib.maintainers; [ AndersonTorres ]; + platforms = lib.platforms.linux; }; -} +})