Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / video / smtube / default.nix
blob0f50dc3311df67b8fd3d3bc3258f4cfbd1a9640f
1 { lib, mkDerivation, fetchurl, qmake, qtscript, qtwebkit }:
3 mkDerivation rec {
4   version = "21.10.0";
5   pname = "smtube";
7   src = fetchurl {
8     url = "mirror://sourceforge/smtube/SMTube/${version}/${pname}-${version}.tar.bz2";
9     sha256 = "sha256-ZQIUAi/YC+zsYHVhlprZ5K6NGvT6LojmdQ1Z+WCg1lU=";
10   };
12   makeFlags = [
13     "PREFIX=$(out)"
14   ];
16   dontUseQmakeConfigure = true;
18   nativeBuildInputs = [ qmake ];
19   buildInputs = [ qtscript qtwebkit ];
21   meta = with lib; {
22     description = "Play and download Youtube videos";
23     homepage = "http://smplayer.sourceforge.net/smtube.php";
24     license = licenses.gpl2Plus;
25     maintainers = with maintainers; [ vbgl ];
26     platforms = platforms.linux;
27   };