2021-01-17 02:09:27 +00:00
|
|
|
{lib, stdenv, fetchurl, pkg-config, lua5, curl, quvi_scripts, libquvi, lua5_sockets, glib, makeWrapper}:
|
2011-12-03 22:21:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "quvi";
|
2014-01-28 21:08:02 +00:00
|
|
|
version="0.9.5";
|
2011-12-03 22:21:00 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-01-28 20:45:52 +00:00
|
|
|
url = "mirror://sourceforge/quvi/quvi-${version}.tar.xz";
|
2014-01-28 21:08:02 +00:00
|
|
|
sha256 = "1h52s265rp3af16dvq1xlscp2926jqap2l4ah94vrfchv6m1hffb";
|
2011-12-03 22:21:00 +00:00
|
|
|
};
|
|
|
|
|
2021-02-07 09:17:39 +00:00
|
|
|
nativeBuildInputs = [ pkg-config makeWrapper ];
|
|
|
|
buildInputs = [ lua5 curl quvi_scripts libquvi glib ];
|
2014-01-28 20:45:52 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/quvi --set LUA_PATH "${lua5_sockets}/share/lua/${lua5.luaversion}/?.lua"
|
|
|
|
'';
|
2011-12-03 22:21:00 +00:00
|
|
|
|
2014-01-28 20:45:52 +00:00
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Web video downloader";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://quvi.sf.net";
|
2021-01-15 05:42:41 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
2018-01-17 05:13:23 +00:00
|
|
|
maintainers = [ ];
|
2011-12-03 22:21:00 +00:00
|
|
|
};
|
|
|
|
}
|