flakes/spotify/flake.nix

36 lines
894 B
Nix
Raw Normal View History

2023-06-14 17:41:41 +02:00
{
description = "Spotify flake";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils}:
flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
spotify-adblock = pkgs.stdenv.mkDerivation {
name = "spotify-adblock";
src = pkgs.fetchFromGitHub {
owner = "abba23";
repo = "spotify-adblock";
rev = "HEAD";
sha256 = "sha256-5tZ+Y7dhzb6wmyQ+5FIJDHH0KqkXbiB259Yo7ATGjSU=";
};
};
in {
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
git
gnumake
rustc
cargo
];
};
}
);
}