Skip to content

Commit

Permalink
mps-youtube: 0.2.8 -> unstable-2020-01-28
Browse files Browse the repository at this point in the history
Also move derivation from python-packages to all-packages,
as this is a standalone application.
  • Loading branch information
k0ral authored and Jon committed Feb 20, 2020
1 parent 40376f1 commit d57c05a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
, pafy
}:
{ lib, python3Packages, fetchFromGitHub }:

buildPythonPackage rec {
with python3Packages;

buildPythonApplication rec {
pname = "mps-youtube";
version = "0.2.8";
disabled = (!isPy3k);
version = "unstable-2020-01-28";

src = fetchFromGitHub {
owner = "mps-youtube";
repo = "mps-youtube";
rev = "v${version}";
sha256 = "1w1jhw9rg3dx7vp97cwrk5fymipkcy2wrbl1jaa38ivcjhqg596y";
rev = "b808697133ec2ad7654953232d1e841b20aa7cc3";
sha256 = "0lqprlpc0v092xqkjc0cc395ag45lijwgd34dpg2jy6i0f2szywv";
};

propagatedBuildInputs = [ pafy ];
Expand All @@ -30,6 +29,6 @@ buildPythonPackage rec {
description = "Terminal based YouTube player and downloader";
homepage = "https://github.com/mps-youtube/mps-youtube";
license = licenses.gpl3;
maintainers = with maintainers; [ odi ];
maintainers = with maintainers; [ koral odi ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20448,6 +20448,8 @@ in

mpc-qt = libsForQt5.callPackage ../applications/video/mpc-qt { };

mps-youtube = callPackage ../applications/misc/mps-youtube { };

mplayer = callPackage ../applications/video/mplayer ({
libdvdnav = libdvdnav_4_2_1;
} // (config.mplayer or {}));
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6493,8 +6493,6 @@ in {

maildir-deduplicate = callPackage ../development/python-modules/maildir-deduplicate { };

mps-youtube = callPackage ../development/python-modules/mps-youtube { };

d2to1 = callPackage ../development/python-modules/d2to1 { };

ovh = callPackage ../development/python-modules/ovh { };
Expand Down

0 comments on commit d57c05a

Please sign in to comment.