28 lines
700 B
Nix
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.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 ];
|
||
|
};
|
||
|
}
|