File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212} :
1313let
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" ;
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 {
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 '' ;
You can’t perform that action at this time.
0 commit comments