depot/third_party/nixpkgs/pkgs/applications/office/vnote/default.nix

28 lines
700 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qtwebengine }:
let
description = "A note-taking application that knows programmers and Markdown better";
in mkDerivation rec {
version = "2.8.2";
pname = "vnote";
src = fetchFromGitHub {
owner = "tamlok";
repo = "vnote";
fetchSubmodules = true;
rev = "v${version}";
sha256 = "18qffq5c2plr5rjb5lafhdz1v5kbbb2wiyacgdhh3xni3khni52l";
};
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase qtwebengine ];
meta = with lib; {
inherit description;
homepage = "https://tamlok.github.io/vnote";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.kuznero ];
};
}