lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 22 April 2014 01:30, Dirk Laurie <dirk.laurie@gmail.com> wrote:
>
> 2014-04-22 0:08 GMT+02:00 Sean Conner <sean@conman.org>:
>
> >   Okay, I finally got the rockspec made, it's been uploaded to Luarocks and
> > best of all, it no longer requires a C99 compiler.  An interface to IConv, a
> > character set conversion library.  Sample usage:
> >
> >         iconv = require "org.conman.iconv"
> >         trans = iconv.open("iso-8859-1","utf-8")
> >         iso   = "This is \225 test"
> >         utf   = trans(iso)
> >         print(utf)
> >         This is á test
> >
> >   License is LGPL.
> >
> >   -spc
> >
> >
>
> $ luarocks download org.conman.iconv
>
> Error: Could not find a result named org.conman.iconv.

?... It's there:

http://luarocks.org/repositories/rocks/#org.conman.iconv

] bin/luarocks search org.conman.iconv

Search results:
===============

Rockspecs and source rocks:
---------------------------

org.conman.iconv
   1.1.1-1 (rockspec) - http://www.luarocks.org/repositories/rocks
   1.1.1-1 (src) - http://www.luarocks.org/repositories/rocks
   1.1.0-1 (rockspec) - http://www.luarocks.org/repositories/rocks
   1.1.0-1 (src) - http://www.luarocks.org/repositories/rocks

-- Hisham