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
|
|
|
|
, qmake
|
|
|
|
, qtbase
|
|
|
|
, qtwebengine
|
2023-07-15 17:15:38 +00:00
|
|
|
, qtx11extras
|
|
|
|
, wrapQtAppsHook
|
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";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "3.17.0";
|
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;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-NUVu6tKXrrwAoT4BgxX05mmGSC9yx20lwvXzd4y19Zs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
2023-07-15 17:15:38 +00:00
|
|
|
wrapQtAppsHook
|
2021-12-06 16:07:01 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
qtwebengine
|
2023-07-15 17:15:38 +00:00
|
|
|
qtx11extras
|
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
|
|
|
})
|