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

28 lines
687 B
Nix
Raw Normal View History

2016-04-28 14:38:16 -07:00
{ stdenv, fetchurl, qmakeHook, qtscript, qtwebkit }:
2015-01-10 05:44:57 -08:00
stdenv.mkDerivation rec {
2017-01-14 05:09:20 -08:00
version = "16.7.2";
2015-05-30 07:38:09 -07:00
name = "smtube-${version}";
2015-05-10 22:19:24 -07:00
src = fetchurl {
2015-08-23 05:03:33 -07:00
url = "mirror://sourceforge/smtube/SMTube/${version}/${name}.tar.bz2";
2017-01-14 05:09:20 -08:00
sha256 = "0k64hc6grn4nlp739b0w5fznh0k9xx9qdwx6s7w3fb5m5pfkdrmm";
};
2015-05-10 22:19:24 -07:00
makeFlags = [
"PREFIX=$(out)"
];
2016-04-28 14:38:16 -07:00
dontUseQmakeConfigure = true;
buildInputs = [ qmakeHook qtscript qtwebkit ];
meta = with stdenv.lib; {
description = "Play and download Youtube videos";
homepage = http://smplayer.sourceforge.net/smtube.php;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ vbgl ];
platforms = platforms.linux;
};
}