zed-editor: 0.172.9 -> 0.172.10 (#380188)
[NixPkgs.git] / pkgs / applications / video / smtube / default.nix
blobafb0d254bfe06192524ed4d9d565d2b312b12764
2   lib,
3   mkDerivation,
4   fetchurl,
5   qmake,
6   qtscript,
7   qtwebkit,
8 }:
10 mkDerivation rec {
11   version = "21.10.0";
12   pname = "smtube";
14   src = fetchurl {
15     url = "mirror://sourceforge/smtube/SMTube/${version}/${pname}-${version}.tar.bz2";
16     sha256 = "sha256-ZQIUAi/YC+zsYHVhlprZ5K6NGvT6LojmdQ1Z+WCg1lU=";
17   };
19   makeFlags = [
20     "PREFIX=$(out)"
21   ];
23   dontUseQmakeConfigure = true;
25   nativeBuildInputs = [ qmake ];
26   buildInputs = [
27     qtscript
28     qtwebkit
29   ];
31   meta = with lib; {
32     description = "Play and download Youtube videos";
33     homepage = "http://smplayer.sourceforge.net/smtube.php";
34     license = licenses.gpl2Plus;
35     maintainers = with maintainers; [ vbgl ];
36     platforms = platforms.linux;
37   };