nixpkgs/pkgs/applications/video/smtube/default.nix

29 lines
707 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchurl, qmake, qtscript, qtwebkit }:
mkDerivation rec {
2020-07-07 17:49:06 +01:00
version = "20.6.0";
pname = "smtube";
2015-05-11 06:19:24 +01:00
src = fetchurl {
url = "mirror://sourceforge/smtube/SMTube/${version}/${pname}-${version}.tar.bz2";
2020-07-07 17:49:06 +01:00
sha256 = "0hnza5gszwqnkc1py5g34hi4p976vpkc4h3ab0247ynqs83fpwc2";
};
2015-05-11 06:19:24 +01:00
makeFlags = [
"PREFIX=$(out)"
];
2016-04-28 22:38:16 +01:00
dontUseQmakeConfigure = true;
2017-06-02 16:40:19 +01:00
nativeBuildInputs = [ qmake ];
buildInputs = [ qtscript qtwebkit ];
meta = with lib; {
description = "Play and download Youtube videos";
homepage = "http://smplayer.sourceforge.net/smtube.php";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ vbgl ];
platforms = platforms.linux;
};
}