···1212let
1313 inherit (stdenv.hostPlatform) system;
1414 pname = "obsidian";
1515- version = "0.15.9";
1515+ version = "1.0.0";
1616 appname = "Obsidian";
1717 meta = with lib; {
1818 description = "A powerful knowledge base that works on top of a local folder of plain text Markdown files";
···2525 filename = if stdenv.isDarwin then "Obsidian-${version}-universal.dmg" else "obsidian-${version}.tar.gz";
2626 src = fetchurl {
2727 url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/${filename}";
2828- sha256 = if stdenv.isDarwin then "1q9almr8k1i2wzksd09libgnvypj5k9j15y6cxg4rgnw32fa152n" else "sha256-Qz1Ic5FtxXIk8J/2spNZaqpPIgx3yNyXiAQllbVrGjw=";
2828+ sha256 = if stdenv.isDarwin then "sha256-KVWqdXzbQT93Dj4yesdnfFwAdYin1vfpPsj/ur1AGA0=" else "sha256-H1Cl9SBz/mwN8gezFkcV4KxI7+xVjQV2AtyLKyjVpI8=";
2929 };
30303131 icon = fetchurl {
···506506 # Depends on MODULE_SIG and only really helps when you sign your modules
507507 # and enforce signatures which we don't do by default.
508508 SECURITY_LOCKDOWN_LSM = option no;
509509+510510+ # provides a register of persistent per-UID keyrings, useful for encrypting storage pools in stratis
511511+ PERSISTENT_KEYRINGS = yes;
512512+ # enable temporary caching of the last request_key() result
513513+ KEYS_REQUEST_CACHE = whenAtLeast "5.3" yes;
509514 } // optionalAttrs (!stdenv.hostPlatform.isAarch32) {
510515511516 # Detect buffer overflows on the stack