diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2020-08-13 04:18:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-13 04:18:46 +0200 |
commit | 631e604bab08e490830f9b9256856719bb45013f (patch) | |
tree | 2ec45acdbe69118b501661fece219a63d1c6444e /pkgs | |
parent | 4cba5d3a5123338c2ef89e66908c350f6837f30d (diff) | |
parent | e89ba5ac5613fbcae5e709e2ba30c0a1f64ae300 (diff) |
Merge pull request #94478 from mweinelt/mopidy-tunein
mopidy-tunein: init at 1.0.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/audio/mopidy/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/mopidy/tunein.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 1 |
3 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mopidy/default.nix b/pkgs/applications/audio/mopidy/default.nix index 6c2a7d9fe3344..23322ca5663e4 100644 --- a/pkgs/applications/audio/mopidy/default.nix +++ b/pkgs/applications/audio/mopidy/default.nix @@ -40,6 +40,8 @@ let mopidy-iris = callPackage ./iris.nix { }; + mopidy-tunein = callPackage ./tunein.nix { }; + }; in self diff --git a/pkgs/applications/audio/mopidy/tunein.nix b/pkgs/applications/audio/mopidy/tunein.nix new file mode 100644 index 0000000000000..569d08fb4a033 --- /dev/null +++ b/pkgs/applications/audio/mopidy/tunein.nix @@ -0,0 +1,28 @@ +{ stdenv, python3Packages, mopidy }: + +python3Packages.buildPythonApplication rec { + pname = "mopidy-tunein"; + version = "1.0.0"; + + src = python3Packages.fetchPypi { + inherit version; + pname = "Mopidy-TuneIn"; + sha256 = "0insasf4w8ajsqjh5zmax7pkzmrk1p245vh4y8ddicldj45p6qfj"; + }; + + propagatedBuildInputs = [ + mopidy + ]; + + # tests fail with "ValueError: Namespace Gst not available" in mopidy itself + doCheck = false; + + pythonImportsCheck = [ "mopidy_tunein.tunein" ]; + + meta = with stdenv.lib; { + description = "Mopidy extension for playing music from tunein."; + homepage = "https://github.com/kingosticks/mopidy-tunein"; + license = licenses.asl20; + maintainers = with maintainers; [ hexa ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 878615936ce57..d7b35bf2b8434 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21462,6 +21462,7 @@ in mopidy-soundcloud mopidy-spotify mopidy-spotify-tunigo + mopidy-tunein mopidy-youtube; motif = callPackage ../development/libraries/motif { }; |