about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorJake Waksbaum <jake.waksbaum@gmail.com>2019-01-10 17:18:21 +0000
committerJake Waksbaum <jake.waksbaum@gmail.com>2019-01-18 21:15:50 +0000
commita323466604fc84c8694e87402143c7096cab4603 (patch)
treeb1eed97a1d8a8965c2d7a93f2983ea421011013b /pkgs/development/python-modules
parente9e7c08ca6b0c77a35154e16e2cf4b0bf82263fb (diff)
downloadnixlib-a323466604fc84c8694e87402143c7096cab4603.tar
nixlib-a323466604fc84c8694e87402143c7096cab4603.tar.gz
nixlib-a323466604fc84c8694e87402143c7096cab4603.tar.bz2
nixlib-a323466604fc84c8694e87402143c7096cab4603.tar.lz
nixlib-a323466604fc84c8694e87402143c7096cab4603.tar.xz
nixlib-a323466604fc84c8694e87402143c7096cab4603.tar.zst
nixlib-a323466604fc84c8694e87402143c7096cab4603.zip
pythonPackages.google-music: init at 3.0.1
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/google-music/default.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/google-music/default.nix b/pkgs/development/python-modules/google-music/default.nix
new file mode 100644
index 000000000000..b0fe0f8a2544
--- /dev/null
+++ b/pkgs/development/python-modules/google-music/default.nix
@@ -0,0 +1,39 @@
+{ lib, buildPythonPackage, fetchPypi, pythonOlder
+, appdirs
+, audio-metadata
+, google-music-proto
+, protobuf
+, requests_oauthlib
+, tenacity
+}:
+
+buildPythonPackage rec {
+  pname = "google-music";
+  version = "3.0.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "13i9nd62wqfg0f5r7ykr15q83397vdpw0js50fy5nbgs33sbf6b7";
+  };
+
+  propagatedBuildInputs = [
+    appdirs
+    audio-metadata
+    google-music-proto
+    protobuf
+    requests_oauthlib
+    tenacity
+  ];
+
+  # No tests
+  doCheck = false;
+
+  disabled = pythonOlder "3.6";
+
+  meta = with lib; {
+    homepage = https://github.com/thebigmunch/google-music;
+    description = "A Google Music API wrapper";
+    license = licenses.mit;
+    maintainers = with maintainers; [ jakewaksbaum ];
+  };
+}