2021-09-26 13:51:57 +00:00
|
|
|
{ lib
|
2023-07-09 22:33:49 +00:00
|
|
|
, stdenv
|
2021-09-26 13:51:57 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, qmake
|
|
|
|
, qtbase
|
|
|
|
, qtwebengine
|
2023-07-09 22:33:49 +00:00
|
|
|
, qtx11extras
|
|
|
|
, wrapQtAppsHook
|
2021-09-26 13:51:57 +00:00
|
|
|
}:
|
2019-05-23 22:07:21 +00:00
|
|
|
|
2023-07-09 22:33:49 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-05-23 22:07:21 +00:00
|
|
|
pname = "vnote";
|
2023-08-28 04:09:31 +00:00
|
|
|
version = "3.17.0";
|
2019-05-23 22:07:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-09-26 13:51:57 +00:00
|
|
|
owner = "vnotex";
|
2023-07-09 22:33:49 +00:00
|
|
|
repo = "vnote";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2019-05-23 22:07:21 +00:00
|
|
|
fetchSubmodules = true;
|
2023-08-28 04:09:31 +00:00
|
|
|
hash = "sha256-NUVu6tKXrrwAoT4BgxX05mmGSC9yx20lwvXzd4y19Zs=";
|
2019-05-23 22:07:21 +00:00
|
|
|
};
|
|
|
|
|
2021-11-18 20:37:03 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
2023-07-09 22:33:49 +00:00
|
|
|
wrapQtAppsHook
|
2021-11-18 20:37:03 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
qtwebengine
|
2023-07-09 22:33:49 +00:00
|
|
|
qtx11extras
|
2021-11-18 20:37:03 +00:00
|
|
|
];
|
2019-05-23 22:07:21 +00:00
|
|
|
|
2023-07-09 22:33:49 +00:00
|
|
|
meta = {
|
2021-09-26 13:51:57 +00:00
|
|
|
homepage = "https://vnotex.github.io/vnote";
|
|
|
|
description = "A pleasant note-taking platform";
|
2023-08-02 14:27:09 +00:00
|
|
|
changelog = "https://github.com/vnotex/vnote/releases/tag/${finalAttrs.src.rev}";
|
2023-07-09 22:33:49 +00:00
|
|
|
license = lib.licenses.lgpl3Plus;
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
|
|
platforms = lib.platforms.linux;
|
2019-05-23 22:07:21 +00:00
|
|
|
};
|
2023-07-09 22:33:49 +00:00
|
|
|
})
|