2019-08-07 16:42:40 +00:00
|
|
|
{ lib, mkDerivation, fetchurl, qmake, qtscript, qtwebkit }:
|
2014-10-11 09:41:14 +00:00
|
|
|
|
2019-08-07 16:42:40 +00:00
|
|
|
mkDerivation rec {
|
2022-01-02 15:40:22 +00:00
|
|
|
version = "21.10.0";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "smtube";
|
2015-05-11 05:19:24 +00:00
|
|
|
|
2014-10-11 09:41:14 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/smtube/SMTube/${version}/${pname}-${version}.tar.bz2";
|
2022-01-02 15:40:22 +00:00
|
|
|
sha256 = "sha256-ZQIUAi/YC+zsYHVhlprZ5K6NGvT6LojmdQ1Z+WCg1lU=";
|
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
|
|
|
|
2019-08-07 16:42:40 +00:00
|
|
|
meta = with lib; {
|
2014-10-11 09:41:14 +00:00
|
|
|
description = "Play and download Youtube videos";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://smplayer.sourceforge.net/smtube.php";
|
2014-10-11 09:41:14 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|