nixpkgs-suyu/pkgs/applications/office/vnote/default.nix
2022-02-01 13:13:04 +00:00

37 lines
668 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, qmake
, qtbase
, qtwebengine
}:
mkDerivation rec {
pname = "vnote";
version = "3.12.888";
src = fetchFromGitHub {
owner = "vnotex";
repo = pname;
fetchSubmodules = true;
rev = "v${version}";
sha256 = "sha256-l9oFixyEM0aAfvrC5rrQMzv7n8rUHECRzhuIQJ/szjc=";
};
nativeBuildInputs = [
qmake
];
buildInputs = [
qtbase
qtwebengine
];
meta = with lib; {
homepage = "https://vnotex.github.io/vnote";
description = "A pleasant note-taking platform";
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
};
}