pythonPackages.google-music-proto: Fix dependencies
This commit is contained in:
parent
dc711a8582
commit
3ef3da397d
@ -1,4 +1,7 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
, attrs
|
, attrs
|
||||||
, audio-metadata
|
, audio-metadata
|
||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
@ -10,7 +13,6 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-music-proto";
|
pname = "google-music-proto";
|
||||||
version = "2.10.0";
|
version = "2.10.0";
|
||||||
disabled = pythonOlder "3.6";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
@ -20,7 +22,7 @@ buildPythonPackage rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i -e "/audio-metadata/c\'audio-metadata'," -e "/marshmallow/c\'marshmallow'," setup.py
|
sed -i -e "/audio-metadata/c\'audio-metadata'," -e "/marshmallow/c\'marshmallow'," setup.py
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "pendulum>=2.0,<=3.0,!=2.0.5,!=2.1.0" "pendulum>=2.0,<=3.0"
|
--replace "'attrs>=18.2,<19.4'" "'attrs'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user