diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-04-17 13:49:19 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-04-17 13:50:49 -0500 |
commit | 52893d527638be9ddeb3669796856508afff252e (patch) | |
tree | a70f8e35b1f84ec88dba31529107a2845cd3304e /pkgs/applications/audio/mopidy/youtube.nix | |
parent | 6c182dd14dea6a68dd80e780c763b76dfceae0a2 (diff) | |
download | nixlib-52893d527638be9ddeb3669796856508afff252e.tar nixlib-52893d527638be9ddeb3669796856508afff252e.tar.gz nixlib-52893d527638be9ddeb3669796856508afff252e.tar.bz2 nixlib-52893d527638be9ddeb3669796856508afff252e.tar.lz nixlib-52893d527638be9ddeb3669796856508afff252e.tar.xz nixlib-52893d527638be9ddeb3669796856508afff252e.tar.zst nixlib-52893d527638be9ddeb3669796856508afff252e.zip |
treewide: move "extensions" drvs to dir
This cleans up the tree for pkgs/applications somewhat. Should not change any hashes.
Diffstat (limited to 'pkgs/applications/audio/mopidy/youtube.nix')
-rw-r--r-- | pkgs/applications/audio/mopidy/youtube.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mopidy/youtube.nix b/pkgs/applications/audio/mopidy/youtube.nix new file mode 100644 index 000000000000..d3eb8539a19c --- /dev/null +++ b/pkgs/applications/audio/mopidy/youtube.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchFromGitHub, pythonPackages, mopidy }: + +pythonPackages.buildPythonApplication rec { + name = "mopidy-youtube-${version}"; + + version = "2.0.2"; + + src = fetchFromGitHub { + owner = "mopidy"; + repo = "mopidy-youtube"; + rev = "v${version}"; + sha256 = "06r3ikyg2ch5n7fbn3sgj04hk6icpfpk1r856qch41995k3bbfg7"; + }; + + propagatedBuildInputs = with pythonPackages; [ mopidy pafy ]; + + doCheck = false; + + meta = with stdenv.lib; { + description = "Mopidy extension for playing music from YouTube"; + license = licenses.asl20; + maintainers = [ maintainers.spwhitt ]; + }; +} |