summary refs log tree commit diff
path: root/pkgs/applications/audio/mopidy
diff options
context:
space:
mode:
author031d7e3e-4476-4fef-a076-26150f8ecc2f <83497716+031d7e3e-4476-4fef-a076-26150f8ecc2f@users.noreply.github.com>2021-05-01 08:05:39 -0400
committerDan Eads <24708079+daneads@users.noreply.github.com>2021-05-02 09:38:06 -0400
commit75468c3907a7cda848f2ee48bdf5c1322a73f4b1 (patch)
treede488d59c968aba275a071b36146785d3fa0c2d3 /pkgs/applications/audio/mopidy
parent468c34be50a91340e34598730b1076b44b9f667e (diff)
downloadnixpkgs-75468c3907a7cda848f2ee48bdf5c1322a73f4b1.tar
nixpkgs-75468c3907a7cda848f2ee48bdf5c1322a73f4b1.tar.gz
nixpkgs-75468c3907a7cda848f2ee48bdf5c1322a73f4b1.tar.bz2
nixpkgs-75468c3907a7cda848f2ee48bdf5c1322a73f4b1.tar.lz
nixpkgs-75468c3907a7cda848f2ee48bdf5c1322a73f4b1.tar.xz
nixpkgs-75468c3907a7cda848f2ee48bdf5c1322a73f4b1.tar.zst
nixpkgs-75468c3907a7cda848f2ee48bdf5c1322a73f4b1.zip
mopidy-podcast: init at 3.0.0
Mopidy extension for browsing and playing podcasts

Update maintainer + add py3 tests
Diffstat (limited to 'pkgs/applications/audio/mopidy')
-rw-r--r--pkgs/applications/audio/mopidy/default.nix2
-rw-r--r--pkgs/applications/audio/mopidy/podcast.nix31
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mopidy/default.nix b/pkgs/applications/audio/mopidy/default.nix
index 0acc1545a8d..0deecaec7ff 100644
--- a/pkgs/applications/audio/mopidy/default.nix
+++ b/pkgs/applications/audio/mopidy/default.nix
@@ -21,6 +21,8 @@ lib.makeScope newScope (self: with self; {
 
   mopidy-musicbox-webclient = callPackage ./musicbox-webclient.nix { };
 
+  mopidy-podcast = callPackage ./podcast.nix { };
+
   mopidy-scrobbler = callPackage ./scrobbler.nix { };
 
   mopidy-somafm = callPackage ./somafm.nix { };
diff --git a/pkgs/applications/audio/mopidy/podcast.nix b/pkgs/applications/audio/mopidy/podcast.nix
new file mode 100644
index 00000000000..8a5c4ec2b3d
--- /dev/null
+++ b/pkgs/applications/audio/mopidy/podcast.nix
@@ -0,0 +1,31 @@
+{ lib, python3Packages, mopidy }:
+
+python3Packages.buildPythonApplication rec {
+  pname = "mopidy-podcast";
+  version = "3.0.0";
+
+  src = python3Packages.fetchPypi {
+    inherit version;
+    pname = "Mopidy-Podcast";
+    sha256 = "1z2b523yvdpcf8p7m7kczrvaw045lmxzhq4qj00dflxa2yw61qxr";
+  };
+
+  propagatedBuildInputs = [
+    mopidy
+    python3Packages.cachetools
+    python3Packages.uritools
+  ];
+
+  checkInputs = with python3Packages; [
+    pytestCheckHook
+  ];
+
+  meta = with lib; {
+    homepage = "https://github.com/tkem/mopidy-podcast";
+    description = "Mopidy extension for browsing and playing podcasts";
+    license = licenses.asl20;
+    maintainers = [
+      maintainers.daneads
+    ];
+  };
+}