depot/third_party/nixpkgs/pkgs/applications/office/vnote/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

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;
};
})