aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/libbsd.scm
blob: 16a7e8fd895042d268fd1c602d00f884d8a34e96 (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
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;;
;;; 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 libbsd)
  #:use-module (guix build-system gnu)
  #:use-module (guix download)
  #:use-module (guix licenses)
  #:use-module (guix packages))

(define-public libbsd
  (package
    (name "libbsd")
    (version "0.10.0")
    (source (origin
              (method url-fetch)
              (uri (string-append "https://libbsd.freedesktop.org/releases/"
                                  "libbsd-" version ".tar.xz"))
              (sha256
               (base32
                "11x8q45jvjvf2dvgclds64mscyg10lva33qinf2hwgc84v3svf1l"))))
    (build-system gnu-build-system)
    (arguments
     '(#:configure-flags '("--disable-static")))
    (synopsis "Utility functions from BSD systems")
    (description "This library provides useful functions commonly found on BSD
systems, and lacking on others like GNU systems, thus making it easier to port
projects with strong BSD origins, without needing to embed the same code over
and over again on each project.")
    (home-page "https://libbsd.freedesktop.org/wiki/")
    ;; This package is a collection of third-party functions that were
    ;; originally released under various non-copyleft licenses.
    (license (list bsd-2 bsd-3 bsd-4 expat isc public-domain
                   (non-copyleft "file://COPYING"
                                 "See COPYING in the distribution.")))))
