summary refs log tree commit diff
path: root/pkgs/tools/audio/google-music-scripts/default.nix
blob: f7e96971ab19a090afec372f743ddf7729293847 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib, python3 }:

python3.pkgs.buildPythonApplication rec {
  pname = "google-music-scripts";
  version = "4.0.1";

  src = python3.pkgs.fetchPypi {
    inherit pname version;
    sha256 = "5b2e9fdde8781a6d226984f0b61add2415a3804123ceeecb20fcc8527de9389d";
  };

  patches = [ ./loguru.patch ];

  propagatedBuildInputs = with python3.pkgs; [
    appdirs
    audio-metadata
    google-music
    google-music-proto
    google-music-utils
    loguru
    pendulum
    natsort
    tomlkit
  ];

  # No tests
  doCheck = false;

  meta = with lib; {
    homepage = https://github.com/thebigmunch/google-music-scripts;
    description = "A CLI utility for interacting with Google Music";
    license = licenses.mit;
    maintainers = with maintainers; [ jakewaksbaum ];
  };
}