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:
parent
a96bab416a
commit
2e729e7f1f
|
@ -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
|
||||
};
|
||||
}
|
||||
|
|
22
pkgs/tools/audio/google-music-scripts/loguru.patch
Normal file
22
pkgs/tools/audio/google-music-scripts/loguru.patch
Normal 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']
|
Loading…
Reference in a new issue