nixpkgs/pkgs/applications/office/vnote/default.nix
2021-09-26 10:52:31 -03:00

32 lines
648 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, qmake
, qtbase
, qtwebengine
}:
mkDerivation rec {
pname = "vnote";
version = "3.7.0";
src = fetchFromGitHub {
owner = "vnotex";
repo = pname;
fetchSubmodules = true;
rev = "v${version}";
sha256 = "sha256-D9/4BakXTComvGTV8F131G5PzA8LhWfNSZRBOMo5t5c=";
};
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase qtwebengine ];
meta = with lib; {
homepage = "https://vnotex.github.io/vnote";
description = "A pleasant note-taking platform";
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
};
}