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

24 lines
574 B
Nix
Raw Normal View History

2015-01-10 14:44:57 +01:00
{ stdenv, fetchurl, qt4 }:
2015-01-10 14:44:57 +01:00
stdenv.mkDerivation rec {
2015-01-22 09:06:05 +01:00
name = "smtube-15.1.0";
src = fetchurl {
2015-01-10 14:44:57 +01:00
url = "mirror://sourceforge/smplayer/${name}.tar.bz2";
2015-01-22 09:06:05 +01:00
sha256 = "0l87afj1fwhq8lnhv0djqdc8fy0kvs4q4jrvyiz46ifq7q10qyaf";
};
2015-01-10 14:44:57 +01:00
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;
};
}