about summary refs log tree commit diff
path: root/pkgs/applications/video/smtube/default.nix
blob: d648b5866e04b5e131c9409f1f9701bc63ae8795 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{stdenv, fetchurl, qt4}:

stdenv.mkDerivation {
  name = "smtube-14.8.0";
  src = fetchurl {
    url = mirror://sourceforge/smplayer/smtube-14.8.0.tar.bz2;
    sha256 = "0h0kw4dvdj9sbxp0p6bdib9y8i7854f45lsmrdkykzk6rmgrf1cw";
  };

  buildInputs = [qt4];

  preConfigure = ''
    makeFlags="PREFIX=$out"
  '';

  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;
  };
}