Skip to content

Commit e861428

Browse files
authored
obsidian: 1.7.4 -> 1.7.5 (#353717)
2 parents b412c13 + d8aeca8 commit e861428

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkgs/by-name/ob/obsidian/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}:
1313
let
1414
pname = "obsidian";
15-
version = "1.7.4";
15+
version = "1.7.5";
1616
appname = "Obsidian";
1717
meta = with lib; {
1818
description = "Powerful knowledge base that works on top of a local folder of plain text Markdown files";
@@ -26,7 +26,7 @@ let
2626
filename = if stdenv.hostPlatform.isDarwin then "Obsidian-${version}.dmg" else "obsidian-${version}.tar.gz";
2727
src = fetchurl {
2828
url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/${filename}";
29-
hash = if stdenv.hostPlatform.isDarwin then "sha256-r3dSHx3y7BzjbWYJwXwyWCeTRya2jLMVhzV7NWpRDb4=" else "sha256-NRL8WHi+4ne48z7b9G6trJZiTt/lhwcF2CZjgyYmOug=";
29+
hash = if stdenv.hostPlatform.isDarwin then "sha256-2gUXA0a7gcVFtTl5qiJFTAu6A9W79DiP0hd8j1Mwv3I=" else "sha256-T177UqPnPLM/2dGUdwhK21AByYrJu9wgEKOWrrGBQkA=";
3030
};
3131

3232
icon = fetchurl {
@@ -61,7 +61,7 @@ let
6161
-t $out/share/applications/
6262
for size in 16 24 32 48 64 128 256 512; do
6363
mkdir -p $out/share/icons/hicolor/"$size"x"$size"/apps
64-
convert -background none -resize "$size"x"$size" ${icon} $out/share/icons/hicolor/"$size"x"$size"/apps/obsidian.png
64+
magick ${icon} -background none -resize "$size"x"$size" $out/share/icons/hicolor/"$size"x"$size"/apps/obsidian.png
6565
done
6666
runHook postInstall
6767
'';

0 commit comments

Comments
 (0)