Merge pull request #242581 from atorres1985-contrib/vnote

This commit is contained in:
Sandro 2023-07-11 15:32:20 +02:00 committed by GitHub
commit b218fea2d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,37 +1,42 @@
{ lib
, mkDerivation
, stdenv
, fetchFromGitHub
, qmake
, qtbase
, qtwebengine
, qtx11extras
, wrapQtAppsHook
}:
mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "vnote";
version = "3.13.0";
version = "3.15.1";
src = fetchFromGitHub {
owner = "vnotex";
repo = pname;
repo = "vnote";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
rev = "v${version}";
sha256 = "sha256-osJvoi7oyZupJ/bnqpm0TdZ5cMYEeOw9DHOIAzONKLg=";
hash = "sha256-A0OJzhvHP+muPI8N23zD4RTiyK0m3JGr/3uJ0Tqz97c=";
};
nativeBuildInputs = [
qmake
wrapQtAppsHook
];
buildInputs = [
qtbase
qtwebengine
qtx11extras
];
meta = with lib; {
meta = {
homepage = "https://vnotex.github.io/vnote";
description = "A pleasant note-taking platform";
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
changelog = "https://github.com/vnotex/vnote/releases/tag/v${finalAttrs.src.rev}";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.linux;
};
}
})