mps-youtube: 0.2.8 -> unstable-2020-01-28

Also move derivation from python-packages to all-packages,
as this is a standalone application.
This commit is contained in:
koral 2020-02-16 14:40:48 +01:00 committed by Jon
parent 40376f1724
commit d57c05acd1
3 changed files with 10 additions and 11 deletions

View File

@ -1,17 +1,16 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k { lib, python3Packages, fetchFromGitHub }:
, pafy
}:
buildPythonPackage rec { with python3Packages;
buildPythonApplication rec {
pname = "mps-youtube"; pname = "mps-youtube";
version = "0.2.8"; version = "unstable-2020-01-28";
disabled = (!isPy3k);
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mps-youtube"; owner = "mps-youtube";
repo = "mps-youtube"; repo = "mps-youtube";
rev = "v${version}"; rev = "b808697133ec2ad7654953232d1e841b20aa7cc3";
sha256 = "1w1jhw9rg3dx7vp97cwrk5fymipkcy2wrbl1jaa38ivcjhqg596y"; sha256 = "0lqprlpc0v092xqkjc0cc395ag45lijwgd34dpg2jy6i0f2szywv";
}; };
propagatedBuildInputs = [ pafy ]; propagatedBuildInputs = [ pafy ];
@ -30,6 +29,6 @@ buildPythonPackage rec {
description = "Terminal based YouTube player and downloader"; description = "Terminal based YouTube player and downloader";
homepage = "https://github.com/mps-youtube/mps-youtube"; homepage = "https://github.com/mps-youtube/mps-youtube";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ odi ]; maintainers = with maintainers; [ koral odi ];
}; };
} }

View File

@ -20448,6 +20448,8 @@ in
mpc-qt = libsForQt5.callPackage ../applications/video/mpc-qt { }; mpc-qt = libsForQt5.callPackage ../applications/video/mpc-qt { };
mps-youtube = callPackage ../applications/misc/mps-youtube { };
mplayer = callPackage ../applications/video/mplayer ({ mplayer = callPackage ../applications/video/mplayer ({
libdvdnav = libdvdnav_4_2_1; libdvdnav = libdvdnav_4_2_1;
} // (config.mplayer or {})); } // (config.mplayer or {}));

View File

@ -6493,8 +6493,6 @@ in {
maildir-deduplicate = callPackage ../development/python-modules/maildir-deduplicate { }; maildir-deduplicate = callPackage ../development/python-modules/maildir-deduplicate { };
mps-youtube = callPackage ../development/python-modules/mps-youtube { };
d2to1 = callPackage ../development/python-modules/d2to1 { }; d2to1 = callPackage ../development/python-modules/d2to1 { };
ovh = callPackage ../development/python-modules/ovh { }; ovh = callPackage ../development/python-modules/ovh { };