about summary refs log tree commit diff
path: root/pkgs/by-name/vn/vnote/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/vn/vnote/package.nix')
-rw-r--r--pkgs/by-name/vn/vnote/package.nix43
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/by-name/vn/vnote/package.nix b/pkgs/by-name/vn/vnote/package.nix
new file mode 100644
index 0000000000000..7022955db0cdf
--- /dev/null
+++ b/pkgs/by-name/vn/vnote/package.nix
@@ -0,0 +1,43 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, cmake
+, qt6
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "vnote";
+  version = "3.18.1";
+
+  src = fetchFromGitHub {
+    owner = "vnotex";
+    repo = "vnote";
+    rev = "v${finalAttrs.version}";
+    fetchSubmodules = true;
+    hash = "sha256-IONa9oLRm3IZsjLScZReH/V6U6WMd6wNzIRvCxP22uE=";
+  };
+
+  nativeBuildInputs = [
+    cmake
+    qt6.wrapQtAppsHook
+  ];
+
+  buildInputs = [
+    qt6.qtbase
+    qt6.qtwebengine
+    qt6.qtsvg
+    qt6.qttools
+    qt6.qt5compat
+    qt6.qtwayland
+  ];
+
+  meta = {
+    homepage = "https://vnotex.github.io/vnote";
+    description = "Pleasant note-taking platform";
+    mainProgram = "vnote";
+    changelog = "https://github.com/vnotex/vnote/releases/tag/${finalAttrs.src.rev}";
+    license = lib.licenses.lgpl3Plus;
+    maintainers = with lib.maintainers; [ AndersonTorres ];
+    platforms = lib.platforms.linux;
+  };
+})