2014-01-28 21:45:52 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, lua5, curl, quvi_scripts, libquvi, lua5_sockets, glib, makeWrapper}:
|
2011-12-03 23:21:00 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "quvi-${version}";
|
2014-01-28 21:45:52 +01:00
|
|
|
version="0.9.4";
|
2011-12-03 23:21:00 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-01-28 21:45:52 +01:00
|
|
|
url = "mirror://sourceforge/quvi/quvi-${version}.tar.xz";
|
|
|
|
sha256 = "047rrwnnp72624z2px5nzn5wxi5fyckkddh2pj8j5xs6kdim429m";
|
2011-12-03 23:21:00 +01:00
|
|
|
};
|
|
|
|
|
2014-01-28 21:45:52 +01:00
|
|
|
buildInputs = [ pkgconfig lua5 curl quvi_scripts libquvi glib makeWrapper ];
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/quvi --set LUA_PATH "${lua5_sockets}/share/lua/${lua5.luaversion}/?.lua"
|
|
|
|
'';
|
2011-12-03 23:21:00 +01:00
|
|
|
|
2014-01-28 21:45:52 +01:00
|
|
|
meta = {
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Web video downloader";
|
2011-12-03 23:21:00 +01:00
|
|
|
homepage = http://quvi.sf.net;
|
|
|
|
license = "LGPLv2.1+";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-01-28 21:45:52 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.mornfall ];
|
2011-12-03 23:21:00 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|