gnu: Qart: Consolidate packages.

* gnu/packages/syncthing.scm (go-github-com-vitrun-qart): New variable.
(go-github-com-vitrun-qart-qr, go-github-com-vitrun-qart-coding,
go-github-com-vitrun-qart-gf256): Remove variables.
(syncthing)[inputs]: Adjust accordingly.
This commit is contained in:
Leo Famulari 2019-08-20 15:24:53 -04:00
parent 35defe6130
commit 9a0c4b630c
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -85,9 +85,7 @@ (define-public syncthing
("go-github-com-audriusbutkevicius-recli" ("go-github-com-audriusbutkevicius-recli"
,go-github-com-audriusbutkevicius-recli) ,go-github-com-audriusbutkevicius-recli)
("go-github-com-urfave-cli" ,go-github-com-urfave-cli) ("go-github-com-urfave-cli" ,go-github-com-urfave-cli)
("go-github-com-vitrun-qart-qr" ,go-github-com-vitrun-qart-qr) ("go-github-com-vitrun-qart" ,go-github-com-vitrun-qart)
("go-github-com-vitrun-qart-coding" ,go-github-com-vitrun-qart-coding)
("go-github-com-vitrun-qart-gf256" ,go-github-com-vitrun-qart-gf256)
("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
("go-golang-org-x-crypto" ,go-golang-org-x-crypto) ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
("go-github-com-flynn-archive-go-shlex" ("go-github-com-flynn-archive-go-shlex"
@ -616,11 +614,11 @@ (define-public go-github-com-thejerf-suture
(home-page "https://github.com/thejerf/suture") (home-page "https://github.com/thejerf/suture")
(license expat))) (license expat)))
(define-public go-github-com-vitrun-qart-coding (define-public go-github-com-vitrun-qart
(let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa") (let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa")
(revision "0")) (revision "0"))
(package (package
(name "go-github-com-vitrun-qart-coding") (name "go-github-com-vitrun-qart")
(version (git-version "0.0.0" revision commit)) (version (git-version "0.0.0" revision commit))
(source (origin (source (origin
(method git-fetch) (method git-fetch)
@ -634,71 +632,13 @@ (define-public go-github-com-vitrun-qart-coding
"1xk7qki703xmay9ghi3kq2bjf1iw9dz8wik55739d6i7sn77vvkc")))) "1xk7qki703xmay9ghi3kq2bjf1iw9dz8wik55739d6i7sn77vvkc"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
`(#:import-path "github.com/vitrun/qart/coding" `(#:import-path "github.com/vitrun/qart"))
#:unpack-path "github.com/vitrun/qart")) (synopsis "Create QR codes with an embedded image")
(synopsis "Low-level QR coding library")
(description "This package provides a library for embedding (description "This package provides a library for embedding
human-meaningful graphics in QR codes. However, instead of scribbling on human-meaningful graphics in QR codes. However, instead of scribbling on
redundant pieces and relying on error correction to preserve the meaning, redundant pieces and relying on error correction to preserve the meaning,
@code{qart} engineers the encoded values to create the picture in a code with no @code{qart} engineers the encoded values to create the picture in a code with no
inherent errors. This @code{qart} component, @code{coding}, implements inherent errors.")
low-level QR coding details.")
(home-page "https://github.com/vitrun/qart/")
(license bsd-3))))
(define-public go-github-com-vitrun-qart-gf256
(let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa")
(revision "0"))
(package
(name "go-github-com-vitrun-qart-gf256")
(version (git-version "0.0.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/vitrun/qart")
(commit commit)))
(file-name (string-append "go-github-com-vitrun-qart-"
version "-checkout"))
(sha256
(base32
"1xk7qki703xmay9ghi3kq2bjf1iw9dz8wik55739d6i7sn77vvkc"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/vitrun/qart/gf256"
#:unpack-path "github.com/vitrun/qart"))
(synopsis "Qart library for Galois Field GF(256) math")
(description "This package, a component of @code{qart}, provides @code{gf256},
implements arithmetic over the Galois Field GF(256).")
(home-page "https://github.com/vitrun/qart")
(license bsd-3))))
(define-public go-github-com-vitrun-qart-qr
(let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa")
(revision "0"))
(package
(name "go-github-com-vitrun-qart-qr")
(version (git-version "0.0.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/vitrun/qart")
(commit commit)))
(file-name (string-append "go-github-com-vitrun-qart-"
version "-checkout"))
(sha256
(base32
"1xk7qki703xmay9ghi3kq2bjf1iw9dz8wik55739d6i7sn77vvkc"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/vitrun/qart/qr"
#:unpack-path "github.com/vitrun/qart"))
(synopsis "Qart component for generating QR codes")
(description "This package provides a library for embedding
human-meaningful graphics in QR codes. However, instead of scribbling on
redundant pieces and relying on error correction to preserve the meaning,
@code{qart} engineers the encoded values to create the picture in a code with no
inherent errors. This @code{qart} component, @code{qr}, provides QR code
generation.")
(home-page "https://github.com/vitrun/qart") (home-page "https://github.com/vitrun/qart")
(license bsd-3)))) (license bsd-3))))