about summary refs log tree commit diff
path: root/pkgs/applications/audio/mopidy/soundcloud.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/mopidy/soundcloud.nix')
-rw-r--r--pkgs/applications/audio/mopidy/soundcloud.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mopidy/soundcloud.nix b/pkgs/applications/audio/mopidy/soundcloud.nix
new file mode 100644
index 000000000000..098812961649
--- /dev/null
+++ b/pkgs/applications/audio/mopidy/soundcloud.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub, pythonPackages, mopidy }:
+
+pythonPackages.buildPythonApplication rec {
+  name = "mopidy-soundcloud-${version}";
+
+  version = "2.0.2";
+
+  src = fetchFromGitHub {
+    owner = "mopidy";
+    repo = "mopidy-soundcloud";
+    rev = "v${version}";
+    sha256 = "13n44975n1wwcf7qg1c7drc2bavhjnr9hnq1v0n5hdgyx8ji67gi";
+  };
+
+  propagatedBuildInputs = [ mopidy ];
+
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    description = "Mopidy extension for playing music from SoundCloud";
+    license = licenses.mit;
+    maintainers = [ maintainers.spwhitt ];
+  };
+}