Web lists-archives.com

Bug#902000: ITP: golang-github-wellington-go-libsass -- Go wrapper for libsass, the only Sass 3.5 compiler for Go




Package: wnpp
Severity: wishlist
Owner: Anthony Fok <foka@xxxxxxxxxx>

* Package name    : golang-github-wellington-go-libsass
  Version         : 0.9.2+git20180616.2e55e60-1
  Upstream Author : Drew Wells
* URL             : https://github.com/wellington/go-libsass
* License         : Apache-2.0
  Programming Lang: Go
  Description     : Go wrapper for libsass, the only Sass 3.5 compiler for Go

 The only Sass compliant Go library!  go-libsass is a wrapper to the
 sass/libsass (http://github.com/sass/libsass) project.
 .
 Basic example:
 .
     buf := bytes.NewBufferString("div { p { color: red; } }")
     if err != nil {
         log.Fatal(err)
     } comp, err := libsass.New(os.Stdout, buf) if err != nil {
         log.Fatal(err)
     }
 .
     if err := comp.Run(); err != nil {
         log.Fatal(err)
     }
 .
 Output:
 .
     div p {
       color: red; }


Reason for packaging:
 Needed by the upcoming Hugo 0.43 release, see
  * https://github.com/gohugoio/hugo/issues/4243
  * https://github.com/wellington/go-libsass/issues/62