From 664692c6fc240e8e65c5435f373a9b31087653f0 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 18 Oct 2019 18:48:28 +0100 Subject: gnu: guix-data-service: Update to 0.0.1-4.5e2bc7c. * gnu/packages/web.scm (guix-data-service): Update to 0.0.1-4.5e2bc7c. --- gnu/packages/web.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index f84214b8be7..5487eb2e71e 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4028,8 +4028,8 @@ CDF, Atom 0.3, and Atom 1.0 feeds.") (package-with-python2 python-feedparser)) (define-public guix-data-service - (let ((commit "8019d2e6878908f40cb6b047f60d2e4fd3c6712e") - (revision "3")) + (let ((commit "5e2bc7c6e920e1542ab8fde39dbddca443a7cbc8") + (revision "4")) (package (name "guix-data-service") (version (string-append "0.0.1-" revision "." (string-take commit 7))) @@ -4041,7 +4041,7 @@ CDF, Atom 0.3, and Atom 1.0 feeds.") (file-name (git-file-name name version)) (sha256 (base32 - "06xv43az1aklrdb5y0if17xdqc80qnfdlyjiww8zmv4m3qnvj607")))) + "0awfvps7k9bpg3gpgc93y401g7pjabx7mr9960vigad8vddhixqi")))) (build-system gnu-build-system) (arguments '(#:tests? #f ; TODO Tests require PostgreSQL -- cgit v1.3 From d45b92891a953c18d840241b1ee587e6f9fb471c Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 22 Oct 2019 10:29:38 +0200 Subject: gnu: perl-cgi-simple: Update to 1.22. * gnu/packages/web.scm (perl-cgi-simple): Update to 1.22. --- gnu/packages/web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 5487eb2e71e..3548c524118 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -2363,14 +2363,14 @@ HTTP requests.") (define-public perl-cgi-simple (package (name "perl-cgi-simple") - (version "1.21") + (version "1.22") (source (origin (method url-fetch) (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/" "CGI-Simple-" version ".tar.gz")) (sha256 - (base32 "1wzc2igs4khmj7zfahvs87c24p9ks8hnqhhsyviyiix53xx2y6sg")))) + (base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn")))) (build-system perl-build-system) (native-inputs `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar -- cgit v1.3 From 353f5f7aa7ea575f9f04d3a0b277bbb8012b942d Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 21 Oct 2019 18:32:11 +0100 Subject: gnu: guix-data-service: Enable build time tests. Previously the tests were not run, as PostgreSQL wasn't running at build time. Now there's a new target, check-with-tmp-database that uses ephemeralpg to run the tests without relying on an externally managed PostgreSQL service. * gnu/packages/web.scm (guix-data-service)[arguments]: Remove #:tests? #f, and set #:test-target to "check-with-tmp-database". [native-inputs]: Add ephemeralpg. --- gnu/packages/web.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 3548c524118..af694b58d53 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4044,11 +4044,11 @@ CDF, Atom 0.3, and Atom 1.0 feeds.") "0awfvps7k9bpg3gpgc93y401g7pjabx7mr9960vigad8vddhixqi")))) (build-system gnu-build-system) (arguments - '(#:tests? #f ; TODO Tests require PostgreSQL - #:modules ((guix build utils) + '(#:modules ((guix build utils) (guix build gnu-build-system) (ice-9 rdelim) (ice-9 popen)) + #:test-target "check-with-tmp-database" #:phases (modify-phases %standard-phases (add-after 'set-paths 'set-GUIX_ENVIRONMENT @@ -4106,6 +4106,7 @@ CDF, Atom 0.3, and Atom 1.0 feeds.") `(("guile" ,guile-2.2) ("autoconf" ,autoconf) ("automake" ,automake) + ("ephemeralpg" ,ephemeralpg) ("emacs-with-modules" ,(directory-union "emacs-union" (list emacs-no-x -- cgit v1.3 From 78bd9c52ad3f353bcfd8c31ee9577f6adf4cbecc Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 25 Oct 2019 17:46:21 +0200 Subject: gnu: rss-bridge: Update to 2019-09-12. * gnu/packages/web.scm (rss-bridge): Update to 2019-09-12. --- gnu/packages/web.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index af694b58d53..cee95fc2218 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5568,7 +5568,7 @@ snippets on @url{https://commandlinefu.com}.") (define-public rss-bridge (package (name "rss-bridge") - (version "2019-07-06") + (version "2019-09-12") (source (origin (method git-fetch) @@ -5577,8 +5577,7 @@ snippets on @url{https://commandlinefu.com}.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 - "0zd0c9xzvpx55mvj8xrafakfkvafnwkkvhw9b1j0bf897xdkfsyb")))) + (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra")))) (build-system trivial-build-system) (arguments '(#:modules ((guix build utils)) @@ -5597,7 +5596,7 @@ snippets on @url{https://commandlinefu.com}.") websites lacking feeds. Supported websites include Facebook, Twitter, Instagram and YouTube.") (license (list license:public-domain - license:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php + license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php (define-public linkchecker (package -- cgit v1.3 From c9fc03a3aa01a0058b202ef2f34be0e9e8474f22 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 25 Oct 2019 18:06:52 +0200 Subject: gnu: varnish: Update to 6.3.1 [security fixes]. Fixes . * gnu/packages/web.scm (varnish): Update to 6.3.1. --- gnu/packages/web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index cee95fc2218..3697b9eec10 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5076,13 +5076,13 @@ deployments.") (package (name "varnish") (home-page "https://varnish-cache.org/") - (version "6.3.0") + (version "6.3.1") (source (origin (method url-fetch) (uri (string-append home-page "_downloads/varnish-" version ".tgz")) (sha256 (base32 - "0zwlffdd1m0ih33nq40xf2wwdyvr4czmns2fs90qpfnwy72xxk4m")))) + "0xa14pd68zpi5hxcax3arl14rcmh5d1cdwa8gv4l5f23mmynr8ni")))) (build-system gnu-build-system) (arguments `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib") -- cgit v1.3 From 2a19c0deb1da3a9afa8960367a5b84321386ceae Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 27 Oct 2019 10:10:48 +0100 Subject: gnu: nginx: Update to 1.17.5. * gnu/packages/web.scm (nginx): Update to 1.17.5. --- gnu/packages/web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 3697b9eec10..8748fe06810 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -212,14 +212,14 @@ Interface} specification.") ;; ’stable’ and recommends that “in general you deploy the NGINX mainline ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/) ;; Consider updating the nginx-documentation package together with this one. - (version "1.17.4") + (version "1.17.5") (source (origin (method url-fetch) (uri (string-append "https://nginx.org/download/nginx-" version ".tar.gz")) (sha256 (base32 - "0mg521bxh8pysmy20x599m252ici9w97kk7qy7s0wrv6bqv4p1b2")))) + "1hqhziic4csci8xs4q8vbzpmj2qjkhmmx68zza7h5bvmbbhkbvk3")))) (build-system gnu-build-system) (inputs `(("openssl" ,openssl) ("pcre" ,pcre) -- cgit v1.3 From e1e00e87e6e625d255477d5ec61e70bb70290189 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 29 Oct 2019 13:06:51 +0100 Subject: gnu: perl-http-cookies: Update to 6.05. * gnu/packages/web.scm (perl-http-cookies): Update to 6.05. --- gnu/packages/web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 8748fe06810..07437e4f283 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -2860,7 +2860,7 @@ jar in conformance with RFC 6265 .") (define-public perl-http-cookies (package (name "perl-http-cookies") - (version "6.04") + (version "6.05") (source (origin (method url-fetch) (uri (string-append @@ -2868,7 +2868,7 @@ jar in conformance with RFC 6265 .") version ".tar.gz")) (sha256 (base32 - "1m0kxcirbvbkrm2c59p1bkbvzlcdymg8fdpa7wlxijlx0xwz1iqc")))) + "0pbgns2gwgvgg9rglah7ryw0jj13aykyf38lnhm3rwzw3c2cvqaq")))) (build-system perl-build-system) (propagated-inputs `(("perl-http-message" ,perl-http-message))) -- cgit v1.3 From ff68988aa17e11bc771f3e25506b4746b1117b92 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 29 Oct 2019 13:12:20 +0100 Subject: gnu: perl-libwww: Update to 6.41. * gnu/packages/web.scm (perl-libwww): Update to 6.41. --- gnu/packages/web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 07437e4f283..d106bf7a6f9 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -3204,7 +3204,7 @@ select or poll.") (define-public perl-libwww (package (name "perl-libwww") - (version "6.39") + (version "6.41") (source (origin (method url-fetch) (uri (string-append @@ -3212,7 +3212,7 @@ select or poll.") version ".tar.gz")) (sha256 (base32 - "1mblfwz3g7vmyykmb0mcbmmad77rwx55fwaca9ymv9wajd3pg3cs")))) + "0jh67946fwd33ap3xy8df0421d2mr6lmhalhkf1p7dx2b7fil9wf")))) (build-system perl-build-system) (native-inputs `(("perl-test-fatal" ,perl-test-fatal) -- cgit v1.3 From 561d391ba8711049fea8eca25a1685b2a051b55c Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 14 Aug 2019 14:42:50 -0400 Subject: gnu: Go standard library 'x' packages: Consolidate. * gnu/packages/golang.scm (go-golang-org-x-text, go-golang-org-x-sys, go-golang-org-x-net, go-golang-org-x-time): New variables. (go-golang.org-x-crypto-ssh-terminal, go-golang-org-x-crypto-bcrypt, go-golang-org-x-crypto-blowfish, go-golang-org-x-crypto-pbkdf2, go-golang-org-x-crypto-tea, go-golang-org-x-crypto-salsa20, go-golang-org-x-crypto-cast5, go-golang-org-x-crypto-twofish, go-golang-org-x-crypto-xtea, go-golang-org-x-crypto-ed25519, go-golang-org-x-crypto-ripemd160, go-golang-org-x-crypto-blake2s, go-golang-org-x-crypto-sha3, go-golang-org-x-text-encoding, go-golang-org-x-text-transform, go-golang-org-x-text-unicode-norm, go-golang-org-x-net-ipv4, go-golang-org-x-net-bpf, go-golang-org-x-net-context, go-golang-org-x-net-internal-socks, go-golang-org-x-net-internal-socket, go-golang-org-x-net-internal-iana, go-golang-org-x-net-ipv6, go-golang-org-x-net-proxy, go-golang-org-x-sys-cpu, go-golang-org-x-sys-unix, go-golang-org-x-time-rate): Remove variables. (go-github-com-sirupsen-logrus, go-github-com-docker-distribution, go-github-com-libp2p-go-libp2p-crypto, go-github-com-multiformats-go-multihash, go-github-com-libp2p-go-libp2p-peer, go-github-com-libp2p-go-libp2p-metrics, go-github-com-multiformats-go-multiaddr, go-github-com-multiformats-go-multiaddr-net, go-github-com-mattn-go-isatty, go-github-com-gdamore-encoding, go-github-com-gdamore-tcell): Adjust accordingly. * gnu/packages/docker.scm (docker-libnetwork-cmd-proxy): Likewise. * gnu/packages/databases.scm (mongo-tools): Likewise. * gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-api, gx, gx-go): Likewise. * gnu/packages/web.scm (poussetaches): Likewise. * gnu/packages/terminals.scm (go-github-com-junegunn-fzf, go-github.com-howeyc-gopass): Likewise. (go-golang.org-x-crypto-ssh-terminal): Remove variable. * gnu/packages/syncthing.scm (syncthing, go-github-com-oschwald-geoip2-golang, go-github-com-oschwald-maxminddb-golang, go-github-com-syncthing-notify): Adjust accordingly. * gnu/packages/linux.scm (go-netlink): Likewise. --- gnu/packages/databases.scm | 2 +- gnu/packages/docker.scm | 6 +- gnu/packages/golang.scm | 519 ++++++--------------------------------------- gnu/packages/ipfs.scm | 12 +- gnu/packages/linux.scm | 2 +- gnu/packages/syncthing.scm | 21 +- gnu/packages/terminals.scm | 42 +--- gnu/packages/web.scm | 2 +- 8 files changed, 78 insertions(+), 528 deletions(-) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 5c9435ae82c..412768aca6b 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3003,7 +3003,7 @@ transforms idiomatic python function calls to well-formed SQL queries.") (native-inputs `(("go-github.com-howeyc-gopass" ,go-github.com-howeyc-gopass) ("go-github.com-jessevdk-go-flags" ,go-github.com-jessevdk-go-flags) - ("go-golang.org-x-crypto-ssh-terminal" ,go-golang.org-x-crypto-ssh-terminal) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto) ("go-gopkg.in-mgo.v2" ,go-gopkg.in-mgo.v2) ("go-gopkg.in-tomb.v2" ,go-gopkg.in-tomb.v2) ("go-github.com-nsf-termbox-go" ,go-github.com-nsf-termbox-go) diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index 28eff0a56c0..69325449a12 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -291,9 +291,9 @@ the required network abstractions for applications.") ("logrus" ,go-github-com-sirupsen-logrus) ("go-netlink" ,go-netlink) ("go-netns" ,go-netns) - ("go-golang-org-x-crypto-ssh-terminal" - ,go-golang-org-x-crypto-ssh-terminal) - ("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) + ("go-golang-org-x-crypto" + ,go-golang-org-x-crypto) + ("go-golang-org-x-sys" ,go-golang-org-x-sys))) (synopsis "Docker user-space proxy") (description "A proxy running in the user space. It is used by the built-in registry server of Docker.") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 4d5de2f89d9..e868c2ca19d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -660,182 +660,18 @@ Go programming language.") ".*\\.gz$")) #t))))) (propagated-inputs - `(("go-golang-org-x-sys-cpu" ,go-golang-org-x-sys-cpu))) + `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) (synopsis "Supplementary cryptographic libraries in Go") (description "This package provides supplementary cryptographic libraries for the Go language.") (home-page "https://go.googlesource.com/crypto/") (license license:bsd-3)))) -(define-public go-golang-org-x-crypto-bcrypt - (let ((commit "b7391e95e576cacdcdd422573063bc057239113d") - (revision "3")) - (package - (name "go-golang-org-x-crypto-bcrypt") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/crypto") - (commit commit))) - (file-name (string-append "go.googlesource.com-crypto-" - version "-checkout")) - (sha256 - (base32 - "1jqfh81mhgwcc6b9l0bs6rb0707s01qpvn7896i5bsmig46lc7zm")))) - (build-system go-build-system) - (arguments - `(#:import-path "golang.org/x/crypto/bcrypt" - #:unpack-path "golang.org/x/crypto")) - (synopsis "Bcrypt in Go") - (description "This package provides a Go implementation of the bcrypt -password hashing function.") - (home-page "https://go.googlesource.com/crypto/") - (license license:bsd-3)))) - -(define-public go-golang-org-x-crypto-blowfish - (package - (inherit go-golang-org-x-crypto-bcrypt) - (name "go-golang-org-x-crypto-blowfish") - (arguments - `(#:import-path "golang.org/x/crypto/blowfish" - #:unpack-path "golang.org/x/crypto")) - (synopsis "Blowfish in Go") - (description "This package provides a Go implementation of the Blowfish -symmetric-key block cipher."))) - -(define-public go-golang-org-x-crypto-pbkdf2 - (package - (inherit go-golang-org-x-crypto-bcrypt) - (name "go-golang-org-x-crypto-pbkdf2") - (arguments - `(#:import-path "golang.org/x/crypto/pbkdf2" - #:unpack-path "golang.org/x/crypto")) - (synopsis "PBKDF2 in Go") - (description "This package provides a Go implementation of the PBKDF2 key -derivation function."))) - -(define-public go-golang-org-x-crypto-tea - (package - (inherit go-golang-org-x-crypto-bcrypt) - (name "go-golang-org-x-crypto-tea") - (arguments - `(#:import-path "golang.org/x/crypto/tea" - #:unpack-path "golang.org/x/crypto")) - (synopsis "Tiny Encryption Algorithm (TEA) in Go") - (description "This package provides a Go implementation of the Tiny Encryption -Algorithm (TEA) block cipher."))) - -(define-public go-golang-org-x-crypto-salsa20 - (package - (inherit go-golang-org-x-crypto-bcrypt) - (name "go-golang-org-x-crypto-salsa20") - (arguments - `(#:import-path "golang.org/x/crypto/salsa20" - #:unpack-path "golang.org/x/crypto")) - (synopsis "Salsa20 in Go") - (description "This package provides a Go implementation of the Salsa20 -stream cipher."))) - -(define-public go-golang-org-x-crypto-cast5 - (package - (inherit go-golang-org-x-crypto-bcrypt) - (name "go-golang-org-x-crypto-cast5") - (arguments - `(#:import-path "golang.org/x/crypto/cast5" - #:unpack-path "golang.org/x/crypto")) - (synopsis "Cast5 in Go") - (description "This package provides a Go implementation of the Cast5 -symmetric-key block cipher."))) - -(define-public go-golang-org-x-crypto-twofish - (package - (inherit go-golang-org-x-crypto-bcrypt) - (name "go-golang-org-x-crypto-twofish") - (arguments - `(#:import-path "golang.org/x/crypto/twofish" - #:unpack-path "golang.org/x/crypto")) - (synopsis "Twofish in Go") - (description "This package provides a Go implementation of the Twofish -symmetric-key block cipher."))) - -(define-public go-golang-org-x-crypto-xtea - (package - (inherit go-golang-org-x-crypto-bcrypt) - (name "go-golang-org-x-crypto-xtea") - (arguments - `(#:import-path "golang.org/x/crypto/xtea" - #:unpack-path "golang.org/x/crypto")) - (synopsis "eXtended Tiny Encryption Algorithm (XTEA) in Go") - (description "This package provides a Go implementation of the eXtended -Tiny Encryption Algorithm (XTEA) block cipher."))) - -(define-public go-golang-org-x-crypto-ed25519 - (package - (inherit go-golang-org-x-crypto-bcrypt) - (name "go-golang-org-x-crypto-ed25519") - (arguments - `(#:import-path "golang.org/x/crypto/ed25519" - #:unpack-path "golang.org/x/crypto" - #:phases - (modify-phases %standard-phases - (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable - (lambda* (#:key outputs #:allow-other-keys) - (map (lambda (file) - (make-file-writable file)) - (find-files - (string-append (assoc-ref outputs "out") - "/src/golang.org/x/crypto/ed25519/testdata") - ".*\\.gz$")) - #t))))) - (synopsis "ED25519 in Go") - (description "This package provides a Go implementation of the ED25519 -signature algorithm."))) - -(define-public go-golang-org-x-crypto-ripemd160 - (package - (inherit go-golang-org-x-crypto-bcrypt) - (name "go-golang-org-x-crypto-ripemd160") - (arguments - (substitute-keyword-arguments (package-arguments go-golang-org-x-crypto-bcrypt) - ((#:import-path _) - "golang.org/x/crypto/ripemd160"))) - (synopsis "RIPEMD-160 in Go") - (description "This package provides a Go implementation of the RIPEMD-160 -hash algorithm."))) - -(define-public go-golang-org-x-crypto-blake2s - (package - (inherit go-golang-org-x-crypto-bcrypt) - (name "go-golang-org-x-crypto-blake2s") - (arguments - (substitute-keyword-arguments (package-arguments go-golang-org-x-crypto-bcrypt) - ((#:import-path _) - "golang.org/x/crypto/blake2s"))) - (propagated-inputs - `(("go-golang-org-x-sys-cpu" ,go-golang-org-x-sys-cpu))) - (synopsis "BLAKE2s in Go") - (description "This package provides a Go implementation of the BLAKE2s -hash algorithm."))) - -(define-public go-golang-org-x-crypto-sha3 - (package - (inherit go-golang-org-x-crypto-bcrypt) - (name "go-golang-org-x-crypto-sha3") - (arguments - (substitute-keyword-arguments (package-arguments go-golang-org-x-crypto-bcrypt) - ((#:import-path _) - "golang.org/x/crypto/sha3"))) - (synopsis "SHA-3 in Go") - (description "This package provides a Go implementation of the SHA-3 -fixed-output-length hash functions and the SHAKE variable-output-length hash -functions defined by FIPS-202."))) - -(define-public go-golang-org-x-net-ipv4 +(define-public go-golang-org-x-net (let ((commit "d28f0bde5980168871434b95cfc858db9f2a7a99") (revision "3")) (package - (name "go-golang-org-x-net-ipv4") + (name "go-golang-org-x-net") (version (git-version "0.0.0" revision commit)) (source (origin (method git-fetch) @@ -848,208 +684,22 @@ functions defined by FIPS-202."))) "18xj31h70m7xxb7gc86n9i21w6d7djbjz67zfaljm4jqskz6hxkf")))) (build-system go-build-system) (arguments - `(#:import-path "golang.org/x/net/ipv4" - #:unpack-path "golang.org/x/net")) - (propagated-inputs - `(("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) - (synopsis "Go IPv4 support") - (description "This package provides @code{ipv4}, which implements IP-level -socket options for the Internet Protocol version 4.") - (home-page "https://go.googlesource.com/net") - (license license:bsd-3)))) - -(define-public go-golang-org-x-net-bpf - (let ((commit "d28f0bde5980168871434b95cfc858db9f2a7a99") - (revision "3")) - (package - (name "go-golang-org-x-net-bpf") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/net") - (commit commit))) - (file-name (string-append "go.googlesource.com-net-" - version "-checkout")) - (sha256 - (base32 - "18xj31h70m7xxb7gc86n9i21w6d7djbjz67zfaljm4jqskz6hxkf")))) - (build-system go-build-system) - (arguments - `(#:import-path "golang.org/x/net/bpf" - #:unpack-path "golang.org/x/net")) - (propagated-inputs - `(("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) - (synopsis "Berkeley Packet Filters (BPF) in Go") - (description "This package provides a Go implementation of the Berkeley -Packet Filter (BPF) virtual machine.") - (home-page "https://go.googlesource.com/net/") - (license license:bsd-3)))) - -(define-public go-golang-org-x-net-context - (let ((commit "d28f0bde5980168871434b95cfc858db9f2a7a99") - (revision "3")) - (package - (name "go-golang-org-x-net-context") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/net") - (commit commit))) - (file-name (string-append "go.googlesource.com-net-" - version "-checkout")) - (sha256 - (base32 - "18xj31h70m7xxb7gc86n9i21w6d7djbjz67zfaljm4jqskz6hxkf")))) - (build-system go-build-system) - (arguments - `(#:import-path "golang.org/x/net/context" - #:unpack-path "golang.org/x/net")) - (synopsis "Golang Context type") - (description "This package provides @code{context}, which defines the -Context type, which carries deadlines, cancellation signals, and other -request-scoped values across API boundaries and between processes.") - (home-page "https://go.googlesource.com/net/") - (license license:bsd-3)))) - -(define-public go-golang-org-x-net-internal-socks - (let ((commit "d28f0bde5980168871434b95cfc858db9f2a7a99") - (revision "3")) - (package - (name "go-golang-org-x-net-internal-socks") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/net") - (commit commit))) - (file-name (string-append "go.googlesource.com-net-" - version "-checkout")) - (sha256 - (base32 - "18xj31h70m7xxb7gc86n9i21w6d7djbjz67zfaljm4jqskz6hxkf")))) - (build-system go-build-system) - (arguments - `(#:import-path "golang.org/x/net/internal/socks" - #:unpack-path "golang.org/x/net")) - (synopsis "") - (description "") - (home-page "https://go.googlesource.com/net/") - (license license:bsd-3)))) - -(define-public go-golang-org-x-net-internal-socket - (let ((commit "d28f0bde5980168871434b95cfc858db9f2a7a99") - (revision "3")) - (package - (name "go-golang-org-x-net-internal-socket") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/net") - (commit commit))) - (file-name (string-append "go.googlesource.com-net-" - version "-checkout")) - (sha256 - (base32 - "18xj31h70m7xxb7gc86n9i21w6d7djbjz67zfaljm4jqskz6hxkf")))) - (build-system go-build-system) - (arguments - `(#:import-path "golang.org/x/net/internal/socket" - #:unpack-path "golang.org/x/net")) - (propagated-inputs - `(("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) - (synopsis "") - (description "") - (home-page "https://go.googlesource.com/net/") - (license license:bsd-3)))) - -(define-public go-golang-org-x-net-internal-iana - (let ((commit "d28f0bde5980168871434b95cfc858db9f2a7a99") - (revision "3")) - (package - (name "go-golang-org-x-net-internal-iana") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/net") - (commit commit))) - (file-name (string-append "go.googlesource.com-net-" - version "-checkout")) - (sha256 - (base32 - "18xj31h70m7xxb7gc86n9i21w6d7djbjz67zfaljm4jqskz6hxkf")))) - (build-system go-build-system) - (arguments - `(#:import-path "golang.org/x/net/internal/iana" - #:unpack-path "golang.org/x/net")) - (synopsis "Go support for assigned numbers (IANA)") - (description "This package provides @code{iana}, which provides protocol -number resources managed by the Internet Assigned Numbers Authority (IANA).") - (home-page "https://go.googlesource.com/net/") - (license license:bsd-3)))) - -(define-public go-golang-org-x-net-ipv6 - (let ((commit "d28f0bde5980168871434b95cfc858db9f2a7a99") - (revision "3")) - (package - (name "go-golang-org-x-net-ipv6") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/net") - (commit commit))) - (file-name (string-append "go.googlesource.com-net-" - version "-checkout")) - (sha256 - (base32 - "18xj31h70m7xxb7gc86n9i21w6d7djbjz67zfaljm4jqskz6hxkf")))) - (build-system go-build-system) - (arguments - `(#:import-path "golang.org/x/net/ipv6" - #:unpack-path "golang.org/x/net")) - (propagated-inputs - `(("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) - (synopsis "Go IPv6 support") - (description "This package provides @code{ipv6}, which implements -IP-level socket options for the Internet Protocol version 6.") - (home-page "https://go.googlesource.com/net") - (license license:bsd-3)))) - -(define-public go-golang-org-x-net-proxy - (let ((commit "d28f0bde5980168871434b95cfc858db9f2a7a99") - (revision "3")) - (package - (name "go-golang-org-x-net-proxy") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/net") - (commit commit))) - (file-name (string-append "go.googlesource.com-net-" - version "-checkout")) - (sha256 - (base32 - "18xj31h70m7xxb7gc86n9i21w6d7djbjz67zfaljm4jqskz6hxkf")))) - (build-system go-build-system) - (arguments - `(#:import-path "golang.org/x/net/proxy" - #:unpack-path "golang.org/x/net/")) - (synopsis "Go support for network proxies") - (description "This package provides @code{proxy}, which provides support -for a variety of protocols to proxy network data.") + `(#:import-path "golang.org/x/net" + ; Source-only package + #:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'build)))) + (synopsis "Go supplemental networking libraries") + (description "This package provides supplemental Go networking libraries.") (home-page "https://go.googlesource.com/net") (license license:bsd-3)))) -(define-public go-golang-org-x-sys-unix +(define-public go-golang-org-x-sys (let ((commit "04f50cda93cbb67f2afa353c52f342100e80e625") (revision "4")) (package - (name "go-golang-org-x-sys-unix") + (name "go-golang-org-x-sys") (version (git-version "0.0.0" revision commit)) (source (origin (method git-fetch) @@ -1062,28 +712,21 @@ for a variety of protocols to proxy network data.") "0hmfsz9y1ingwsn482hlzzmzs7kr3cklm0ana0mbdk70isw2bxnw")))) (build-system go-build-system) (arguments - `(#:import-path "golang.org/x/sys/unix" - #:unpack-path "golang.org/x/sys")) + `(#:import-path "golang.org/x/sys" + ;; Source-only package + #:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'build)))) (synopsis "Go support for low-level system interaction") - (description "This package provides @code{unix}, which offers Go support -for low-level interaction with the operating system.") + (description "This package provides supplemental libraries offering Go +support for low-level interaction with the operating system.") (home-page "https://go.googlesource.com/sys") (license license:bsd-3)))) -(define-public go-golang-org-x-sys-cpu +(define-public go-golang-org-x-text (package - (inherit go-golang-org-x-sys-unix) - (name "go-golang-org-x-sys-cpu") - (arguments - '(#:import-path "golang.org/x/sys/cpu" - #:unpack-path "golang.org/x/sys")) - (synopsis "CPU feature detection") - (description "Thi spackage provides @code{cpu}, which offers tools for CPU -feature detection in Go."))) - -(define-public go-golang-org-x-text-encoding - (package - (name "go-golang-org-x-text-encoding") + (name "go-golang-org-x-text") (version "0.3.2") (source (origin (method git-fetch) @@ -1097,45 +740,23 @@ feature detection in Go."))) "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh")))) (build-system go-build-system) (arguments - `(#:import-path "golang.org/x/text/encoding" - #:unpack-path "golang.org/x/text")) - (synopsis "Interface for character encodings for conversion to and from -UTF-8") - (description "This package defines an interface for character encodings. -Specific implementations of encoding for CJK text as well as simple character -encodings are provided in subpackages.") + `(#:import-path "golang.org/x/text" + ; Source-only package + #:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'build)))) + (synopsis "Supplemental Go text processing libraries") + (description "This package provides supplemental Go libraries for text + processing.") (home-page "https://go.googlesource.com/text") (license license:bsd-3))) -(define-public go-golang-org-x-text-transform - (package - (inherit go-golang-org-x-text-encoding) - (name "go-golang-org-x-text-transform") - (arguments - `(#:import-path "golang.org/x/text/transform" - #:unpack-path "golang.org/x/text")) - (synopsis "Go text transformation") - (description "This package provides @code{transform}, which provides -reader and writer wrappers that transform the bytes passing through. Example -transformations provided by other packages include normalization and conversion -between character sets."))) - -(define-public go-golang-org-x-text-unicode-norm - (package - (inherit go-golang-org-x-text-encoding) - (name "go-golang-org-x-text-unicode-norm") - (arguments - `(#:import-path "golang.org/x/text/unicode/norm" - #:unpack-path "golang.org/x/text")) - (synopsis "Unicode normalization in Go") - (description "This package provides @code{norm}, which contains types and -functions for normalizing Unicode strings."))) - -(define-public go-golang-org-x-time-rate +(define-public go-golang-org-x-time (let ((commit "6dc17368e09b0e8634d71cac8168d853e869a0c7") (revision "1")) (package - (name "go-golang-org-x-time-rate") + (name "go-golang-org-x-time") (version (git-version "0.0.0" revision commit)) (source (origin (method git-fetch) @@ -1148,29 +769,20 @@ functions for normalizing Unicode strings."))) "1fx4cf5fpdz00g3c7vxzy92hdcg0vh4yqw00qp5s52j72qixynbk")))) (build-system go-build-system) (arguments - `(#:import-path "golang.org/x/time/rate" - #:unpack-path "golang.org/x/time")) - (propagated-inputs - `(("go-golang-org-x-net-context" ,go-golang-org-x-net-context))) - (synopsis "Rate limiting in Go") - (description "This package provides @{rate}, which implements rate -limiting in Go.") + `(#:import-path "golang.org/x/time" + ; Source-only package + #:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'build)))) +; (propagated-inputs +; `(("go-golang-org-x-net" ,go-golang-org-x-net))) + (synopsis "Supplemental Go time libraries") + (description "This package provides supplemental Go libraries related to +time.") (home-page "https://godoc.org/golang.org/x/time/rate") (license license:bsd-3)))) -(define-public go-golang-org-x-crypto-ssh-terminal - (package - (inherit go-golang-org-x-crypto-bcrypt) - (name "go-golang-org-x-crypto-ssh-terminal") - (inputs - `(("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) - (arguments - `(#:import-path "golang.org/x/crypto/ssh/terminal" - #:unpack-path "golang.org/x/crypto")) - (synopsis "Terminal functions for Go") - (description "This package provides @{terminal}, which implements support -functions for dealing with terminals, as commonly found on UNIX systems."))) - (define-public go-github-com-burntsushi-toml (package (name "go-github-com-burntsushi-toml") @@ -1559,12 +1171,11 @@ GNU extensions} to the POSIX recommendations for command-line options.") "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz")))) (build-system go-build-system) (native-inputs - `(("go-golang-org-x-crypto-ssh-terminal" - ,go-golang-org-x-crypto-ssh-terminal) + `(("go-golang-org-x-crypto" + ,go-golang-org-x-crypto) ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify) - ("go-golang-org-x-sys-unix" - ,go-golang-org-x-sys-unix))) + ("go-golang-org-x-sys" ,go-golang-org-x-sys))) (arguments '(#:tests? #f ;FIXME missing dependencies #:import-path "github.com/sirupsen/logrus")) @@ -1653,12 +1264,11 @@ SysVinit, and more.") "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6")))) (build-system go-build-system) (native-inputs - `(("go-golang-org-x-sys-unix" - ,go-golang-org-x-sys-unix) + `(("go-golang-org-x-sys" ,go-golang-org-x-sys) ("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus) - ("go-golang-org-x-crypto-ssh-terminal" - ,go-golang-org-x-crypto-ssh-terminal))) + ("go-golang-org-x-crypto" + ,go-golang-org-x-crypto))) (arguments '(#:import-path "github.com/docker/distribution" #:phases @@ -1830,7 +1440,7 @@ values.") "1i77aq4gf9as03m8fpfh8fq49n4z9j7548blrcsidm1xhslzk5xd")))) (build-system go-build-system) (propagated-inputs - `(("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) + `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) (arguments '(#:import-path "github.com/mattn/go-isatty")) (home-page "https://github.com/mattn/go-isatty") @@ -2482,7 +2092,7 @@ Architecture Processors\" by J. Guilford et al.") (arguments '(#:import-path "github.com/libp2p/go-libp2p-crypto")) (native-inputs - `(("go-golang-org-x-crypto-ed25519" ,go-golang-org-x-crypto-ed25519) + `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto) ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec) ("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto) ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd))) @@ -2630,8 +2240,7 @@ required by Go's standard Hash interface.") ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd) ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) - ("go-golang-org-x-crypto-blake2s" ,go-golang-org-x-crypto-blake2s) - ("go-golang-org-x-crypto-sha3" ,go-golang-org-x-crypto-sha3))) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) (home-page "https://github.com/multiformats/go-multihash") (synopsis "Multihash implementation in Go") (description "Multihash implementation in Go.") @@ -2666,9 +2275,7 @@ required by Go's standard Hash interface.") ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash) ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg) ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) - ("go-golang-org-x-crypto-blake2s" ,go-golang-org-x-crypto-blake2s) - ("go-golang-org-x-crypto-ed25519" ,go-golang-org-x-crypto-ed25519) - ("go-golang-org-x-crypto-sha3" ,go-golang-org-x-crypto-sha3))) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) (home-page "https://github.com/libp2p/go-libp2p-peer") (synopsis "PKI based identities for use in go-libp2p") (description "PKI based identities for use in @command{go-libp2p}.") @@ -2731,9 +2338,7 @@ required by Go's standard Hash interface.") ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd) ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) - ("go-golang-org-x-crypto-sha3" ,go-golang-org-x-crypto-sha3) - ("go-golang-org-x-crypto-ed25519" ,go-golang-org-x-crypto-ed25519) - ("go-golang-org-x-crypto-blake2s" ,go-golang-org-x-crypto-blake2s))) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) (home-page "https://github.com/libp2p/go-libp2p-metrics") (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics") (description "A connection wrapper for @command{go-libp2p} that provides bandwidth @@ -2806,8 +2411,7 @@ cross-compilation.") ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58) ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) - ("go-golang-org-x-crypto-sha3" ,go-golang-org-x-crypto-sha3) - ("go-golang-org-x-crypto-blake2s" ,go-golang-org-x-crypto-blake2s))) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) (home-page "https://github.com/multiformats/go-multiaddr") (synopsis "Composable and future-proof network addresses") (description "Multiaddr is a standard way to represent addresses that @@ -2851,8 +2455,7 @@ does the following: ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58) ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) - ("go-golang-org-x-crypto-sha3" ,go-golang-org-x-crypto-sha3) - ("go-golang-org-x-crypto-blake2s" ,go-golang-org-x-crypto-blake2s))) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) (home-page "https://github.com/multiformats/go-multiaddr-net") (synopsis "Multiaddress net tools") (description "This package provides Multiaddr specific versions of @@ -3207,8 +2810,7 @@ colorspaces.") (arguments '(#:import-path "github.com/gdamore/encoding")) (inputs - `(("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding) - ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform))) + `(("go-golang-org-x-text" ,go-golang-org-x-text))) (home-page "https://github.com/gdamore/encoding") (synopsis "Provide encodings missing from Go") (description "This package provides useful encodings not included in the @@ -3249,8 +2851,7 @@ non-UTF-friendly sources.") (inputs `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth) ("go-golang-org-colorful" ,go-golang-org-colorful) - ("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding) - ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform) + ("go-golang-org-x-text" ,go-golang-org-x-text) ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding))) (home-page "https://github.com/gdamore/tcell") (synopsis "Provide a cell-based view for text terminals") diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 2dd2097075d..79323d84835 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -91,9 +91,7 @@ that are shared between @command{go-ipfs/commands} and its rewrite ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58) ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash) - ("go-golang-org-x-crypto-blake2s" ,go-golang-org-x-crypto-blake2s) - ("go-golang-org-x-crypto-ed25519" ,go-golang-org-x-crypto-ed25519) - ("go-golang-org-x-crypto-sha3" ,go-golang-org-x-crypto-sha3) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto) ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg) ("go-github-com-whyrusleeping-tar-utils" ,go-github-com-whyrusleeping-tar-utils) @@ -146,9 +144,7 @@ that are shared between @command{go-ipfs/commands} and its rewrite ("go-github-com-whyrusleeping-json-filter" ,go-github-com-whyrusleeping-json-filter) ("go-github-com-whyrusleeping-progmeter" ,go-github-com-whyrusleeping-progmeter) ("go-github-com-whyrusleeping-stump" ,go-github-com-whyrusleeping-stump) - ("go-golang-org-x-crypto-blake2s" ,go-golang-org-x-crypto-blake2s) - ("go-golang-org-x-crypto-ed25519" ,go-golang-org-x-crypto-ed25519) - ("go-golang-org-x-crypto-sha3" ,go-golang-org-x-crypto-sha3))) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) (home-page "https://github.com/whyrusleeping/gx") (synopsis "Package management tool using IPFS") (description "@command{gx} is a packaging tool built around the @@ -207,9 +203,7 @@ powerful and simple.") ("go-github-com-urfave-cli" ,go-github-com-urfave-cli) ("go-github-com-whyrusleeping-progmeter" ,go-github-com-whyrusleeping-progmeter) ("go-github-com-whyrusleeping-stump" ,go-github-com-whyrusleeping-stump) - ("go-golang-org-x-crypto-blake2s" ,go-golang-org-x-crypto-blake2s) - ("go-golang-org-x-crypto-ed25519" ,go-golang-org-x-crypto-ed25519) - ("go-golang-org-x-crypto-sha3" ,go-golang-org-x-crypto-sha3))) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) (home-page "https://github.com/whyrusleeping/gx-go") (synopsis "Golang subtool for the @command{gx} package manager") (description "A subtool for the @command{gx} package manager for packages diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 8bfa9ce2581..4ddea0a7a42 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -5855,7 +5855,7 @@ management tools in userspace.") (arguments `(#:import-path "github.com/vishvananda/netlink")) (native-inputs - `(("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix) + `(("go-golang-org-x-sys" ,go-golang-org-x-sys) ("go-netns" ,go-netns))) (home-page "https://github.com/vishvananda/netlink") (synopsis "Simple netlink library for Go") diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 7e1d8df3333..0ba116fd11f 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -74,7 +74,7 @@ ("go-github-com-syncthing-notify" ,go-github-com-syncthing-notify) ("go-github-com-syndtr-goleveldb" ,go-github-com-syndtr-goleveldb) ("go-github-com-thejerf-suture" ,go-github-com-thejerf-suture) - ("go-golang-org-x-time-rate" ,go-golang-org-x-time-rate) + ("go-golang-org-x-time" ,go-golang-org-x-time) ("go-gopkg.in-ldap.v2" ,go-gopkg.in-ldap.v2) ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf) ("go-github-com-gogo-protobuf-gogoproto" @@ -84,17 +84,8 @@ ("go-github-com-prometheus-client-golang-prometheus" ,go-github-com-prometheus-client-golang-prometheus) ("go-github-com-shirou-gopsutil" ,go-github-com-shirou-gopsutil) - ("go-golang-org-x-net-bpf" ,go-golang-org-x-net-bpf) - ("go-golang-org-x-net-internal-iana" ,go-golang-org-x-net-internal-iana) - ("go-golang-org-x-net-internal-socket" - ,go-golang-org-x-net-internal-socket) - ("go-golang-org-x-net-internal-socks" - ,go-golang-org-x-net-internal-socks) - ("go-golang-org-x-net-ipv4" ,go-golang-org-x-net-ipv4) - ("go-golang-org-x-net-ipv6" ,go-golang-org-x-net-ipv6) - ("go-golang-org-x-net-proxy" ,go-golang-org-x-net-proxy) - ("go-golang-org-x-text-unicode-norm" ,go-golang-org-x-text-unicode-norm) - ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform) + ("go-golang-org-x-net" ,go-golang-org-x-net) + ("go-golang-org-x-text" ,go-golang-org-x-text) ("go-github-com-audriusbutkevicius-recli" ,go-github-com-audriusbutkevicius-recli) ("go-github-com-urfave-cli" ,go-github-com-urfave-cli) @@ -461,7 +452,7 @@ database/sql package.") (propagated-inputs `(("go-github-com-oschwald-maxminddb-golang" ,go-github-com-oschwald-maxminddb-golang) - ("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) + ("go-golang-org-x-sys" ,go-golang-org-x-sys))) (arguments `(#:import-path "github.com/oschwald/geoip2-golang" #:tests? #f)) ; Requires some unpackaged software and test data @@ -488,7 +479,7 @@ GeoLite2 and GeoIP2 databases in Go.") "1i6d935f3cv9djpjvc2ibh8aps8jqvg454b9pkwg2h98al759ggk")))) (build-system go-build-system) (propagated-inputs - `(("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) + `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) (arguments `(#:import-path "github.com/oschwald/maxminddb-golang" #:tests? #f)) ; Requires some unpackaged software and test data @@ -811,7 +802,7 @@ using sh's word-splitting rules.") (arguments '(#:import-path "github.com/syncthing/notify")) (propagated-inputs - `(("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) + `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) (synopsis "File system event notification library") (description "This package provides @code{notify}, a file system event notification library in Go.") diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index cd40ce3744a..22083940c47 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -721,42 +721,6 @@ programmer to write text-based user interfaces.") (home-page "https://github.com/nsf/termbox-go") (license license:expat)))) -(define-public go-golang.org-x-crypto-ssh-terminal - (let ((commit "c78caca803c95773f48a844d3dcab04b9bc4d6dd") - (revision "0")) - (package - (name "go-golang.org-x-crypto-ssh-terminal") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/crypto") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0vxlfxr9y681yn2cfh6dbqmq35vvq4f45ay0mm31ffkny9cms0y4")))) - (build-system go-build-system) - (arguments - '(#:import-path "golang.org/x/crypto/ssh/terminal" - #:unpack-path "golang.org/x/crypto" - #:phases - (modify-phases %standard-phases - (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable - (lambda* (#:key outputs #:allow-other-keys) - (map (lambda (file) - (make-file-writable file)) - (find-files - (string-append (assoc-ref outputs "out") - "/src/golang.org/x/crypto/ed25519/testdata") - ".*\\.gz$")) - #t))))) - (synopsis "Support functions for dealing with terminals in Go") - (description "@code{terminal} provides support functions for dealing -with terminals in Go.") - (home-page "https://go.googlesource.com/crypto/") - (license license:bsd-3)))) - (define-public go-github-com-junegunn-fzf (package (name "go-github-com-junegunn-fzf") @@ -779,7 +743,7 @@ with terminals in Go.") ("go-github-com-mattn-go-shellwords" ,go-github-com-mattn-go-shellwords) ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) ("go-github-com-gdamore-tcell" ,go-github-com-gdamore-tcell) - ("go-golang-org-x-crypto-ssh-terminal" ,go-golang-org-x-crypto-ssh-terminal))) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) (home-page "https://github.com/junegunn/fzf") (synopsis "Command-line fuzzy-finder") (description "This package provides an interactive command-line filter @@ -805,8 +769,8 @@ usable with any list--including files, command history, processes and more.") (arguments '(#:import-path "github.com/howeyc/gopass")) (propagated-inputs - `(("go-golang.org-x-crypto-ssh-terminal" - ,go-golang.org-x-crypto-ssh-terminal))) + `(("go-golang-org-x-crypto" + ,go-golang-org-x-crypto))) (synopsis "Retrieve password from a terminal or piped input in Go") (description "@code{gopass} is a Go package for retrieving a password from user diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index d106bf7a6f9..45ae63f1938 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -6775,7 +6775,7 @@ Anonip can also be uses as a Python module in your own Python application.") (build-system go-build-system) (propagated-inputs `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron) - ("go-golang-org-x-time-rate" ,go-golang-org-x-time-rate))) + ("go-golang-org-x-time" ,go-golang-org-x-time))) (arguments `(#:import-path "github.com/tsileo/poussetaches")) (home-page "https://github.com/tsileo/poussetaches") -- cgit v1.3 From edc85fd6da7317e126f57e9d7efda5b629f6233d Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Thu, 7 Nov 2019 19:58:15 +0000 Subject: gnu: Add nginx Accept Language module. * gnu/packages/web.scm (nginx-accept-language-module): New public variable. --- gnu/packages/web.scm | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 149 insertions(+), 1 deletion(-) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 45ae63f1938..4274dbdead0 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -35,6 +35,7 @@ ;;; Copyright © 2019 Alex Griffin ;;; Copyright © 2019 Hartmut Goebel ;;; Copyright © 2019 Jakob L. Kreuze +;;; Copyright © 2019 Florian Pelz ;;; ;;; This file is part of GNU Guix. ;;; @@ -134,7 +135,8 @@ #:use-module (gnu packages valgrind) #:use-module (gnu packages version-control) #:use-module (gnu packages vim) - #:use-module (gnu packages xml)) + #:use-module (gnu packages xml) + #:use-module ((srfi srfi-1) #:select (delete-duplicates))) (define-public httpd (package @@ -395,6 +397,152 @@ documentation.") "This package provides HTML documentation for the nginx web server.") (license license:bsd-2)))) +(define-public nginx-accept-language-module + ;; Upstream has never made a release; use current commit instead. + (let ((commit "2f69842f83dac77f7d98b41a2b31b13b87aeaba7") + (revision "1")) + (package + (name "nginx-accept-language-module") + (version (git-version "0.0.0" ;upstream has no version number + revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/giom/nginx_accept_language_module.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1hjysrl15kh5233w7apq298cc2bp4q1z5mvaqcka9pdl90m0vhbw")))) + (build-system gnu-build-system) + (inputs `(("openssl" ,openssl) + ("pcre" ,pcre) + ("nginx-sources" ,(package-source nginx)) + ("zlib" ,zlib))) + (arguments + `(#:tests? #f ; no test target + #:make-flags (list "modules") + #:modules ((guix build utils) + (guix build gnu-build-system) + (ice-9 popen) + (ice-9 regex) + (ice-9 textual-ports)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'unpack-nginx-sources + (lambda* (#:key inputs native-inputs #:allow-other-keys) + (begin + ;; The nginx source code is part of the module’s source. + (format #t "decompressing nginx source code~%") + (call-with-output-file "nginx.tar" + (lambda (out) + (let* ((gzip (assoc-ref inputs "gzip")) + (nginx-srcs (assoc-ref inputs "nginx-sources")) + (pipe (open-pipe* OPEN_READ + (string-append gzip "/bin/gzip") + "-cd" + nginx-srcs))) + (dump-port pipe out) + (unless (= (status:exit-val (close-pipe pipe)) 0) + (error "gzip decompress failed"))))) + (invoke (string-append (assoc-ref inputs "tar") "/bin/tar") + "xvf" "nginx.tar" "--strip-components=1") + (delete-file "nginx.tar") + #t))) + (add-after 'unpack 'convert-to-dynamic-module + (lambda _ + (begin + (with-atomic-file-replacement "config" + (lambda (in out) + ;; cf. https://www.nginx.com/resources/wiki/extending/new_config/ + (format out "ngx_module_type=HTTP~%") + (format out "ngx_module_name=\ +ngx_http_accept_language_module~%") + (let* ((str (get-string-all in)) + (rx (make-regexp + "NGX_ADDON_SRCS=\"\\$NGX_ADDON_SRCS (.*)\"")) + (m (regexp-exec rx str)) + (srcs (match:substring m 1))) + (format out (string-append "ngx_module_srcs=\"" + srcs "\"~%"))) + (format out ". auto/module~%") + (format out "ngx_addon_name=$ngx_module_name~%")))))) + (add-before 'configure 'patch-/bin/sh + (lambda _ + (substitute* "auto/feature" + (("/bin/sh") (which "sh"))) + #t)) + (replace 'configure + ;; This phase is largely copied from the nginx package. + (lambda* (#:key outputs #:allow-other-keys) + (let ((flags + (list ;; A copy of nginx’ flags follows, otherwise we + ;; get a binary compatibility error. FIXME: Code + ;; duplication is bad. + (string-append "--prefix=" (assoc-ref outputs "out")) + "--with-http_ssl_module" + "--with-http_v2_module" + "--with-pcre-jit" + "--with-debug" + ;; Even when not cross-building, we pass the + ;; --crossbuild option to avoid customizing for the + ;; kernel version on the build machine. + ,(let ((system "Linux") ; uname -s + (release "3.2.0") ; uname -r + ;; uname -m + (machine (match (or (%current-target-system) + (%current-system)) + ("x86_64-linux" "x86_64") + ("i686-linux" "i686") + ("mips64el-linux" "mips64") + ;; Prevent errors when querying + ;; this package on unsupported + ;; platforms, e.g. when running + ;; "guix package --search=" + (_ "UNSUPPORTED")))) + (string-append "--crossbuild=" + system ":" release ":" machine)) + ;; The following are the args decribed on + ;; . + ;; Enabling --with-compat here and in the nginx package + ;; would ensure binary compatibility even when using + ;; different configure options from the main nginx + ;; package. This is not needed for Guix. + ;; "--with-compat" + "--add-dynamic-module=."))) + (setenv "CC" "gcc") + (format #t "environment variable `CC' set to `gcc'~%") + (format #t "configure flags: ~s~%" flags) + (apply invoke "./configure" flags) + #t))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (modules-dir (string-append out "/etc/nginx/modules")) + (doc-dir (string-append + out "/share/doc/nginx-accept-language-module"))) + (mkdir-p modules-dir) + (copy-file "objs/ngx_http_accept_language_module.so" + (string-append + modules-dir "/ngx_http_accept_language_module.so")) + (mkdir-p doc-dir) + (copy-file "README.textile" + (string-append doc-dir "/README.textile")) + #t)))))) + (home-page + "https://www.nginx.com/resources/wiki/modules/accept_language/") + (synopsis "Nginx module for parsing the Accept-Language HTTP header") + (description + "This nginx module parses the Accept-Language field in HTTP headers and +chooses the most suitable locale for the user from the list of locales +supported at your website.") + (license (delete-duplicates + (cons license:bsd-2 ;license of nginx-accept-language-module + ;; The module’s code is linked statically with nginx, + ;; therefore nginx’ other licenses may also apply to its + ;; binary: + (package-license nginx))))))) + (define-public fcgi (package (name "fcgi") -- cgit v1.3 From b1bbdd7d1aa32e59837e1aa9972e45fdbcd25516 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 Nov 2019 17:56:24 +0100 Subject: gnu: perl-http-cookies: Update to 6.06. * gnu/packages/web.scm (perl-http-cookies): Update to 6.06. --- gnu/packages/web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 4274dbdead0..1ea73bfa5b9 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -3008,7 +3008,7 @@ jar in conformance with RFC 6265 .") (define-public perl-http-cookies (package (name "perl-http-cookies") - (version "6.05") + (version "6.06") (source (origin (method url-fetch) (uri (string-append @@ -3016,7 +3016,7 @@ jar in conformance with RFC 6265 .") version ".tar.gz")) (sha256 (base32 - "0pbgns2gwgvgg9rglah7ryw0jj13aykyf38lnhm3rwzw3c2cvqaq")))) + "13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77")))) (build-system perl-build-system) (propagated-inputs `(("perl-http-message" ,perl-http-message))) -- cgit v1.3 From cfdbf2a5c43a6553dad4f7077de26cfa1c15d83b Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 3 May 2019 12:11:58 +0200 Subject: gnu: Add java-signpost-core. * gnu/packages/web.scm (java-signpost-core): New variable. --- gnu/packages/web.scm | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 1ea73bfa5b9..7ce4889caf5 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -25,7 +25,7 @@ ;;; Copyright © 2017 Pierre Langlois ;;; Copyright © 2017 Rutger Helling ;;; Copyright © 2017, 2019 Christopher Baines -;;; Copyright © 2018 Julien Lepiller +;;; Copyright © 2018, 2019 Julien Lepiller ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2018 Gábor Boskovits ;;; Copyright © 2018 Mădălin Ionel Patrașcu @@ -6529,6 +6529,36 @@ provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jQuery-like methods.") (license license:expat))) +(define-public java-signpost-core + (package + (name "java-signpost-core") + (version "1.2.1.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mttkay/signpost") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "signpost-core.jar" + #:source-dir "signpost-core/src/main/java" + #:test-dir "signpost-core/src/test" + ;; Tests all fail with InstantiationException from mockito + #:tests? #f)) + (propagated-inputs + `(("java-commons-codec" ,java-commons-codec))) + (home-page "https://github.com/mttkay/signpost") + (synopsis "Lightweight client-side OAuth library for Java") + (description "Signpost is the easy and intuitive solution for signing +HTTP messages on the Java platform in conformance with the OAuth Core 1.0a +standard. Signpost follows a modular and flexible design, allowing you to +combine it with different HTTP messaging layers.") + (license license:asl2.0))) + (define-public tidyp (package (name "tidyp") -- cgit v1.3