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