nixpkgs/pkgs/applications/office/vnote/default.nix
2020-01-07 16:05:11 -06:00

28 lines
700 B
Nix

{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qtwebengine }:
let
description = "A note-taking application that knows programmers and Markdown better";
in mkDerivation rec {
version = "2.8.1";
pname = "vnote";
src = fetchFromGitHub {
owner = "tamlok";
repo = "vnote";
fetchSubmodules = true;
rev = "v${version}";
sha256 = "0yb33rpmgnl3b3jbbxfr3zwxnx9p3shmfliw1i337aqjspbk8a9v";
};
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 ];
};
}