pythonPackages.google-music-proto: drop
This commit is contained in:
parent
01f13677b9
commit
396f04a75f
|
@ -1,48 +0,0 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, attrs
|
||||
, audio-metadata
|
||||
, importlib-metadata
|
||||
, marshmallow
|
||||
, pendulum
|
||||
, protobuf
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-music-proto";
|
||||
version = "2.10.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "91b78c0de4f59b1e5503fd6d49cb3fec029d9199cca0794c87667e643342e987";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e "/audio-metadata/c\'audio-metadata'," -e "/marshmallow/c\'marshmallow'," setup.py
|
||||
substituteInPlace setup.py \
|
||||
--replace "'attrs>=18.2,<19.4'" "'attrs'"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
audio-metadata
|
||||
marshmallow
|
||||
pendulum
|
||||
protobuf
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "google_music_proto" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/thebigmunch/google-music-proto";
|
||||
description = "Sans-I/O wrapper of Google Music API calls";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jakewaksbaum ];
|
||||
};
|
||||
}
|
|
@ -2776,8 +2776,6 @@ in {
|
|||
|
||||
googlemaps = callPackage ../development/python-modules/googlemaps { };
|
||||
|
||||
google-music-proto = callPackage ../development/python-modules/google-music-proto { };
|
||||
|
||||
google-music-utils = callPackage ../development/python-modules/google-music-utils { };
|
||||
|
||||
google-pasta = callPackage ../development/python-modules/google-pasta { };
|
||||
|
|
Loading…
Reference in New Issue