pkgs: add overlays.nix

This commit is contained in:
notohh 2024-01-03 19:19:40 -05:00
parent a9626cfd89
commit 0e822a8c9c
Signed by: notohh
GPG key ID: BD47506D475EE86D

23
pkgs/overlays.nix Normal file
View file

@ -0,0 +1,23 @@
{lib, ...}: {
nixpkgs = {
overlays = [
(final: prev: {
spotify-player = prev.spotify-player.overrideAttrs (old: rec {
pname = "spotify-player";
version = "0.16.3";
src = prev.fetchFromGitHub {
owner = "aome510";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-8naLLHAVGB8ow88XjU3BpnNzY3SFC2F5uYin67hMc0E=";
};
cargoDeps = old.cargoDeps.overrideAttrs (lib.const {
name = "spotify-player.tar.gz";
inherit src;
outputHash = "sha256-KiqQH356tOEz+Hjhh5XZa3/R+Jw/dH9Ys4KPyZZSTec=";
});
});
})
];
};
}