Update README
Some checks failed
spot-quality / ci-check (push) Has been cancelled
spot-quality / shellcheck (push) Has been cancelled

This commit is contained in:
Théo Barnouin 2024-11-13 16:52:03 +01:00
parent 15cf412840
commit 41b597dfc0

View file

@ -10,7 +10,44 @@ Join the discussion on [Matrix](https://matrix.to/#/#spot-devel:matrix.org).
## Installing ## Installing
<a href='https://flathub.org/apps/details/dev.alextren.Spot'><img width='130' alt='Download on Flathub' src='https://flathub.org/assets/badges/flathub-badge-en.png'/></a> This is a fork from [stevenleadbeater/spot](https://github.com/stevenleadbeater/spot/tree/development) that aim to provide a nix package with working spotify OAuth.
You can build the rust package with :
```
nix develop
meson target -Dbuildtype=debug -Doffline=false --prefix="$HOME/.local"
ninja install -C target
# to run test/linter/etc
meson test -C target --verbose
```
You can use this flake in your own config with :
```
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
spot = {
url = "git+https://git.le43.eu/tbarnouin/spot";
};
};
outputs = { nixpkgs, spot, ...}:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
overlays = [
spot.overlay
];
};
in
{
...snip
```
## Usage notes ## Usage notes