2017-06-02 08:40:19 -07:00
|
|
|
{ stdenv, fetchurl, qmake, qtscript, qtwebkit }:
|
2014-10-11 02:41:14 -07:00
|
|
|
|
2015-01-10 05:44:57 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2017-05-31 23:42:21 -07:00
|
|
|
version = "17.5.0";
|
2015-05-30 07:38:09 -07:00
|
|
|
name = "smtube-${version}";
|
2015-05-10 22:19:24 -07:00
|
|
|
|
2014-10-11 02:41:14 -07:00
|
|
|
src = fetchurl {
|
2015-08-23 05:03:33 -07:00
|
|
|
url = "mirror://sourceforge/smtube/SMTube/${version}/${name}.tar.bz2";
|
2017-05-31 23:42:21 -07:00
|
|
|
sha256 = "13m0ll18n1da8i4r4b7gn0jjz9dgrkkyk9mpfas4rgnjw92m5jld";
|
2014-10-11 02:41:14 -07:00
|
|
|
};
|
|
|
|
|
2015-05-10 22:19:24 -07:00
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
];
|
2014-10-11 02:41:14 -07:00
|
|
|
|
2016-04-28 14:38:16 -07:00
|
|
|
dontUseQmakeConfigure = true;
|
|
|
|
|
2017-06-02 08:40:19 -07:00
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
buildInputs = [ qtscript qtwebkit ];
|
2014-10-11 02:41:14 -07: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;
|
|
|
|
};
|
|
|
|
}
|