1{
2 lib,
3 pythonPackages,
4 fetchPypi,
5 mopidy,
6}:
7
8pythonPackages.buildPythonApplication rec {
9 pname = "mopidy-podcast";
10 version = "3.0.1";
11 pyproject = true;
12
13 src = fetchPypi {
14 inherit version;
15 pname = "Mopidy-Podcast";
16 hash = "sha256-grNPVEVM2PlpYhBXe6sabFjWVB9+q+apIRjcHUxH52A=";
17 };
18
19 build-system = [
20 pythonPackages.setuptools
21 ];
22
23 dependencies = [
24 mopidy
25 pythonPackages.cachetools
26 pythonPackages.uritools
27 ];
28
29 nativeCheckInputs = [
30 pythonPackages.pytestCheckHook
31 ];
32
33 pythonImportsCheck = [ "mopidy_podcast" ];
34
35 meta = with lib; {
36 homepage = "https://github.com/tkem/mopidy-podcast";
37 description = "Mopidy extension for browsing and playing podcasts";
38 license = licenses.asl20;
39 maintainers = [
40 maintainers.daneads
41 ];
42 };
43}