2020-11-21 19:51:51 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, phonon, phonon-backend-vlc, qtbase, qmake
|
2020-04-24 23:36:52 +00:00
|
|
|
, qtdeclarative, qttools, qtx11extras, mpv
|
|
|
|
|
2021-03-12 07:09:13 +00:00
|
|
|
# "Free" key generated by pasqui23
|
|
|
|
, withAPIKey ? "AIzaSyBQvZXseEVvgu5Ega_DI-AIJ55v0OsHmVY" }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-21 19:51:51 +00:00
|
|
|
mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "minitube";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "3.9.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-ROqROQsV8ddrxYT5mMdkf6rCgCoGr1jpxQ1ohcoEaQs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = version;
|
|
|
|
repo = "minitube";
|
|
|
|
owner = "flaviotordini";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
2020-11-21 19:51:51 +00:00
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-12 07:09:13 +00:00
|
|
|
buildInputs = [ phonon phonon-backend-vlc qtbase qtdeclarative qtx11extras mpv ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-12 07:09:13 +00:00
|
|
|
qmakeFlags = [ "DEFINES+=APP_GOOGLE_API_KEY=${withAPIKey}" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-21 19:51:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Stand-alone YouTube video player";
|
|
|
|
longDescription = ''
|
|
|
|
Watch YouTube videos in a new way: you type a keyword, Minitube gives
|
|
|
|
you an endless video stream. Minitube is not about cloning the YouTube
|
|
|
|
website, it aims to create a new TV-like experience.
|
|
|
|
'';
|
|
|
|
homepage = "https://flavio.tordini.org/minitube";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|