[pkg-go] Bug#902000: ITP: golang-github-wellington-go-libsass -- Go wrapper for libsass, the only Sass 3.5 compiler for Go
Anthony Fok
foka at debian.org
Thu Jun 21 09:41:13 BST 2018
Package: wnpp
Severity: wishlist
Owner: Anthony Fok <foka at debian.org>
* 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
More information about the Pkg-go-maintainers
mailing list