2023-05-24 14:59:02 -06:00
|
|
|
let
|
|
|
|
obsidian = _: super: {
|
|
|
|
obsidian = super.obsidian.overrideAttrs (_: rec {
|
2023-06-01 09:39:16 -06:00
|
|
|
version = "1.3.5";
|
2023-05-26 08:06:02 -06:00
|
|
|
filename = if super.stdenv.isDarwin then
|
|
|
|
"Obsidian-${version}-universal.dmg"
|
|
|
|
else
|
|
|
|
"obsidian-${version}.tar.gz";
|
2023-05-24 14:59:02 -06:00
|
|
|
src = super.fetchurl {
|
|
|
|
url =
|
|
|
|
"https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/${filename}";
|
|
|
|
sha256 = if super.stdenv.isDarwin then
|
2023-06-01 09:39:16 -06:00
|
|
|
"sha256-bTIJwQqufzxq1/ZxR8rVYER82tl0pPMpKwDPr9Gz1Q4="
|
2023-05-24 14:59:02 -06:00
|
|
|
else
|
2023-06-01 09:39:16 -06:00
|
|
|
"sha256-jhm6ziFaJnv4prPSfOnJ/EbIRTf9rnvzAJVxnVqmWE4=";
|
2023-05-24 14:59:02 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
in obsidian
|