mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 18:40:57 +02:00
gnu: Add go-github-com-chai2010-webp.
It was proposed in #62284 on <2023-03-20>. * gnu/packages/golang-xyz.scm (go-github-com-chai2010-webp): New variable. Co-authored-by: conses <contact@conses.eu> Co-authored-by: Miguel Ángel Moreno <mail@migalmoreno.com> Change-Id: I527296ef658262f3abcf5703c5330e9bb0ccab9e
This commit is contained in:
parent
ef03ca5a00
commit
98dbc22265
1 changed files with 44 additions and 1 deletions
|
@ -39,23 +39,25 @@
|
|||
;;; Copyright © 2023 Fries <fries1234@protonmail.com>
|
||||
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
|
||||
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
|
||||
;;; Copyright © 2023 Miguel Ángel Moreno <mail@migalmoreno.com>
|
||||
;;; Copyright © 2023 Nguyễn Gia Phong <mcsinyx@disroot.org>
|
||||
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
|
||||
;;; Copyright © 2023 Sergey Trofimov <sarg@sarg.org.ru>
|
||||
;;; Copyright © 2023 Thomas Ieong <th.ieong@free.fr>
|
||||
;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
|
||||
;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
|
||||
;;; Copyright © 2023 conses <contact@conses.eu>
|
||||
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
||||
;;; Copyright © 2024 Brian Kubisiak <brian@kubisiak.com>
|
||||
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
|
||||
;;; Copyright © 2024 Jean Simard <woshilapin@tuziwo.info>
|
||||
;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email>
|
||||
;;; Copyright © 2024 Luis Higino <luishenriquegh2701@gmail.com>
|
||||
;;; Copyright © 2024 Roman Scherer <roman@burningswell.com>
|
||||
;;; Copyright © 2024 Simen Endsjø <contact@simendsjo.me>
|
||||
;;; Copyright © 2024 Spencer Peters <spencerpeters@protonmail.com>
|
||||
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
|
||||
;;; Copyright © 2024 gemmaro <gemmaro.dev@gmail.com>
|
||||
;;; Copyright © 2024 Roman Scherer <roman@burningswell.com>
|
||||
;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
|
||||
;;; Copyright © 2025 Jussi Timperi <jussi.timperi@iki.fi>
|
||||
;;; Copyright © 2025 45mg <45mg.writes@gmail.com>
|
||||
|
@ -2551,6 +2553,47 @@ encoding in Go.")
|
|||
over strings.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-chai2010-webp
|
||||
(package
|
||||
(name "go-github-com-chai2010-webp")
|
||||
(version "1.1.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/chai2010/webp")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1103iah700q9id04hz37nxbpb25qz13g1ia2r6gdffc3vh2w3riv"))
|
||||
(modules '((guix build utils)))
|
||||
;; FIXME: The project indludes a copy of libwebp
|
||||
;; (internal/libwebp-1.5.0) which is availalbe in Guix, find out how to
|
||||
;; build it with it's source.
|
||||
(snippet
|
||||
#~(begin
|
||||
;; Remove files which were auto generated by 'go generate'.
|
||||
(for-each delete-file
|
||||
(find-files "." "^z_libwebp_src_.*\\.c$"))))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/chai2010/webp"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'go-generate
|
||||
(lambda* (#:key import-path #:allow-other-keys)
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(invoke "go" "generate")))))))
|
||||
(propagated-inputs
|
||||
(list go-golang-org-x-image))
|
||||
(home-page "https://github.com/chai2010/webp")
|
||||
(synopsis "WebP decoder and encoder for Golang")
|
||||
(description
|
||||
"Package webp implements a decoder and encoder for
|
||||
@code{https://en.wikipedia.org/wiki/WebP, WebP} images.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public go-github-com-charlievieth-fastwalk
|
||||
(package
|
||||
(name "go-github-com-charlievieth-fastwalk")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue