snowflake/pkgs/overlays.nix

27 lines
805 B
Nix
Raw Normal View History

2024-01-03 19:19:40 -05:00
{lib, ...}: {
nixpkgs = {
overlays = [
2024-01-23 13:22:21 -05:00
(final: prev: {
obsidian-wayland = prev.obsidian.override {electron = final.electron_24;};
})
2024-01-03 19:19:40 -05:00
(final: prev: {
spotify-player = prev.spotify-player.overrideAttrs (old: rec {
pname = "spotify-player";
2024-05-02 16:58:14 -04:00
version = "0.18.1";
2024-01-03 19:19:40 -05:00
src = prev.fetchFromGitHub {
owner = "aome510";
repo = pname;
rev = "refs/tags/v${version}";
2024-05-02 16:58:14 -04:00
hash = "sha256-3nPESnBWaxWjWMvRG7gbXt8FzuPlx2soOonCKom+tzA=";
2024-01-03 19:19:40 -05:00
};
cargoDeps = old.cargoDeps.overrideAttrs (lib.const {
name = "spotify-player.tar.gz";
inherit src;
2024-05-02 16:58:14 -04:00
outputHash = "sha256-fzFWSPRPWYSiBzbW7OWODahckuzFahdt09V5WKC3Pmo=";
2024-01-03 19:19:40 -05:00
});
});
})
];
};
}