diff options
author | 031d7e3e-4476-4fef-a076-26150f8ecc2f <83497716+031d7e3e-4476-4fef-a076-26150f8ecc2f@users.noreply.github.com> | 2021-05-01 08:05:39 -0400 |
---|---|---|
committer | Dan Eads <24708079+daneads@users.noreply.github.com> | 2021-05-02 09:38:06 -0400 |
commit | 75468c3907a7cda848f2ee48bdf5c1322a73f4b1 (patch) | |
tree | de488d59c968aba275a071b36146785d3fa0c2d3 /pkgs/applications/audio/mopidy | |
parent | 468c34be50a91340e34598730b1076b44b9f667e (diff) |
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.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/mopidy/podcast.nix | 31 |
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mopidy/default.nix b/pkgs/applications/audio/mopidy/default.nix index 0acc1545a8d0b..0deecaec7ff68 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 0000000000000..8a5c4ec2b3d63 --- /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 + ]; + }; +} |