google-music-scripts: 4.0.1 -> 4.3.0
This commit is contained in:
parent
f329b29cb8
commit
aa1fea9f97
|
@ -1,17 +1,22 @@
|
||||||
{ lib, python3 }:
|
{ lib, python3 }:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
with python3.pkgs;
|
||||||
pname = "google-music-scripts";
|
|
||||||
version = "4.0.1";
|
|
||||||
|
|
||||||
src = python3.pkgs.fetchPypi {
|
buildPythonApplication rec {
|
||||||
|
pname = "google-music-scripts";
|
||||||
|
version = "4.3.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "5b2e9fdde8781a6d226984f0b61add2415a3804123ceeecb20fcc8527de9389d";
|
sha256 = "0dykjhqklbpqr1lvls0bgf6xkwvslj37lx4q8522hjbs150pwjmq";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./loguru.patch ];
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "audio-metadata>=0.8,<0.9" "audio-metadata"
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = [
|
||||||
appdirs
|
appdirs
|
||||||
audio-metadata
|
audio-metadata
|
||||||
google-music
|
google-music
|
||||||
|
@ -24,10 +29,12 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
# No tests
|
# No tests
|
||||||
doCheck = false;
|
checkPhase = ''
|
||||||
|
$out/bin/gms --help >/dev/null
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://github.com/thebigmunch/google-music-scripts;
|
homepage = "https://github.com/thebigmunch/google-music-scripts";
|
||||||
description = "A CLI utility for interacting with Google Music";
|
description = "A CLI utility for interacting with Google Music";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ jakewaksbaum ];
|
maintainers = with maintainers; [ jakewaksbaum ];
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
--- 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 New Issue