2021-09-26 15:51:57 +02:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, qmake
|
|
|
|
, qtbase
|
|
|
|
, qtwebengine
|
|
|
|
}:
|
2019-05-24 00:07:21 +02:00
|
|
|
|
2021-09-26 15:51:57 +02:00
|
|
|
mkDerivation rec {
|
2019-05-24 00:07:21 +02:00
|
|
|
pname = "vnote";
|
2022-04-07 01:01:42 +02:00
|
|
|
version = "3.13.0";
|
2019-05-24 00:07:21 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-09-26 15:51:57 +02:00
|
|
|
owner = "vnotex";
|
|
|
|
repo = pname;
|
2019-05-24 00:07:21 +02:00
|
|
|
fetchSubmodules = true;
|
|
|
|
rev = "v${version}";
|
2022-04-07 01:01:42 +02:00
|
|
|
sha256 = "sha256-osJvoi7oyZupJ/bnqpm0TdZ5cMYEeOw9DHOIAzONKLg=";
|
2019-05-24 00:07:21 +02:00
|
|
|
};
|
|
|
|
|
2021-11-18 21:37:03 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
qtwebengine
|
|
|
|
];
|
2019-05-24 00:07:21 +02:00
|
|
|
|
2019-08-19 23:50:26 +02:00
|
|
|
meta = with lib; {
|
2021-09-26 15:51:57 +02:00
|
|
|
homepage = "https://vnotex.github.io/vnote";
|
|
|
|
description = "A pleasant note-taking platform";
|
2019-05-24 00:07:21 +02:00
|
|
|
license = licenses.mit;
|
2021-09-26 15:51:57 +02:00
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
2019-05-24 00:07:21 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|