diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-graphics.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/golang-graphics.scm b/gnu/packages/golang-graphics.scm index d48c4e85059..d7e1361ffbf 100644 --- a/gnu/packages/golang-graphics.scm +++ b/gnu/packages/golang-graphics.scm | |||
| @@ -379,6 +379,41 @@ additional error is returned in the Go binding.") | |||
| 379 | @code{.icns}.") | 379 | @code{.icns}.") |
| 380 | (license license:expat))) | 380 | (license license:expat))) |
| 381 | 381 | ||
| 382 | (define-public go-github-com-makeworld-the-better-one-dither-v2 | ||
| 383 | (package | ||
| 384 | (name "go-github-com-makeworld-the-better-one-dither-v2") | ||
| 385 | (version "2.4.0") | ||
| 386 | (source | ||
| 387 | (origin | ||
| 388 | (method git-fetch) | ||
| 389 | (uri (git-reference | ||
| 390 | (url "https://github.com/makew0rld/dither") | ||
| 391 | (commit (string-append "v" version)))) | ||
| 392 | (file-name (git-file-name name version)) | ||
| 393 | (sha256 | ||
| 394 | (base32 "0y1q1lnzsyfzksiwyc2xjbmaj9r3rmfqhgq681rz33inyssvn0nf")))) | ||
| 395 | (build-system go-build-system) | ||
| 396 | (arguments | ||
| 397 | (list | ||
| 398 | #:import-path "github.com/makeworld-the-better-one/dither/v2" | ||
| 399 | #:phases | ||
| 400 | #~(modify-phases %standard-phases | ||
| 401 | (add-after 'unpack 'remove-examples | ||
| 402 | (lambda* (#:key import-path #:allow-other-keys) | ||
| 403 | (delete-file-recursively | ||
| 404 | (string-append "src/" import-path "/examples"))))))) | ||
| 405 | (native-inputs | ||
| 406 | (list go-github-com-stretchr-testify)) | ||
| 407 | (home-page "https://github.com/makew0rld/dither") | ||
| 408 | (synopsis "Dithering library for Go") | ||
| 409 | (description | ||
| 410 | "Dither is a library for dithering images in Go. It has many dithering | ||
| 411 | algorithms built-in, and allows you to specify your own. Correctness is a top | ||
| 412 | priority, as well as performance. It is designed to work well on its own, but | ||
| 413 | also implements interfaces from the standard library, so that it can be | ||
| 414 | integrated easily in a wide variety of situtations.") | ||
| 415 | (license license:mpl2.0))) | ||
| 416 | |||
| 382 | (define-public go-github-com-sergeymakinen-go-bmp | 417 | (define-public go-github-com-sergeymakinen-go-bmp |
| 383 | (package | 418 | (package |
| 384 | (name "go-github-com-sergeymakinen-go-bmp") | 419 | (name "go-github-com-sergeymakinen-go-bmp") |
