2021-09-26 14:51:57 +01:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, qmake
|
|
|
|
, qtbase
|
|
|
|
, qtwebengine
|
|
|
|
}:
|
2019-05-23 23:07:21 +01:00
|
|
|
|
2021-09-26 14:51:57 +01:00
|
|
|
mkDerivation rec {
|
2019-05-23 23:07:21 +01:00
|
|
|
pname = "vnote";
|
2021-09-26 14:51:57 +01:00
|
|
|
version = "3.7.0";
|
2019-05-23 23:07:21 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-09-26 14:51:57 +01:00
|
|
|
owner = "vnotex";
|
|
|
|
repo = pname;
|
2019-05-23 23:07:21 +01:00
|
|
|
fetchSubmodules = true;
|
|
|
|
rev = "v${version}";
|
2021-09-26 14:51:57 +01:00
|
|
|
sha256 = "sha256-D9/4BakXTComvGTV8F131G5PzA8LhWfNSZRBOMo5t5c=";
|
2019-05-23 23:07:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake ];
|
2019-09-12 15:25:05 +01:00
|
|
|
buildInputs = [ qtbase qtwebengine ];
|
2019-05-23 23:07:21 +01:00
|
|
|
|
2019-08-19 22:50:26 +01:00
|
|
|
meta = with lib; {
|
2021-09-26 14:51:57 +01:00
|
|
|
homepage = "https://vnotex.github.io/vnote";
|
|
|
|
description = "A pleasant note-taking platform";
|
2019-05-23 23:07:21 +01:00
|
|
|
license = licenses.mit;
|
2021-09-26 14:51:57 +01:00
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
2019-05-23 23:07:21 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|