2017-06-02 17:40:19 +02:00
|
|
|
{ stdenv, fetchurl, qmake, qtscript, qtwebkit }:
|
2014-10-11 11:41:14 +02:00
|
|
|
|
2015-01-10 14:44:57 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-09-29 20:44:15 +02:00
|
|
|
version = "18.9.0";
|
2015-05-30 16:38:09 +02:00
|
|
|
name = "smtube-${version}";
|
2015-05-11 07:19:24 +02:00
|
|
|
|
2014-10-11 11:41:14 +02:00
|
|
|
src = fetchurl {
|
2015-08-23 14:03:33 +02:00
|
|
|
url = "mirror://sourceforge/smtube/SMTube/${version}/${name}.tar.bz2";
|
2018-09-29 20:44:15 +02:00
|
|
|
sha256 = "1211vqgmbrqr8mcsyawirmqkzq05g1xwigx6lswnyxd88x37w6fg";
|
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
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Play and download Youtube videos";
|
|
|
|
homepage = http://smplayer.sourceforge.net/smtube.php;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|