#13 Merge spotify into main
This commit is contained in:
commit
9e692e6a41
3 changed files with 65 additions and 23 deletions
24
nixos/overlays/spotify/default.nix
Normal file
24
nixos/overlays/spotify/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
final: prev: {
|
||||
spotify-adblock = final.rustPlatform.buildRustPackage rec {
|
||||
name = "spotify-adblock";
|
||||
version = "v1.0.3";
|
||||
src = final.fetchFromGitHub {
|
||||
owner = "abba23";
|
||||
repo = "spotify-adblock";
|
||||
rev = "5a3281d";
|
||||
sha256 = "sha256-UzpHAHpQx2MlmBNKm2turjeVmgp5zXKWm3nZbEo0mYE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-oHfk68mAIcmOenW7jn71Xpt8hWVDtxyInWhVN2rH+kk=";
|
||||
|
||||
buildInputs = with final; [
|
||||
cargo
|
||||
rustc
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
mkdir -p $out
|
||||
cp $src/config.toml $out/config.toml
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue