nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 52 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 fetchpatch, 6 cmake, 7 qt6, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "vnote"; 12 version = "3.20.1"; 13 14 src = fetchFromGitHub { 15 owner = "vnotex"; 16 repo = "vnote"; 17 tag = "v${finalAttrs.version}"; 18 fetchSubmodules = true; 19 hash = "sha256-Ukik02qP7a86dgBTghD9wGKGpXkdGdxczg01APtcOAM="; 20 }; 21 22 patches = [ 23 (fetchpatch { 24 url = "https://github.com/vnotex/vnote/commit/7c59d0d061d30f8f1f57eab855b73d3b1f452df1.patch"; 25 hash = "sha256-gt2JDO9kGR/bjTtqTaAdHDHm9UC3XMG6KgKeDdhhNNg="; 26 }) 27 ]; 28 29 nativeBuildInputs = [ 30 cmake 31 qt6.wrapQtAppsHook 32 ]; 33 34 buildInputs = [ 35 qt6.qtbase 36 qt6.qtwebengine 37 qt6.qtsvg 38 qt6.qttools 39 qt6.qt5compat 40 qt6.qtwayland 41 ]; 42 43 meta = { 44 homepage = "https://vnotex.github.io/vnote"; 45 description = "Pleasant note-taking platform"; 46 mainProgram = "vnote"; 47 changelog = "https://github.com/vnotex/vnote/releases/tag/${finalAttrs.src.rev}"; 48 license = lib.licenses.lgpl3Plus; 49 maintainers = [ ]; 50 platforms = lib.platforms.linux; 51 }; 52})