bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
43 lines
873 B
Nix
43 lines
873 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, qmake
|
|
, qtbase
|
|
, qtwebengine
|
|
, qtx11extras
|
|
, wrapQtAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "vnote";
|
|
version = "3.17.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vnotex";
|
|
repo = "vnote";
|
|
rev = "v${finalAttrs.version}";
|
|
fetchSubmodules = true;
|
|
hash = "sha256-NUVu6tKXrrwAoT4BgxX05mmGSC9yx20lwvXzd4y19Zs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
qmake
|
|
wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qtwebengine
|
|
qtx11extras
|
|
];
|
|
|
|
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;
|
|
};
|
|
})
|