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

38 lines
666 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, qmake
, qtbase
, qtwebengine
}:
mkDerivation rec {
pname = "vnote";
version = "3.13.0";
src = fetchFromGitHub {
owner = "vnotex";
repo = pname;
fetchSubmodules = true;
rev = "v${version}";
sha256 = "sha256-osJvoi7oyZupJ/bnqpm0TdZ5cMYEeOw9DHOIAzONKLg=";
};
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;
};
}