spotistats/flake.nix

29 lines
635 B
Nix
Raw Normal View History

2023-01-12 19:49:25 +00:00
{
description = "Display stats about your spotify playlists";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
py = pkgs.python310.withPackages(p: with p; [
spotipy
matplotlib
flask
python-dotenv
]);
in
{
devShell = pkgs.mkShell {
nativeBuildInputs = [ py pkgs.poetry ];
2023-01-12 19:49:25 +00:00
};
});
}