2024-11-09 21:33:52 +0000'>2024-11-09gnu: go-github-com-aead-chacha20: Fix indentation.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-aead-chacha20): Fix indentation. Change-Id: I2084ebd6a8472b5835498e19c115f778b46ff6d6 2024-11-09gnu: go-github-com-aead-chacha20: Update to 0.0.0-20180709150244-8b13a72661da.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-aead-chacha20): Update to 0.0.0-20180709150244-8b13a72661da. Change-Id: I01b464ea6da2f89a3d4e4eeba2e2c13d1f3ac10b 2024-11-09gnu: Add go-github-com-aead-ecdh.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-aead-ecdh): New variable. Change-Id: I50ddf2453834d8928be2301715fd6c207de5a536 2024-11-09gnu: build/go: Apply default 'fix-embed-files phase.Sharlatan Hellseher These changes remove redundant phases where files, requiring to be embed during build or check phases, are copied to the build directory as proposed in <https://issues.guix.gnu.org/73299>. * gnu/packages/backup.scm (restic-rest-server) [arguments]: <#:phases>: Remove 'fix-embed-files phase. * gnu/packages/configuration-management.scm (chezmoi): Likewise. * gnu/packages/packages/golang-build.scm (go-github-com-golang-protobuf): Likewise. * gnu/packages/golang-web.scm (go-github-com-go-openapi-loads, go-github-com-go-openapi-runtime, go-github-com-golang-groupcache): Likewise. * gnu/packages/golang-xyz.scm (go-github-com-dgraph-io-badger): Likewise. * gnu/packages/golang.scm (go-github-com-ssgelm-cookiejarparser): Likewise. * gnu/packages/ipfs.scm (go-github-com-ipfs-go-ds-badger, go-github-com-libp2p-go-libp2p, kubo): Likewise. * gnu/packages/irc.scm (soju): Likewise. * gnu/packages/networking.scm (nebula): Likewise. * gnu/packages/prometheus.scm (go-github-com-nbrownus-go-metrics-prometheus, go-github-com-prometheus-client-golang, go-github-com-prometheus-common, go-github-com-prometheus-common-sigv4, go-github-com-prometheus-exporter-toolkit, go-github-com-prometheus-statsd-exporter): Likewise * gnu/packages/version-control.scm (git-lfs): Likewise. * gnu/packages/web.scm (miniflux): Likewise. * gnu/packages/golang-crypto.scm (go-filippo-io-age): [arguments]: <#:phases>: Remove 'copy-input-to-vendor-direcotyr and 'remove-vendor-directory phases. * gnu/packages/golang-web.scm (go-github-com-go-openapi-analysis, go-github-com-go-openapi-analysis, go-github-com-go-openapi-validate): Likewise. * gnu/packages/golang.scm (go-github-com-charmbracelet-glamour): Likewise. * gnu/packages/textutils.scm (vale): Likewise. Change-Id: Ic2ec01c8caf86f3ae69d7a1812c1e0b78a549e91 2024-11-09gnu: packages/golang-crypto: Apply #:subdir parameter.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-decred-dcrd-crypto-blake256, go-github-com-decred-dcrd-dcrec-secp256k1-v4) [source]: Apply new <#:subdir> parameter for monorepo projects. Change-Id: I85004b257c767ce202129e621d78b285d4578f7a 2024-09-16gnu: Add go-github-com-jzelinskie-whirlpool.Superfly Johnson * gnu/packages/golang-crypto.scm (go-github-com-jzelinskie-whirlpool): New variable. Change-Id: I5a6f5cbbbdfc6c7f1a07f07459d87217a4fd3404 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> 2024-09-09gnu: Add go-github-com-decred-dcrd-dcrec-secp256k1-v4.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-decred-dcrd-dcrec-secp256k1-v4): New variable. Change-Id: Ibf57a9970c702bf95625e4145cf9630b0cb4d16c 2024-09-09gnu: Add go-github-com-dgryski-go-farm.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-dgryski-go-farm): New variable. Change-Id: I6e068af38b15451668287df08251da23609f47bd 2024-09-09gnu: Add go-github-com-decred-dcrd-crypto-blake256.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-decred-dcrd-crypto-blake256): New variable. Change-Id: I497f3ef1015d3260f11711cebd1c64eda5df3ac5 2024-09-09gnu: Add go-github-com-davidlazar-go-crypto.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-davidlazar-go-crypto): New variable. Change-Id: Ib2a070a460d1d6d02a6455881897d35f833bc4f8 2024-08-25gnu: Add go-github-com-youmark-pkcs8.Leo Nikkilä * gnu/packages/golang-crypto.scm (go-github-com-youmark-pkcs8): New variable. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Change-Id: If16a5d911d645396c5976893f2fc43a7f26bf283 2024-07-28gnu: Add go-github-com-emersion-go-bcrypt.Jean SIMARD * gnu/packages/golang-crypto.scm (go-github-com-emersion-go-bcrypt): New variable. Change-Id: Ib627f26eebe1e530668d5b8f971d082fb0ebbe77 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> 2024-07-28gnu: go-github-com-protonmail-go-crypto: Enable tests.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-protonmail-go-crypto): Enable tests. [arguments]: <#:phases>: Add custom 'check phase. Change-Id: I93f022ddc0f1145e136a13ba3e8e5a8cb86538c3 2024-07-28gnu: go-github-com-protonmail-go-crypto: Update to 1.0.0.Jean SIMARD * gnu/packages/golang-crypto.scm (go-github-com-protonmail-go-crypto): Update to 1.0.0. Adjust package style. [inputs]: Add go-github-com-cloudflare-circl. Change-Id: I775c32f7da0e1983c085ddaf24f7767909bdaebc Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> 2024-07-26gnu: go-github-com-emersion-go-pgpmail: Enable tests.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-emersion-go-pgpmail): Enable tests. Change-Id: I3317c27e942e2f5f52a25354b53b7d8cb8c252b0 2024-07-26gnu: go-github-com-emersion-go-pgpmail: Update to 0.2.1.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-emersion-go-pgpmail): Update to 0.2.1. [propagated-inputs]: Remove go-golang-org-x-crypto. Change-Id: I77a4f29b9f72482ff0a66033df122bb0528137e6 2024-07-26gnu: Add go-keyring.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-keyring): New variable. Change-Id: I492e1724ecaef9d6819d99be0aff8ee5a3d72b13 2024-07-26gnu: go-github-com-99designs-keyring: Enable tests.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-99designs-keyring): Refresh package style and enable tests. [arguments]: <#:phases>: Add 'disable-failing-test phase. [native-inputs]: Add gnupg, go-github-com-stretchr-testify, and password-store. Change-Id: Id679e834180b9d5ad5e7c1c4ce009d17b3c3ab5f 2024-07-26gnu: go-github-com-99designs-go-keyring: Rename variable.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-99designs-go-keyring): Rename variable to go-github-com-99designs-keyring to reflect go.mod import path. Change-Id: I0ceb3554cd9f2368958efe6493752ee5d2bfd919 2024-07-25gnu: Add go-github-com-cespare-xxhash.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-cespare-xxhash): New variable. (go-github-com-cespare-xxhash-v2): Inherit from go-github-com-cespare-xxhash. Change-Id: I2fd831ecd91729a87bbe204dda42841cb05abb69 2024-07-25gnu: go-github-com-cespare-xxhash: Rename variable.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-cespare-xxhash): Rename to go-github-com-cespare-xxhash-v2 to reflect go.mod import path. * gnu/packages/golang-xyz.scm (go-github-com-coocood-freecache) [propagated-inputs]: Remove go-github-com-cespare-xxhash, add go-github-com-cespare-xxhash-v2. * gnu/packages/networking.scm (nebula) [native-inputs]: Remove go-github-com-cespare-xxhash, add go-github-com-cespare-xxhash-v2. * gnu/packages/textutils.scm (csvdiff): Likewise. Change-Id: I4d26cea51178d25962933ff6f19f0afafef61d6d 2024-07-25gnu: go-github-com-oneofone-xxhash: Move to golang-crypto.Sharlatan Hellseher * gnu/packages/golang.scm (go-github-com-oneofone-xxhash): Move from here ... * gnu/packages/golang-crypto.scm: ... to here. Change-Id: I3cd79794512c92819771d1a639864c8218c1bdbc 2024-07-15gnu: go-github-com-quic-go-qtls-go1-20: Update to 0.4.1.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-quic-go-qtls-go1-20): Update to 0.4.1. Change-Id: I3f283357aa034208130f9775c7ff5a4c8e460115 2024-07-15gnu: age: Remove some failing test data.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (age): Refresh package style. [argument]: <#:phases>: Add 'remove-failing-test-data-files phase. Change-Id: I8875ebf6140467353f6893daeb818f71a9151924 2024-07-15gnu: go-filippo-io-age: Update to 1.2.0.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-filippo-io-age): Update to 1.2.0. [arguments]: <#:phases>: Add 'copy-input-to-vendor-directory phase, and 'remove-vendor-directory. [inputs]: Remove go-golang-org-x-sys, go-golang-org-x-term, go-golang-org-x-crypto, and go-filippo-io-edwards25519. [propagated-inputs]: Add go-golang-org-x-sys, go-golang-org-x-term, go-golang-org-x-crypto, and go-filippo-io-edwards25519. [native-inputs]: Add go-c2sp-org-cctv-age and go-github-com-rogpeppe-go-internal. Change-Id: I625001aa320653fd05db5d214948a9c5d0c200a3 2024-07-15gnu: Add go-c2sp-org-cctv-age.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-c2sp-org-cctv-age): New variable. Change-Id: Ib7f88cc33de9e4521df21856312182eff221f0a7 2024-07-15gnu: packages/golang-chrypto: Sort some packages.Sharlatan Hellseher Adjust order of some packages and place them in other golang-* ones, it contains inherited packages which produce just executable CLI commands without source installed. * gnu/packages/golang-crypto.scm (age, age-keygen): Move variable to the end of file. Change-Id: I58db45f58c537c1c1d59ca29d89267ddd5f5260c 2024-07-15gnu: packages/golang: Set default go version to 1.21.Sharlatan Hellseher Golang versions 1.17 (02 Aug 2022), 1.18 (01 Feb 2023), 1.19 (06 Sep 2023) and 1.20 (06 Feb 2024) are EOL <https://endoflife.date/go>. These changes set preferable default version to the minimal currently maintained one e.g. 1.21 * gnu/packages/golang.scm (go): Set default to go-1.21, add annotation for the future maintenance. Remove field <#:go> setting Golang version to go-1.18, go-1.19, 1.20 and 1.21: * gnu/packages/admin.scm * gnu/packages/configuration-management.scm * gnu/packages/databases.scm * gnu/packages/disk.scm * gnu/packages/education.scm * gnu/packages/file-systems.scm * gnu/packages/finance.scm * gnu/packages/golang-check.scm * gnu/packages/golang-crypto.scm * gnu/packages/golang-web.scm * gnu/packages/golang-xyz.scm * gnu/packages/golang.scm * gnu/packages/high-availability.scm * gnu/packages/ipfs.scm * gnu/packages/irc.scm * gnu/packages/messaging.scm * gnu/packages/networking.scm * gnu/packages/syncthing.scm * gnu/packages/textutils.scm * gnu/packages/time.scm * gnu/packages/version-control.scm * gnu/packages/video.scm Change-Id: Ieba6a5d7a18423f838d14c02ad55a2ba9c8559eb 2024-07-11gnu: Add go-github-com-google-go-tpm.Rodion Goritskov * gnu/packages/golang-crypto.scm (go-github-com-google-go-tpm): New variable. Change-Id: Ib7b640dcb4ea6b87fca1d320f044315620f7e5f3 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> 2024-06-27gnu: go-github-com-chmduquesne-rollinghash: Enable all tests.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-chmduquesne-rollinghash): Enable all tests. [arguments]: <#:phases>: Add custom 'check phase. [propagated-inputs]: Add go-code-cloudfoundry-org-bytefmt. Change-Id: I2cfe6b3d490de4b85ed0814e074caac1f73d6936 2024-06-27gnu: go-github-com-chmduquesne-rollinghash: Update to 4.0.0-1.9a5199b.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-chmduquesne-rollinghash): Update to 4.0.0-1.9a5199b. Change-Id: I24d00040c7d04513d9b15b99fbcf02c29f1f5d23 2024-06-27gnu: go-github-com-chmduquesne-rollinghash: Move to golang-crypto.Sharlatan Hellseher * gnu/packages/syncthing.scm (go-github-com-chmduquesne-rollinghash): Move from here ... * gnu/packages/golang-crypto.scm: ... to here. Change-Id: I61a942c07655f51a61e198613eeaa3eb240b8df9 2024-06-27gnu: go-github-com-go-asn1-ber-asn1-ber: Improve description.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-go-asn1-ber-asn1-ber) [description]: Apply textinfo acronym. Change-Id: Icdaae8b688d729de49011314b7dc82a98fc4ae21 2024-06-27gnu: go-github-com-go-asn1-ber-asn1-ber: Update to 1.5.7.Sharlatan Hellseher * gnu/packages/golang-crypto.scm (go-github-com-go-asn1-ber-asn1-ber): Update to 1.5.7. Change-Id: Iebabb5b67d196f7b8e599c472087126cc3ba9a72 2024-06-27gnu: go-github-com-go-asn1-ber-asn1-ber: Move to golang-crypto.Sharlatan Hellseher * gnu/packages/syncthing.scm (go-github-com-go-asn1-ber-asn1-ber): Move from here ... * gnu/packages/golang-crypto.scm: ... to here. Change-Id: Ib146ac76bbd2d7c34c315dc4f424d05ced597011