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

28 lines
700 B
Nix
Raw Normal View History

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