Skip to content

Commit

Permalink
trilium: 0.40.7 -> 0.42.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kampka committed May 7, 2020
1 parent 3ed9bec commit fb4cff3
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions pkgs/applications/office/trilium/default.nix
Expand Up @@ -19,7 +19,17 @@ let
maintainers = with maintainers; [ emmanuelrosa dtzWill kampka ];
};

version = "0.40.7";
version = "0.42.1";

desktopSource = {
url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz";
sha256 = "0xcbkm6z1a0jh3qywlwcjk6l302cxgdfcq8sw30vbnz99cyarpvz";
};

serverSource = {
url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz";
sha256 = "012l36z0n3fcdajj3v4w2bcb1619sdhg6cvy3y89b6rxl0h2wdiw";
};

in {

Expand All @@ -28,10 +38,7 @@ in {
inherit version;
inherit meta;

src = fetchurl {
url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz";
sha256 = "0xi3bb0kbphbgpk2wlsad509g0hwwb259q2vkv0kgyr4i4wcyc1f";
};
src = fetchurl desktopSource;

# Fetch from source repo, no longer included in release.
# (they did special-case icon.png but we want the scalable svg)
Expand Down Expand Up @@ -76,10 +83,7 @@ in {
inherit version;
inherit meta;

src = fetchurl {
url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz";
sha256 = "15bspngnnbq6mhp1f82j9hccg0ymhm6i4rddpgz3n7dw5wxdj0sm";
};
src = fetchurl serverSource;

nativeBuildInputs = [
autoPatchelfHook
Expand Down

0 comments on commit fb4cff3

Please sign in to comment.