about summary refs log tree commit diff
path: root/pkgs/applications/audio/mopidy/iris.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/mopidy/iris.nix')
-rw-r--r--pkgs/applications/audio/mopidy/iris.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mopidy/iris.nix b/pkgs/applications/audio/mopidy/iris.nix
new file mode 100644
index 000000000000..f3a9b73aabe5
--- /dev/null
+++ b/pkgs/applications/audio/mopidy/iris.nix
@@ -0,0 +1,34 @@
+{ stdenv, pythonPackages, mopidy, mopidy-local-images }:
+
+pythonPackages.buildPythonApplication rec {
+  pname = "Mopidy-Iris";
+  version = "3.17.1";
+
+  src = pythonPackages.fetchPypi {
+    inherit pname version;
+    sha256 = "02k1br077v9c5x6nn0391vh28pvn1zjbkjv8h508vy7k6ch2xjyq";
+  };
+
+  propagatedBuildInputs = [
+    mopidy
+    mopidy-local-images
+  ] ++ (with pythonPackages; [
+    configobj
+    pylast
+    spotipy
+    raven
+    tornado
+  ]);
+
+  postPatch = "sed -i /tornado/d setup.py";
+
+  # no tests implemented
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/jaedb/Iris;
+    description = "A fully-functional Mopidy web client encompassing Spotify and many other backends";
+    license = licenses.asl20;
+    maintainers = [ maintainers.rvolosatovs ];
+  };
+}