From 5cd5c399153703ba50e6d9e6e04767871b400f6f Mon Sep 17 00:00:00 2001 From: Oliver Dunkl Date: Thu, 30 Jul 2015 21:16:50 +0200 Subject: [PATCH] python-packages: mps-youtube init at 0.2.5 --- pkgs/top-level/python-packages.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d2c83016dcac..ec7f1db41c99 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16821,4 +16821,27 @@ let }; }; + mps-youtube = buildPythonPackage rec { + name = "mps-youtube-${version}"; + version = "0.2.5"; + + disabled = (!isPy3k); + + src = pkgs.fetchFromGitHub { + owner = "mps-youtube"; + repo = "mps-youtube"; + rev = "7e457d2b4700387b88a3c96579e13cb76ca1f06b"; + sha256 = "1811vlhgfi4rasjfsfdl7x174s75zk3x08p2z05wfcvinflfgxly"; + }; + + propagatedBuildInputs = with self; [ pafy ]; + + meta = with stdenv.lib; { + description = "Terminal based YouTube player and downloader"; + homepage = http://github.com/np1/mps-youtube; + license = licenses.gpl3; + maintainers = with maintainers; [ odi ]; + }; + }; + }; in pythonPackages