overlays: add obsidian overlay
This commit is contained in:
parent
840070d297
commit
a271f2474e
@ -1,6 +1,7 @@
|
|||||||
{ isUnstable, lib, xinlib, ... }:
|
{ isUnstable, lib, xinlib, ... }:
|
||||||
let
|
let
|
||||||
openssh = import ./openssh.nix;
|
openssh = import ./openssh.nix;
|
||||||
|
obsidian = xinlib.prIsOpen 233877 (import ./obsidian.nix);
|
||||||
tailscale = xinlib.prIsOpen 231281 (import ./tailscale.nix);
|
tailscale = xinlib.prIsOpen 231281 (import ./tailscale.nix);
|
||||||
jetbrains = xinlib.prIsOpen 232308 (import ./jetbrains.nix);
|
jetbrains = xinlib.prIsOpen 232308 (import ./jetbrains.nix);
|
||||||
tidal-hifi =
|
tidal-hifi =
|
||||||
@ -17,6 +18,7 @@ in {
|
|||||||
})
|
})
|
||||||
jetbrains
|
jetbrains
|
||||||
tidal-hifi
|
tidal-hifi
|
||||||
|
obsidian
|
||||||
openssh
|
openssh
|
||||||
tailscale
|
tailscale
|
||||||
] else [
|
] else [
|
||||||
|
18
overlays/obsidian.nix
Normal file
18
overlays/obsidian.nix
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
let
|
||||||
|
obsidian = _: super: {
|
||||||
|
obsidian = super.obsidian.overrideAttrs (_: rec {
|
||||||
|
version = "1.3.4";
|
||||||
|
filename = if super.stdenv.isDarwin then "Obsidian-${version}-universal.dmg" else "obsidian-${version}.tar.gz";
|
||||||
|
src = super.fetchurl {
|
||||||
|
url =
|
||||||
|
"https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/${filename}";
|
||||||
|
sha256 = if super.stdenv.isDarwin then
|
||||||
|
"sha256-LP13smLy/cr0hiLl5cdRxTbDfRFojb+HJBx/MFeJ13Y="
|
||||||
|
else
|
||||||
|
"sha256-8M9HU20IxTvPaa6x1X41Ldq2usK2TPU71VvprerivZg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
in obsidian
|
8
pull_requests/233877.json
Normal file
8
pull_requests/233877.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"branches": [],
|
||||||
|
"pull_request": "233877",
|
||||||
|
"release": "stable",
|
||||||
|
"status": "open",
|
||||||
|
"status_info": {},
|
||||||
|
"title": "obsidian: 1.2.8 -> 1.3.4"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user