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-27 12:06:50 -04:00
version = "0.18.2";
2024-01-03 19:19:40 -05:00
src = prev.fetchFromGitHub {
owner = "aome510";
repo = pname;
rev = "refs/tags/v${version}";
2024-05-27 12:06:50 -04:00
hash = "sha256-bLUPQgqSsE9tF5YiFj5B+Ylyy96DhWFNjwqXbQ9H8uc=";
2024-01-03 19:19:40 -05:00
};
cargoDeps = old.cargoDeps.overrideAttrs (lib.const {
name = "spotify-player.tar.gz";
inherit src;
2024-05-27 12:06:50 -04:00
outputHash = "sha256-sBhQuU0HpyXOEUtKPZxoNxSp1d5nxuifcYCW7cCOgJI=";
2024-01-03 19:19:40 -05:00
});
});
})
];
};
}