diff options
Diffstat (limited to 'pkgs/by-name/vn/vnote/package.nix')
-rw-r--r-- | pkgs/by-name/vn/vnote/package.nix | 43 |
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..7808c02dba34f --- /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.2"; + + src = fetchFromGitHub { + owner = "vnotex"; + repo = "vnote"; + rev = "v${finalAttrs.version}"; + fetchSubmodules = true; + hash = "sha256-2yNhWDExxg5A6DgGtKAtql3HsJuYG1YM/NjUJ718jRw="; + }; + + 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; + }; +}) |