pkgs: add overlays.nix
This commit is contained in:
parent
a9626cfd89
commit
0e822a8c9c
1 changed files with 23 additions and 0 deletions
23
pkgs/overlays.nix
Normal file
23
pkgs/overlays.nix
Normal 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=";
|
||||
});
|
||||
});
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue