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