snowflake/pkgs/overlays.nix

24 lines
691 B
Nix
Raw Normal View History

2024-01-03 19:19:40 -05:00
{lib, ...}: {
nixpkgs = {
overlays = [
(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
});
});
})
];
};
}