forked from mirrors/nixpkgs
8053c25b2f
Also migrate to Qt5.15
28 lines
691 B
Nix
28 lines
691 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.10";
|
|
pname = "vnote";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tamlok";
|
|
repo = "vnote";
|
|
fetchSubmodules = true;
|
|
rev = "v${version}";
|
|
sha256 = "EeeVGnKI0irLO1zJQxlVlIUhqG987JIgxNvKpUgLxUQ=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|