aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages libedit)
  #:use-module (guix gexp)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix utils)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages ncurses))

(define-public libedit
  (package
    (name "libedit")
    (version "20191231-3.1")
    (source
     (origin
      (method url-fetch)
      (uri (string-append "https://thrysoee.dk/editline"
                          "/libedit-" version ".tar.gz"))
      (sha256
       (base32 "0wch48nml28jj6ild889745dsg2agm7mpvrmbl1gi98nw6vjrf6v"))))
    (build-system gnu-build-system)
    (arguments
     (if (and (%current-target-system) (target-x86-32?))
         (list #:configure-flags
               #~(list "CFLAGS=-g -O2 -Wno-incompatible-pointer-types"))
         '()))
    (inputs
     (list ncurses))
    (home-page "https://thrysoee.dk/editline/")
    (synopsis "NetBSD Editline library")
    (description
     "This is an autotool- and libtoolized port of the NetBSD Editline
library (libedit).  This Berkeley-style licensed command line editor library
provides generic line editing, history, and tokenization functions, similar to
those found in GNU Readline.")
    (license bsd-3)))

(define-public editline
  (package
    (name "editline")
    (version "1.17.1")
    (source
     (origin
      (method url-fetch)
      (uri (string-append
            "https://ftp.troglobit.com/editline/editline-" version ".tar.xz"))
      (sha256
       (base32 "03pw3z6pz590v8xfnjx0yynnzij2sb9xwjbvqvdzsid56crkn8nz"))))
    (build-system gnu-build-system)
    (home-page "https://troglobit.com/projects/editline/")
    (synopsis "Line editing library")
    (description
     "@code{editline} is a small line editing library.  It can be linked into almost
any program to provide command line editing and history functions.  It is call
compatible with the GNU Readline library, but at a fraction of the size,
and as a result fewer features.")
    (license bsd-4)))
ls.scm?id=00639426a65622b84807729c3ebf3c15fb9d5d95'>gnu: Add rust-rustls-webpki-0.102....* gnu/packages/crates-tls.scm (rust-rustls-webpki-0.102): New variable. (rust-rustls-webpki-0.101): Inherit from rust-rustls-webpki-0.102. Change-Id: I916376fa7a46022b1b2e7b21d938adc94267717a Signed-off-by: Efraim Flashner <efraim@flashner.co.il> VÖRÖSKŐI András 2024-02-20gnu: Add rust-rustls-native-certs-0.7....* gnu/packages/crates-tls.scm (rust-rustls-native-certs-0.7): New variable. (rust-rustls-native-certs-0.6): Inherit from rust-rustls-native-certs-0.7. Change-Id: Ic66c11b391be69929d0884a060d9a3bcdbfd3406 Signed-off-by: Efraim Flashner <efraim@flashner.co.il> VÖRÖSKŐI András 2024-02-20gnu: Add rust-rcgen-0.12....* gnu/packages/crates-tls.scm (rust-rcgen-0.12): New variable. (rust-rcgen-0.11): Inherit from rust-rcgen-0.12. Change-Id: I3e37ab618be638896c622ce32e6ad13bb492af40 Signed-off-by: Efraim Flashner <efraim@flashner.co.il> VÖRÖSKŐI András 2024-02-20gnu: Add rust-aws-lc-rs-1....* gnu/packages/crates-tls.scm (rust-aws-lc-rs-1): New variable. Change-Id: Ia9bb17237439f7b6dfce60a2477ab8a4759bfb49 VÖRÖSKŐI András 2024-02-20gnu: Add rust-aws-lc-sys-0.13....* gnu/packages/crates-tls.scm (rust-aws-lc-sys-0.13): New variable. Change-Id: I9d6fbe271d19cadd4aeee6f010d7ea4634c66566 VÖRÖSKŐI András 2024-02-20gnu: Add rust-aws-lc-fips-sys-0.12....* gnu/packages/crates-tls.scm (rust-aws-lc-fips-sys-0.12): New variable. Change-Id: I8d1d3382f9c08b6775d15d41a8fcbb6f8b2c69e4 VÖRÖSKŐI András 2024-02-20gnu: Add rust-rcgen-0.9....* gnu/packages/crates-tls.scm (rust-rcgen-0.9): New variable. Change-Id: Ibf2307d3019ed2bcaf0ae0c6af6a4235f77d7fd1 Efraim Flashner 2024-02-20gnu: Add rust-x509-parser-0.13....* gnu/packages/crates-tls.scm (rust-x509-parser-0.13): New variable. Change-Id: I450600b7e54f45e8d3b051cb0e634efd51a2fac2 Efraim Flashner 2024-02-20gnu: Add rust-x509-signature-0.5....* gnu/packages/crates-tls.scm (rust-x509-signature-0.5): New variable. Change-Id: Iac8f1f16d5fdaf73b11f925cf486fb42b62b33fd Efraim Flashner 2024-02-20gnu: rust-rustls-webpki-0.100: Update to 0.100.3....* gnu/packages/crates-tls.scm (rust-rustls-webpki-0.100): Update to 0.100.3. [cargo-development-inputs]: Add rust-rcgen-0.11. Change-Id: Id0d4a2b6bca68515ff0f2f20786bd476c23ae656 Efraim Flashner 2024-02-20gnu: rust-rustls-pemfile-1: Update to 1.0.4....* gnu/packages/crates-tls.scm (rust-rustls-pemfile-1): Update to 1.0.4. Change-Id: I7bc805697a2f5fba2b2176ef9aa1113371bdb46e Efraim Flashner 2024-02-20gnu: rust-rustls-0.19: Update to 0.19.1....* gnu/packages/crates-tls.scm (rust-rustls-0.19): Update to 0.19.1. [arguments]: Don't skip the build. Skip the tests. [cargo-development-inputs]: Add rust-criterion-0.3, rust-env-logger-0.8, rust-log-0.4, rust-webpki-roots-0.21. Change-Id: If5af476371a1b375c0dc674ba26fd52be53803d3 Efraim Flashner 2024-02-20gnu: rust-rustls-0.20: Update to 0.20.9....* gnu/packages/crates-tls.scm (rust-rustls-0.20): Update to 0.20.9. Change-Id: I5a4202f67683d63c260e1cd193064a10defed549 Efraim Flashner 2024-02-20gnu: rust-der-parser-6: Update to 6.0.1....* gnu/packages/crates-tls.scm (rust-der-parser-6): Update to 6.0.1. [arguments]: Don't skip the build. [cargo-development-inputs]: Replace rust-pretty-assertions-0.7 with 1. Change-Id: Ia6fcea5b682dd407cf4ebe9e8c5bd852356604b1 Efraim Flashner 2024-02-20gnu: rust-async-tls-0.10: Downgrade to 0.10.0....Later versions of this crate were yanked by upstream. * gnu/packages/crates-tls.scm (rust-async-tls-0.10): Downgrade to 0.10.0. [arguments]: Don't skip the build. Skip the tests. [cargo-inputs]: Replace rust-rustls-0.19 with 0.18, rust-webpki-roots-0.21 with 0.20. [cargo-development-inputs]: Add rust-async-std-1, rust-futures-executor-0.3, rust-futures-util-0.3, rust-lazy-static-1. Change-Id: Id16de637b32190470b2c106f9356829c7cf65036 Efraim Flashner 2024-02-20gnu: rust-async-native-tls-0.3: Don't skip the build....* gnu/packages/crates-tls.scm (rust-async-native-tls-0.3)[arguments]: Don't skip the build. [cargo-inputs]: Add rust-async-std-1. [cargo-development-inputs]: Add rust-async-std-1, rust-cfg-if-0.1, rust-env-logger-0.7, rust-futures-0.3, rust-tokio-0.2. Remove rust-threadpool-1. [native-inputs]: Add pkg-config. [inputs]: Add openssl. Change-Id: Ia7f5fb2b962ecb3eb0e048c2d34417ae4b4cd34b Efraim Flashner 2024-02-20gnu: rust-asn1: Move to (gnu packages crates-tls)....* gnu/packages/crates-io.scm (rust-asn1-0.15, rust-asn1-0.13, rust-asn1-derive-0.15, rust-asn1-derive-0.13, rust-asn1-rs-0.5, rust-asn1-rs-0.3, rust-asn1-rs-derive-0.4, rust-asn1-rs-derive-0.1, rust-asn1-rs-impl-0.1): Move from here ... * gnu/packages/crates-tls.scm: ... to here. Change-Id: I1293490ef4afe2a9609337e996bc8f2b0eb0e3e6 Efraim Flashner 2024-02-20gnu: rust-oid-registry: Move to (gnu packages crates-tls)....* gnu/packages/crates-io.scm (rust-oid-registry-0.6, rust-oid-registry-0.4, rust-oid-registry-0.3, rust-oid-registry-0.2): Move from here ... * gnu/packages/crates-tls.scm: ... to here. Change-Id: I81ae6f37fd22d328a168afd3fd5807e61538afdb Efraim Flashner 2024-02-20gnu: rust-der: Move to (gnu packages crates-tls)....* gnu/packages/crates-io.scm (rust-der-0.7, rust-der-0.6, rust-der-0.5, rust-der-0.4, rust-der-derive-0.7, rust-der-derive-0.6, rust-der-derive-0.5, rust-der-derive-0.4, rust-der-oid-macro-0.5, rust-der-parser-8, rust-der-parser-7, rust-der-parser-6): Move from here ... * gnu/packages/crates-tls.scm: ... to here. Change-Id: If4f61227b24a94a85c729c4c665c575c36ba710e Efraim Flashner 2024-02-20gnu: rust-x509-parser: Move to (gnu packages crates-tls)....* gnu/packages/crates-io.scm (rust-x509-parser-0.15, rust-x509-parser-0.14, rust-x509-parser-0.12): Move from here ... * gnu/packages/crates-tls.scm: ... to here. Change-Id: If01b17cf9b418e15616f1b80cefe6b071c8a18b0 Efraim Flashner 2024-02-20gnu: rust-rcgen: Move to (gnu packages crates-tls)....* gnu/packages/crates-io.scm (rust-rcgen-0.11, rust-rcgen-0.10, rust-rcgen-0.8): Move from here ... * gnu/packages/crates-tls.scm: ... to here. Change-Id: I428c7fe7fdbed8880bd5ddfe80f68b1e92be943a Efraim Flashner 2024-02-20gnu: rust-ring: Move to (gnu packages crates-crypto)....* gnu/packages/crates-io.scm (rust-ring-0.17, rust-ring-0.16, rust-ring-0.14, rust-ring-0.13): Move from here ... * gnu/packages/crates-crypto.scm: ... to here. Change-Id: I5137593364889a410962e40034a8c95aa627c664 Efraim Flashner 2024-02-20gnu: Remove rust-native-tls-0.1....* gnu/packages/crates-tls.scm (rust-native-tls-0.1): Delete variable. Change-Id: Idba61e8a83704488c13bb4ec827b2f1b48305390 Efraim Flashner 2024-02-20gnu: rust-security-framework: Move to (gnu packages crates-apple)....* gnu/packages/crates-io.scm (rust-security-framework-2, rust-security-framework-1, rust-security-framework-0.3, rust-security-framework-0.2, rust-security-framework-0.1, rust-security-framework-sys-2, rust-security-framework-sys-1, rust-security-framework-sys-0.3, rust-security-framework-sys-0.2, rust-security-framework-sys-0.1): Move from here ... * gnu/packages/crates-apple.scm: ... to here. Change-Id: Ic3fed59019265d19f8c0efa992566691a6a807f6 Efraim Flashner 2024-02-20gnu: rust-schannel-0.1: Move to (gnu packages crates-windows)....* gnu/packages/crates-io.scm (rust-schannel-0.1): Move from here ... * gnu/packages/crates-windows.scm: ... to here. Change-Id: If83411c1a155d69fc92953900231e02da3d7443a Efraim Flashner 2024-02-20gnu: rust-native-tls: Move to (gnu packages crates-tls)....* gnu/packages/crates-io.scm (rust-native-tls-0.2, rust-native-tls-0.1): Move from here ... * gnu/packages/crates-tls.scm: ... to here. Change-Id: I4104a0d75b5e4531203afb32432f3786d622b4c3 Efraim Flashner 2024-02-20gnu: rust-tls-parser-0.11: Move to (gnu packages crates-tls)....* gnu/packages/crates-io.scm (rust-tls-parser-0.11): Move from here ... * gnu/packages/crates-tls.scm: ... to here. Change-Id: Ib16d93596ad374a51b21f2762d8cf1da7cc21eda Efraim Flashner 2024-02-20gnu: rust-async-native-tls-0.3: Move to (gnu packages crates-tls)....* gnu/packages/crates-io.scm (rust-async-native-tls-0.3): Move from here ... * gnu/packages/crates-tls.scm: ... to here. Change-Id: Ib3289faa91bffed89cd965caede96145e0d17411 Efraim Flashner 2024-02-20gnu: rust-async-tls-0.10: Move to (gnu packages crates-tls)....* gnu/packages/crates-io.scm (rust-async-tls-0.10): Move from here ... * gnu/packages/crates-tls.scm: ... to here. Change-Id: I171b67bbecf09bf41e32a79adfb40a421ffefdd7 Efraim Flashner 2024-02-20gnu: rust-rustls: Move to (gnu packages crates-tls)....* gnu/packages/crates-io.scm (rust-rustls-0.21, rust-rustls-0.20, rust-rustls-0.19, rust-rustls-0.18, rust-rustls-0.17, rust-rustls-0.16, rust-rustls-0.15, rust-rustls-0.14, rust-rustls-ffi-0.8, rust-rustls-native-certs-0.6, rust-rustls-native-certs-0.5, rust-rustls-native-certs-0.4, rust-rustls-pemfile-2, rust-rustls-pemfile-1, rust-rustls-pemfile-0.2, rust-rustls-pki-types-1, rust-rustls-webpki-0.101, rust-rustls-webpki-0.100): Move from here ... * gnu/packages/crates-tls.scm: ... to here. Change-Id: Ief4208a2f86151447337b9ca037b4b28f753a9f8 Efraim Flashner