1
0

Fetch listenbrainz and set discord rpc

This commit is contained in:
ixhbinphoenix
2024-02-12 19:39:01 +01:00
parent 75b038bb06
commit f369ffb220
9 changed files with 1055 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
{
description = "Discord Rich Presence for ListenBrainz";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
cargo
clippy
rustc
rust-analyzer
openssl
pkg-config
];
shellHook = ''
export PKG_CONFIG_PATH="${pkgs.openssl.dev}/lib/pkgconfig"
'';
};
});
}