about summary refs log tree commit diff
path: root/pkgs/applications/office/vnote
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-07-09 19:33:49 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-07-10 00:43:33 -0300
commit105465eb60c294a311287877203ef1f07b5441e5 (patch)
tree98907cc9059e02c1380373972ea6885442f85a5d /pkgs/applications/office/vnote
parent2169d3b0bce0daa64d05abbdf9da552a7b8c22a7 (diff)
vnote: 3.13.0 -> 3.15.1
Diffstat (limited to 'pkgs/applications/office/vnote')
-rw-r--r--pkgs/applications/office/vnote/default.nix27
1 files changed, 16 insertions, 11 deletions
diff --git a/pkgs/applications/office/vnote/default.nix b/pkgs/applications/office/vnote/default.nix
index 53fd1f07b6e65..7daaa02a645a0 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;
   };
-}
+})