2021-09-28 08:13:01 +00:00
|
|
|
{ lib
|
2023-07-15 17:15:38 +00:00
|
|
|
, stdenv
|
2021-09-28 08:13:01 +00:00
|
|
|
, fetchFromGitHub
|
2024-07-27 06:49:29 +00:00
|
|
|
, cmake
|
|
|
|
, qt6
|
2021-09-28 08:13:01 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "vnote";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "3.18.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-09-28 08:13:01 +00:00
|
|
|
owner = "vnotex";
|
2023-07-15 17:15:38 +00:00
|
|
|
repo = "vnote";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
fetchSubmodules = true;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-IONa9oLRm3IZsjLScZReH/V6U6WMd6wNzIRvCxP22uE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
nativeBuildInputs = [
|
2024-07-27 06:49:29 +00:00
|
|
|
cmake
|
|
|
|
qt6.wrapQtAppsHook
|
2021-12-06 16:07:01 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2024-07-27 06:49:29 +00:00
|
|
|
qt6.qtbase
|
|
|
|
qt6.qtwebengine
|
|
|
|
qt6.qtsvg
|
|
|
|
qt6.qttools
|
|
|
|
qt6.qt5compat
|
|
|
|
qt6.qtwayland
|
2021-12-06 16:07:01 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
meta = {
|
2021-09-28 08:13:01 +00:00
|
|
|
homepage = "https://vnotex.github.io/vnote";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Pleasant note-taking platform";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "vnote";
|
2023-08-04 22:07:22 +00:00
|
|
|
changelog = "https://github.com/vnotex/vnote/releases/tag/${finalAttrs.src.rev}";
|
2023-07-15 17:15:38 +00:00
|
|
|
license = lib.licenses.lgpl3Plus;
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2023-07-15 17:15:38 +00:00
|
|
|
})
|