aboutsummaryrefslogtreecommitdiff
path: root/tests/syscalls.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/syscalls.scm')
0 files changed, 0 insertions, 0 deletions
l) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages ssh) #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (srfi srfi-1)) (define-public curl (package (name "curl") (version "8.6.0") (replacement curl/fixed) (source (origin (method url-fetch) (uri (string-append "https://curl.se/download/curl-" version ".tar.xz")) (sha256 (base32 "05fv468yjrb7qwrxmfprxkrcckbkij0myql0vwwnalgr3bcmbk9w")) (patches (search-patches "curl-use-ssl-cert-env.patch")))) (outputs '("out" "doc")) ;1.2 MiB of man3 pages (build-system gnu-build-system) (arguments (list #:disallowed-references '("doc") #:configure-flags #~(list "--with-gnutls" (string-append "--with-gssapi=" (dirname (dirname (search-input-file %build-inputs "lib/libgssrpc.so")))) "--disable-static") #:test-target "test-nonflaky" ;avoid tests marked as "flaky" #:phases #~(modify-phases %standard-phases (add-after 'unpack 'do-not-record-configure-flags (lambda _ ;; Do not save the configure options to avoid unnecessary references. (substitute* "curl-config.in" (("@CONFIGURE_OPTIONS@") "\"not available\"")))) (add-after 'install 'move-man3-pages (lambda _ ;; Move section 3 man pages to "doc". (mkdir-p (string-append #$output:doc "/share/man")) (rename-file (string-append #$output "/share/man/man3") (string-append #$output:doc "/share/man/man3")))) (replace 'check (lambda* (#:key tests? parallel-tests? make-flags #:allow-other-keys) (substitute* "tests/runtests.pl" (("/bin/sh") (which "sh"))) (when tests? (let* ((job-count (string-append "-j" (if parallel-tests? (number->string (parallel-job-count)) "1"))) ;; Ignore test 1477 due to a missing file in the 8.5.0 ;; release. See ;; <https://github.com/curl/curl/issues/12462>. (arguments `("-C" "tests" "test" ,@make-flags ,(if #$(or (system-hurd?) (target-arm32?) (target-aarch64?)) ;; protocol FAIL (string-append "TFLAGS=~1474 " "!1477 " job-count) (string-append "TFLAGS=\"~1477 " job-count "\""))))) ;; The top-level "make check" does "make -C tests quiet-test", which ;; is too quiet. Use the "test" target instead, which is more ;; verbose. (apply invoke "make" arguments))))) #$@(if (system-hurd?) #~((add-after 'unpack 'skip-tests (lambda _ (let ((port (open-file "tests/data/DISABLED" "a"))) (display "526\n" port) (display "527\n" port) (display "532\n" port) (display "533\n" port) (display "537\n" port) (display "546\n" port) (display "564\n" port) (display "575\n" port) (display "1021\n" port) (display "1501\n" port) (close port))))) #~())))) (native-inputs (list nghttp2 perl pkg-config python-minimal-wrapper)) (inputs (list gnutls libidn libpsl mit-krb5 `(,nghttp2 "lib") zlib)) (native-search-paths ;; These variables are introduced by curl-use-ssl-cert-env.patch. (list $SSL_CERT_DIR $SSL_CERT_FILE ;; Note: This search path is respected by the `curl` command-line ;; tool only. Patching libcurl to read it too would bring no ;; advantages and require maintaining a more complex patch. (search-path-specification (variable "CURL_CA_BUNDLE") (file-type 'regular) (separator #f) ;single entry (files '("etc/ssl/certs/ca-certificates.crt"))))) (synopsis "Command line tool for transferring data with URL syntax") (description "curl is a command line tool for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, Telnet and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, file transfer resume, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos...), proxy tunneling, and so on.") (home-page "https://curl.se/") (license (license:non-copyleft &qu2021-07-24gnu: Use 'search-input-file' when looking for executables....* gnu/packages/admin.scm (isc-dhcp): Use 'search-input-file' when looking for executables. * gnu/packages/audio.scm (ableton-link): Likewise. * gnu/packages/benchmark.scm (fio): Likewise. * gnu/packages/bioinformatics.scm (roary): Likewise. (ngless): Likewise. * gnu/packages/boost.scm (boost-for-irods): Likewise. * gnu/packages/bootloaders.scm (grub): Likewise. (grub-efi): Likewise. * gnu/packages/chemistry.scm (inchi): Likewise. * gnu/packages/dictionaries.scm (ding): Likewise. * gnu/packages/dlang.scm (ldc): Likewise. * gnu/packages/education.scm (childsplay): Likewise. * gnu/packages/emacs-xyz.scm (emacs-hyperbole): Likewise. (emacs-haskell-mode): Likewise. (emacs-auctex): Likewise. (emacs-ggtags): Likewise. (emacs-graphviz-dot-mode): Likewise. (emacs-flycheck-grammalecte): Likewise. (emacs-counsel-notmuch): Likewise. (emacspeak): Likewise. (emacs-exwm): Likewise. (emacs-exwm-x): Likewise. (emacs-treemacs): Likewise. (emacs-telega): Likewise. (emacs-exiftool): Likewise. * gnu/packages/emulators.scm (higan): Likewise. * gnu/packages/engineering.scm (freehdl): Likewise. (librepcb): Likewise. * gnu/packages/entr.scm (entr): Likewise. * gnu/packages/file-systems.scm (libeatmydata): Likewise. (xfstests): Likewise. (mergerfs): Likewise. (mergerfs-tools): Likewise. * gnu/packages/finance.scm (monero-gui): Likewise. * gnu/packages/flashing-tools.scm (flashrom): Likewise. * gnu/packages/fontutils.scm (fontforge): Likewise. * gnu/packages/game-development.scm (python2-renpy): Likewise. * gnu/packages/games.scm (opensurge): Likewise. (xboard): Likewise. (hyperrogue): Likewise. (flare-game): Likewise. (chessx): Likewise. * gnu/packages/geo.scm (grass): Likewise. * gnu/packages/glib.scm (glib): Likewise. * gnu/packages/gnome.scm (mm-common): Likewise. (network-manager-openvpn): Likewise. (network-manager-vpnc): Likewise. (network-manager-openconnect): Likewise. (apostrophe): Likewise. * gnu/packages/gnupg.scm (pius): Likewise. (jetring): Likewise. * gnu/packages/gnuzilla.scm (icedove): Likewise. * gnu/packages/golang.scm (go-1.4): Likewise. * gnu/packages/graphviz.scm (xdot): Likewise. * gnu/packages/guile-xyz.scm (jupyter-guile-kernel): Likewise. * gnu/packages/haskell-xyz.scm (ghc-hindent): Likewise. * gnu/packages/ibus.scm (ibus): Likewise. * gnu/packages/image.scm (phockup): Likewise. * gnu/packages/irc.scm (quassel): Likewise. * gnu/packages/java.scm (drip): Likewise. (ant-bootstrap): Likewise. (tla2tools): Likewise. * gnu/packages/julia.scm (julia): Likewise. * gnu/packages/less.scm (lesspipe): Likewise. * gnu/packages/libreoffice.scm (libreoffice): Likewise. * gnu/packages/linux.scm (fuse): Likewise. (lm-sensors): Likewise. (bluez): Likewise. (fakeroot): Likewise. (inputattach): Likewise. * gnu/packages/lisp-xyz.scm (sbcl-cl-diskspace): Likewise. * gnu/packages/lisp.scm (lisp-repl-core-dumper): Likewise. * gnu/packages/lua.scm (fennel): Likewise. * gnu/packages/lxde.scm (spacefm): Likewise. * gnu/packages/mail.scm (public-inbox): Likewise. * gnu/packages/maths.scm (hdf-java): Likewise. (maxima): Likewise. (frama-c): Likewise. * gnu/packages/messaging.scm (libgadu): Likewise. * gnu/packages/music.scm (denemo): Likewise. (curseradio): Likewise. * gnu/packages/netpbm.scm (netpbm): Likewise. * gnu/packages/networking.scm (blueman): Likewise. (squid): Likewise. (aircrack-ng): Likewise. * gnu/packages/node.scm (node): Likewise. (node-llparse-frontend-bootstrap): Likewise. (node-llparse-bootstrap): Likewise. (llhttp-bootstrap): Likewise. (node-lts): Likewise. * gnu/packages/ocaml.scm (ocaml-4.11): Likewise. (opam): Likewise. (ocaml-graph): Likewise. * gnu/packages/orpheus.scm (orpheus): Likewise. * gnu/packages/password-utils.scm (password-store): Likewise. * gnu/packages/python.scm (pypy3): Likewise. * gnu/packages/qt.scm (qt5ct): Likewise. * gnu/packages/radio.scm (libosmo-dsp): Likewise. * gnu/packages/ruby.scm (ruby-pandoc-ruby): Likewise. * gnu/packages/rust.scm (rust-1.30): Likewise. * gnu/packages/screen.scm (byobu): Likewise. * gnu/packages/statistics.scm (r-with-tests): Likewise. * gnu/packages/suckless.scm (surf): Likewise. * gnu/packages/syndication.scm (gfeeds): Likewise. * gnu/packages/telephony.scm (mumble): Likewise. * gnu/packages/terminals.scm (alacritty): Likewise. * gnu/packages/tex.scm (texlive-bin): Likewise. * gnu/packages/uml.scm (plantuml): Likewise. * gnu/packages/version-control.scm (python-git-multimail): Likewise. (gitolite): Likewise. (hg-commitsigs): Likewise. (git-when-merged): Likewise. (git-imerge): Likewise. (gita): Likewise. * gnu/packages/video.scm (you-get): Likewise. * gnu/packages/vim.scm (eovim): Likewise. * gnu/packages/virtualization.scm (qemu): Likewise. (virt-manager): Likewise. (criu): Likewise. * gnu/packages/vpn.scm (strongswan): Likewise. (xl2tpd): Likewise. * gnu/packages/wm.scm (i3lock-fancy): Likewise. * gnu/packages/wxwidgets.scm (python-wxpython): Likewise. (python2-wxpython): Likewise. * gnu/packages/xdisorg.scm (autorandr): Likewise. * gnu/packages/xorg.scm (hackneyed-x11-cursors): Likewise. (v86d): Likewise. (mkfontdir): Likewise. (xpra): Likewise. Ludovic Courtès url.scm (string-append out "/share/guile/site/" (target-guile-effective-version) "/curl.scm")) (curl.go (string-append out "/lib/guile/" (target-guile-effective-version) "/site-ccache/curl.go")) (ext (string-append out "/lib/guile/" (target-guile-effective-version) "/extensions/libguile-curl"))) (substitute* curl.scm (("libguile-curl") ext)) ;; The build system does not actually compile the Scheme module. ;; So we can compile it and put it in the right place in one go. (invoke "guild" "compile" curl.scm "-o" curl.go))))))) (native-inputs (list pkg-config)) (inputs (list curl guile-3.0)) (home-page "http://www.lonelycactus.com/guile-curl.html") (synopsis "Curl bindings for Guile") (description "@code{guile-curl} is a project that has procedures that allow Guile to do client-side URL transfers, like requesting documents from HTTP or FTP servers. It is based on the curl library.") (license license:gpl3+))) (define-public guile2.2-curl (package (inherit guile-curl) (name "guile2.2-curl") (inputs (list curl guile-2.2)))) (define-public curlpp (package (name "curlpp") (version "0.8.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/jpbarrette/curlpp") (commit (string-append "v" version)))) (sha256 (base32 "1b0ylnnrhdax4kwjq64r1fk0i24n5ss6zfzf4hxwgslny01xiwrk")) (file-name (git-file-name name version)))) (build-system cmake-build-system) ;; There are no build tests to be had. (arguments '(#:tests? #f)) ;; The installed version needs the header files from the C library. (propagated-inputs (list curl)) (synopsis "C++ wrapper around libcURL") (description "This package provides a free and easy-to-use client-side C++ URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP; in particular it supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, kerberos, HTTP form based upload, proxies, cookies, user+password authentication, file transfer resume, http proxy tunneling and more!") (home-page "https://www.curlpp.org") (license license:expat))) (define-public h2c (package (name "h2c") (version "1.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/curl/h2c") (commit version))) (sha256 (base32 "1n8z6avzhg3yb330di2y9zymsps1qp1235p29kidcp4fkmn7fgb2")) (file-name (git-file-name name version)))) (build-system copy-build-system) (arguments '(#:install-plan '(("./h2c" "bin/")))) (inputs (list perl)) (home-page "https://curl.se/h2c/") (synopsis "Convert HTTP headers to a curl command line") (description "Provided a set of HTTP request headers, h2c outputs how to invoke curl to obtain exactly that HTTP request.") (license license:expat))) (define-public coeurl (package (name "coeurl") (version "0.3.1") (source (origin (method git-fetch) (uri (git-reference (url "https://nheko.im/nheko-reborn/coeurl") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1l9lx8chpc4bx7xxycdgr8mgqqjdrvipljmq869c2x1zjwrnasil")))) (build-system meson-build-system) (native-inputs (list doctest pkg-config)) (inputs (list curl libevent spdlog)) (home-page "https://nheko.im/nheko-reborn/coeurl") (synopsis "Simple async wrapper around CURL for C++") (description "Coeurl is a simple library to do HTTP requests asynchronously via cURL in C++.") (license license:expat))) (define-public curlie (package (name "curlie") (version "1.7.2") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/rs/curlie") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "04gwd9sqpykappnzyw9icgn5253cx1vwpr2h1fg7sgkyq3fjmsv0")))) (build-system go-build-system) (arguments `(#:import-path "github.com/rs/curlie")) (inputs (list curl go-golang-org-x-crypto go-golang-org-x-sys go-golang-org-x-term)) (home-page "https://curlie.io") (synopsis "The power of curl, the ease of use of httpie") (description "If you like the interface of HTTPie but miss the features of curl, curlie is what you are searching for. Curlie is a frontend to @code{curl} that adds the ease of use of @code{httpie}, without compromising on features and performance. All @code{curl} options are exposed with syntax sugar and output formatting inspired from @code{httpie}.") (license license:expat))) (define-public trurl (package (name "trurl") (version "0.9") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/curl/trurl") (commit (string-append name "-" version)))) (file-name (git-file-name name version)) (sha256 (base32 "10gsl0fdpybfcffmgf3qww7cpw3ifczl601042a2mqmwwrlx5zj7")))) (build-system gnu-build-system) (arguments (list #:test-target "test" #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) (string-append "PREFIX=" #$output)) #:phases #~(modify-phases %standard-phases (delete 'configure)))) (native-inputs (list python)) (inputs (list curl)) (home-page "https://curl.se/trurl/") (synopsis "Command line tool for URL parsing and manipulation") (description "@code{trurl} is a command line tool that parses and manipulates URLs, designed to help shell script authors everywhere. It is similar in spirit to @code{tr}. Here, @code{tr} stands for translate or transpose.") (license (license:non-copyleft "file://COPYING" "See COPYING in the distribution."))))