about summary refs log tree commit diff
path: root/pkgs/applications/office/trilium
diff options
context:
space:
mode:
authorFliegendeWurst <2012gdwu+github@posteo.de>2021-03-22 18:47:11 +0100
committerFliegendeWurst <2012gdwu+github@posteo.de>2021-03-22 22:38:55 +0100
commit64b9e86178bbc7230d9526385bd1ee891d749280 (patch)
tree5e09ee171779c8d05f49a53896578824ae6428f8 /pkgs/applications/office/trilium
parent9334a29720c76dcfdbc54ec9e8703473aa1729d8 (diff)
downloadnixlib-64b9e86178bbc7230d9526385bd1ee891d749280.tar
nixlib-64b9e86178bbc7230d9526385bd1ee891d749280.tar.gz
nixlib-64b9e86178bbc7230d9526385bd1ee891d749280.tar.bz2
nixlib-64b9e86178bbc7230d9526385bd1ee891d749280.tar.lz
nixlib-64b9e86178bbc7230d9526385bd1ee891d749280.tar.xz
nixlib-64b9e86178bbc7230d9526385bd1ee891d749280.tar.zst
nixlib-64b9e86178bbc7230d9526385bd1ee891d749280.zip
trilium: 0.45.10 -> 0.46.5
Diffstat (limited to 'pkgs/applications/office/trilium')
-rw-r--r--pkgs/applications/office/trilium/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/applications/office/trilium/default.nix b/pkgs/applications/office/trilium/default.nix
index 0b191f580418..4692828601bf 100644
--- a/pkgs/applications/office/trilium/default.nix
+++ b/pkgs/applications/office/trilium/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, nixosTests, fetchurl, autoPatchelfHook, atomEnv, makeWrapper, makeDesktopItem, gtk3, wrapGAppsHook, zlib, libxkbfile }:
+{ lib, stdenv, nixosTests, fetchurl, autoPatchelfHook, atomEnv, makeWrapper, makeDesktopItem, gtk3, wrapGAppsHook }:
 
 let
   description = "Trilium Notes is a hierarchical note taking application with focus on building large personal knowledge bases";
@@ -19,16 +19,16 @@ let
     maintainers = with maintainers; [ fliegendewurst ];
   };
 
-  version = "0.45.10";
+  version = "0.46.5";
 
   desktopSource = {
     url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz";
-    sha256 = "06ykgcak7l3q812c4xrp720db3yq0v2lkrzkmwchlwp5rpwhqpck";
+    sha256 = "157yp8375aviy77i42s7wdzc5igs7ll3v6vjzy30l8i5zis7hry2";
   };
 
   serverSource = {
     url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz";
-    sha256 = "1252zgyb23vfvy63cqd8jdjbm4w9ddwnp32z5vf1fqvd2rrz6lz9";
+    sha256 = "0bc1p99hr12pj94z48wwdbiw4cwpq3sanxaadbc8vxiyb4mcv706";
   };
 
 in {
@@ -58,6 +58,7 @@ in {
     buildInputs = atomEnv.packages ++ [ gtk3 ];
 
     installPhase = ''
+      runHook preInstall
       mkdir -p $out/bin
       mkdir -p $out/share/trilium
       mkdir -p $out/share/{applications,icons/hicolor/scalable/apps}
@@ -67,6 +68,7 @@ in {
 
       ln -s ${trilium_svg} $out/share/icons/hicolor/scalable/apps/trilium.svg
       cp ${desktopItem}/share/applications/* $out/share/applications
+      runHook postInstall
     '';
 
     # LD_LIBRARY_PATH "shouldn't" be needed, remove when possible :)
@@ -91,8 +93,6 @@ in {
 
     buildInputs = [
       stdenv.cc.cc.lib
-      zlib
-      libxkbfile
     ];
 
     patches = [