2015-01-10 13:44:57 +00:00
|
|
|
{ stdenv, fetchurl, qt4 }:
|
2014-10-11 09:41:14 +00:00
|
|
|
|
2015-01-10 13:44:57 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-05-30 14:38:09 +00:00
|
|
|
versionMajor = "15.5";
|
|
|
|
versionMinor = "17";
|
|
|
|
version = "${versionMajor}.${versionMinor}";
|
|
|
|
name = "smtube-${version}";
|
2015-05-11 05:19:24 +00:00
|
|
|
|
2014-10-11 09:41:14 +00:00
|
|
|
src = fetchurl {
|
2015-05-30 14:38:09 +00:00
|
|
|
url = "mirror://sourceforge/smtube/SMTube/${versionMajor}/${name}.tar.bz2";
|
|
|
|
sha256 = "0jbik41nb1b7381ybzblmmsl8b7ljl6a2zpn1dcg0cccjw5mnbyg";
|
2014-10-11 09:41:14 +00:00
|
|
|
};
|
|
|
|
|
2015-05-11 05:19:24 +00:00
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
];
|
2014-10-11 09:41:14 +00:00
|
|
|
|
2015-05-11 05:19:24 +00:00
|
|
|
buildInputs = [ qt4 ];
|
2014-10-11 09:41:14 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|