1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

google-music-scripts: fix build

This commit is contained in:
Jake Waksbaum 2019-07-02 19:57:58 -07:00
parent a96bab416a
commit 2e729e7f1f
No known key found for this signature in database
GPG key ID: 161DAF1F5CE43352
2 changed files with 25 additions and 2 deletions

View file

@ -9,13 +9,15 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "5b2e9fdde8781a6d226984f0b61add2415a3804123ceeecb20fcc8527de9389d";
};
patches = [ ./loguru.patch ];
propagatedBuildInputs = with python3.pkgs; [
appdirs
audio-metadata
google-music
google-music-proto
google-music-utils
#loguru
loguru
pendulum
natsort
tomlkit
@ -29,6 +31,5 @@ python3.pkgs.buildPythonApplication rec {
description = "A CLI utility for interacting with Google Music";
license = licenses.mit;
maintainers = with maintainers; [ jakewaksbaum ];
broken = true; # 2019-03-15, missing dependency loguru
};
}

View file

@ -0,0 +1,22 @@
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -24,7 +24,7 @@ audio-metadata = "^0.4"
google-music = "^3.0"
google-music-proto = "^2.4"
google-music-utils = "^2.1"
-loguru = "^0.2"
+loguru = "^0.3"
pendulum = "^2.0"
natsort = ">=5.0,<7.0"
tomlkit = "^0.5"
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ install_requires = \
'google-music-proto>=2.4,<3.0',
'google-music-utils>=2.1,<3.0',
'google-music>=3.0,<4.0',
- 'loguru>=0.2,<0.3',
+ 'loguru>=0.3,<0.4',
'natsort>=5.0,<7.0',
'pendulum>=2.0,<3.0',
'tomlkit>=0.5,<0.6']