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

28 lines
739 B
Nix
Raw Normal View History

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