nixpkgs/pkgs/applications/video/smtube/default.nix
2019-08-14 14:43:11 +00:00

29 lines
703 B
Nix

{ lib, mkDerivation, fetchurl, qmake, qtscript, qtwebkit }:
mkDerivation rec {
version = "19.6.0";
name = "smtube-${version}";
src = fetchurl {
url = "mirror://sourceforge/smtube/SMTube/${version}/${name}.tar.bz2";
sha256 = "0d3hskd6ar51zq29xj899i8sii9g4cxq99gz2y1dhgsnqbn36hpm";
};
makeFlags = [
"PREFIX=$(out)"
];
dontUseQmakeConfigure = true;
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;
};
}