aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/nickle.scm
blob: 13eba5a050ba1ac68d9fbf0ed3e78e8c7de902ff (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Nikita <nikita@n0.is>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2024 Eric Bavier <bavier@posteo.net>
;;;
;;; 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 nickle)
  #:use-module (gnu packages)
  #:use-module (gnu packages readline)
  #:use-module (guix build-system gnu)
  #:use-module (guix download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages))

(define-public nickle
  (package
    (name "nickle")
    (version "2.97")
    (source (origin
              (method url-fetch)
              (uri (string-append "https://nickle.org/release/nickle-"
                                  version ".tar.gz"))
              (sha256
               (base32
                "0gqashcs3r0d1yp6rq6q2ayjdwsjxnd8z0ij55ayrbhn296l7mp2"))
              (patches (search-patches "nickle-man-release-date.patch"))))
    (build-system gnu-build-system)
    (inputs (list readline))
    (arguments
     '(#:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-build-date
           (lambda _
             ;; Our patch touches Makefile.am, but rather than rebootstrap,
             ;; make the substitution directly in Makefile.in.
             (substitute* "Makefile.in"
               (("BUILD_DATE") "RELEASE_DATE")))))))
    (synopsis "Numeric oriented programming language")
    (description
     "Nickle is a programming language based prototyping environment with
powerful programming and scripting capabilities.  Nickle supports a variety of
datatypes, especially arbitrary precision numbers.  The programming language
vaguely resembles C.  Some things in C which do not translate easily are
different, some design choices have been made differently, and a very few
features are simply missing.  Nickle provides the functionality of Unix bc, dc
and expr in a different form.  It is also an ideal environment for prototyping
complex algorithms.  Nickle's scripting capabilities make it a replacement for
spreadsheets in some applications, and its numeric features complement the
limited numeric functionality of text-oriented languages such as AWK and Perl.")
    (home-page "https://nickle.org/")
    (license license:expat)))
ix/commit/gnu/packages/crates-tls.scm?id=660c09d40a592f6e6971734688883881b584a8e7'>gnu: 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