Update README
This commit is contained in:
parent
15cf412840
commit
41b597dfc0
1 changed files with 38 additions and 1 deletions
39
README.md
39
README.md
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue