summary refs log tree commit diff
path: root/pkgs/applications/audio/mopidy/somafm.nix
diff options
context:
space:
mode:
authorNick Hu <me@nickhu.co.uk>2020-01-24 09:27:17 +0000
committerNick Hu <me@nickhu.co.uk>2020-05-19 17:27:20 +0100
commit17f31102d75e9dc26c732d55e9789e88af81506d (patch)
treeb1067396134d537eb0f77d629ab54d96b7608d82 /pkgs/applications/audio/mopidy/somafm.nix
parent3967a244fca9e587b32528dded5faeabe3e3f5bf (diff)
downloadnixpkgs-17f31102d75e9dc26c732d55e9789e88af81506d.tar
nixpkgs-17f31102d75e9dc26c732d55e9789e88af81506d.tar.gz
nixpkgs-17f31102d75e9dc26c732d55e9789e88af81506d.tar.bz2
nixpkgs-17f31102d75e9dc26c732d55e9789e88af81506d.tar.lz
nixpkgs-17f31102d75e9dc26c732d55e9789e88af81506d.tar.xz
nixpkgs-17f31102d75e9dc26c732d55e9789e88af81506d.tar.zst
nixpkgs-17f31102d75e9dc26c732d55e9789e88af81506d.zip
mopidy-somafm: init at 2.0.0
Diffstat (limited to 'pkgs/applications/audio/mopidy/somafm.nix')
-rw-r--r--pkgs/applications/audio/mopidy/somafm.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mopidy/somafm.nix b/pkgs/applications/audio/mopidy/somafm.nix
new file mode 100644
index 00000000000..2e3380fa20f
--- /dev/null
+++ b/pkgs/applications/audio/mopidy/somafm.nix
@@ -0,0 +1,26 @@
+{ stdenv, python3Packages, mopidy }:
+
+python3Packages.buildPythonApplication rec {
+  pname = "mopidy-somafm";
+  version = "2.0.0";
+
+  src = python3Packages.fetchPypi {
+    inherit version;
+    pname = "Mopidy-SomaFM";
+    sha256 = "1j88rrliys8hqvnb35k1xqw88bvrllcb4rb53lgh82byhscsxlf3";
+  };
+
+  propagatedBuildInputs = [
+    mopidy
+  ];
+
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    homepage = https://www.mopidy.com/;
+    description = "Mopidy extension for playing music from SomaFM";
+    license = licenses.mit;
+    maintainers = [ maintainers.nickhu ];
+  };
+}
+