spotify-adblock: init
This commit is contained in:
parent
48f93d7b98
commit
00ceb3cf50
5 changed files with 210 additions and 0 deletions
18
packages/spotify-adblock/default.nix
Normal file
18
packages/spotify-adblock/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ inputs
|
||||
, lib
|
||||
, rustPlatform
|
||||
}:
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "spotify-adblock";
|
||||
version = "1.0";
|
||||
src = inputs.spotify-adblock;
|
||||
|
||||
cargoSha256 = "1dabmqjvbxdgs8im7asilv4nnx6xzcbwbiy924sci1zbd5isxgfx";
|
||||
cargoPatches = [ ./0001-cargo.patch ];
|
||||
|
||||
patches = [ ./0002-allow-setting-config-from-environment-variable.patch ];
|
||||
|
||||
postInstall = ''
|
||||
cp ${inputs.spotify-adblock}/config.toml $out/lib
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue