minitube: 3.2 -> 3.6
rewrite without useless wrapQtAppsHook and stdenv
This commit is contained in:
parent
6d2cd35864
commit
b6602c1d68
|
@ -1,30 +1,30 @@
|
||||||
{ stdenv, fetchFromGitHub, wrapQtAppsHook, phonon, phonon-backend-vlc, qtbase, qmake
|
{ mkDerivation, lib, fetchFromGitHub, phonon, phonon-backend-vlc, qtbase, qmake
|
||||||
, qtdeclarative, qttools, qtx11extras, mpv
|
, qtdeclarative, qttools, qtx11extras, mpv
|
||||||
|
|
||||||
# "Free" key generated by nckx <github@tobias.gr>. I no longer have a Google
|
# "Free" key generated by nckx <github@tobias.gr>. I no longer have a Google
|
||||||
# account. You'll need to generate (and please share :-) a new one if it breaks.
|
# account. You'll need to generate (and please share :-) a new one if it breaks.
|
||||||
, withAPIKey ? "AIzaSyBtFgbln3bu1swQC-naMxMtKh384D3xJZE" }:
|
, withAPIKey ? "AIzaSyBtFgbln3bu1swQC-naMxMtKh384D3xJZE" }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "minitube";
|
pname = "minitube";
|
||||||
version = "3.2";
|
version = "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
sha256 = "0175sgqmszakqd631bni4aqjpx68h6n49zjvg23fb1yyancnkn4c";
|
sha256 = "6IaBPYL/yGWKUHxPe1FnAR1gDHImXYGItYWq7VNjwEU=";
|
||||||
rev = version;
|
rev = version;
|
||||||
repo = "minitube";
|
repo = "minitube";
|
||||||
owner = "flaviotordini";
|
owner = "flaviotordini";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ phonon phonon-backend-vlc qtbase qtdeclarative qttools qtx11extras mpv ];
|
buildInputs = [ phonon phonon-backend-vlc qtbase qtdeclarative qtx11extras mpv ];
|
||||||
nativeBuildInputs = [ wrapQtAppsHook qmake ];
|
nativeBuildInputs = [ qmake qttools ];
|
||||||
|
|
||||||
qmakeFlags = [ "DEFINES+=APP_GOOGLE_API_KEY=${withAPIKey}" ];
|
qmakeFlags = [ "DEFINES+=APP_GOOGLE_API_KEY=${withAPIKey}" ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = "Stand-alone YouTube video player";
|
description = "Stand-alone YouTube video player";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Watch YouTube videos in a new way: you type a keyword, Minitube gives
|
Watch YouTube videos in a new way: you type a keyword, Minitube gives
|
||||||
|
|
|
@ -22354,7 +22354,7 @@ in
|
||||||
|
|
||||||
minishift = callPackage ../applications/networking/cluster/minishift { };
|
minishift = callPackage ../applications/networking/cluster/minishift { };
|
||||||
|
|
||||||
minitube = libsForQt514.callPackage ../applications/video/minitube { };
|
minitube = libsForQt5.callPackage ../applications/video/minitube { };
|
||||||
|
|
||||||
mimic = callPackage ../applications/audio/mimic { };
|
mimic = callPackage ../applications/audio/mimic { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue