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

28 lines
757 B
Nix
Raw Normal View History

2019-05-24 00:07:21 +02:00
{ stdenv, fetchFromGitHub, qmake, qtbase, qtwebengine, hicolor-icon-theme, makeDesktopItem }:
let
description = "A note-taking application that knows programmers and Markdown better";
in stdenv.mkDerivation rec {
2019-06-01 07:51:33 +02:00
version = "2.6";
2019-05-24 00:07:21 +02:00
pname = "vnote";
src = fetchFromGitHub {
owner = "tamlok";
repo = "vnote";
fetchSubmodules = true;
rev = "v${version}";
2019-06-01 07:51:33 +02:00
sha256 = "10lnzzwz7fjj55kbn3j6gdl9yi6a85mdjis586p3zcc4830mlv91";
2019-05-24 00:07:21 +02:00
};
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase qtwebengine hicolor-icon-theme ];
meta = with stdenv.lib; {
inherit description;
homepage = "https://tamlok.github.io/vnote";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.kuznero ];
};
}