2019-08-07 17:42:40 +01:00
|
|
|
{ lib, mkDerivation, fetchurl, qmake, qtscript, qtwebkit }:
|
2014-10-11 10:41:14 +01:00
|
|
|
|
2019-08-07 17:42:40 +01:00
|
|
|
mkDerivation rec {
|
2019-07-03 00:56:41 +01:00
|
|
|
version = "19.6.0";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "smtube";
|
2015-05-11 06:19:24 +01:00
|
|
|
|
2014-10-11 10:41:14 +01:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://sourceforge/smtube/SMTube/${version}/${pname}-${version}.tar.bz2";
|
2019-07-03 00:56:41 +01:00
|
|
|
sha256 = "0d3hskd6ar51zq29xj899i8sii9g4cxq99gz2y1dhgsnqbn36hpm";
|
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;
|
|
|
|
|
2017-06-02 16:40:19 +01:00
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
buildInputs = [ qtscript qtwebkit ];
|
2014-10-11 10:41:14 +01:00
|
|
|
|
2019-08-07 17:42:40 +01:00
|
|
|
meta = with lib; {
|
2014-10-11 10:41:14 +01:00
|
|
|
description = "Play and download Youtube videos";
|
|
|
|
homepage = http://smplayer.sourceforge.net/smtube.php;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|