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

29 lines
705 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchurl, qmake, qtscript, qtwebkit }:
mkDerivation rec {
version = "19.6.0";
pname = "smtube";
2015-05-11 05:19:24 +00:00
src = fetchurl {
url = "mirror://sourceforge/smtube/SMTube/${version}/${pname}-${version}.tar.bz2";
sha256 = "0d3hskd6ar51zq29xj899i8sii9g4cxq99gz2y1dhgsnqbn36hpm";
};
2015-05-11 05:19:24 +00:00
makeFlags = [
"PREFIX=$(out)"
];
2016-04-28 21:38:16 +00:00
dontUseQmakeConfigure = true;
2017-06-02 15:40:19 +00: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;
};
}