2019-08-07 18:42:40 +02:00
|
|
|
{ lib, mkDerivation, fetchurl, qmake, qtscript, qtwebkit }:
|
2014-10-11 11:41:14 +02:00
|
|
|
|
2019-08-07 18:42:40 +02:00
|
|
|
mkDerivation rec {
|
2020-01-30 14:20:52 +01:00
|
|
|
version = "20.1.0";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "smtube";
|
2015-05-11 07:19:24 +02:00
|
|
|
|
2014-10-11 11:41:14 +02:00
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/smtube/SMTube/${version}/${pname}-${version}.tar.bz2";
|
2020-01-30 14:20:52 +01:00
|
|
|
sha256 = "00x7gyk06d01hrr1lcqbrffbkkpj2j0j1fy9mkxc7slbzqcl27dz";
|
2014-10-11 11:41:14 +02:00
|
|
|
};
|
|
|
|
|
2015-05-11 07:19:24 +02:00
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
];
|
2014-10-11 11:41:14 +02:00
|
|
|
|
2016-04-28 23:38:16 +02:00
|
|
|
dontUseQmakeConfigure = true;
|
|
|
|
|
2017-06-02 17:40:19 +02:00
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
buildInputs = [ qtscript qtwebkit ];
|
2014-10-11 11:41:14 +02:00
|
|
|
|
2019-08-07 18:42:40 +02:00
|
|
|
meta = with lib; {
|
2014-10-11 11:41:14 +02:00
|
|
|
description = "Play and download Youtube videos";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://smplayer.sourceforge.net/smtube.php";
|
2014-10-11 11:41:14 +02:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|