aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/libunistring.scm
blob: fda839be543dcde4e3ba85b3835bc2e54e689057 (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
66
67
68
69
70
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016, 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
;;;
;;; 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 libunistring)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages)
  #:use-module (gnu packages base))

(define-public libunistring
  (package
   (name "libunistring")
   (version "0.9.10")
   (source (origin
            (method url-fetch)
            (uri (string-append
                  "mirror://gnu/libunistring/libunistring-"
                  version ".tar.xz"))
            (sha256
             (base32
              "1mq57h06622m6qc5cv347fc3qk5mj840axw3c0vd7qmnwk1v53zb"))))
   (propagated-inputs (libiconv-if-needed))
   (outputs '("out" "static"))
   (build-system gnu-build-system)
   (arguments
    ;; Work around parallel build issue whereby C files may be compiled before
    ;; config.h is built: see <http://hydra.gnu.org/build/59381/nixlog/2/raw> and
    ;; <http://lists.openembedded.org/pipermail/openembedded-core/2012-April/059850.html>.
    '(#:parallel-build? #f
      #:phases (modify-phases %standard-phases
                 (add-after 'install 'move-static-library
                   (lambda* (#:key outputs #:allow-other-keys)
                     (let ((out (assoc-ref outputs "out"))
                           (static (assoc-ref outputs "static")))
                       (with-directory-excursion (string-append out "/lib")
                         (install-file "libunistring.a"
                                       (string-append static "/lib"))
                         (delete-file "libunistring.a")
                         #t)))))))
   (synopsis "C library for manipulating Unicode strings")
   (description
    "GNU libunistring is a library providing functions to manipulate
Unicode strings and for manipulating C strings according to the Unicode
standard.")
   (home-page "https://www.gnu.org/software/libunistring/")
   (license (list lgpl3+ gpl2))))
u/packages/terminals.scm (alacritty), * gnu/packages/text-editors.scm (kak-lsp, parinfer-rust), * gnu/packages/tree-sitter.scm (tree-sitter-cli), * gnu/packages/video.scm (rav1e), * gnu/packages/web.scm (monolith, castor) [arguments]: Enable tests. Efraim Flashner 2023-10-18gnu: rust-oorandom-11: Rename from rust-oorandom-11.1....* gnu/packages/crates-io.scm (rust-oorandom-11): Use new name. (rust-criterion-0.5, rust-criterion-0.4, rust-criterion-0.3, rust-salsa-0.17): Use new name. * gnu/packages/rust-apps.scm (rust-analyzer): Same. Efraim Flashner 2023-10-18gnu: rust-swc: Update to 1.2.124....* gnu/packages/rust-apps.scm (rust-swc): Update to 1.2.124. [source]: Add snippet to not hardcode dependency versions. [arguments]: Don't install package source. Don't skip tests. Add cargo-build-flags and cargo-test-flags to only build the swc_cli binary. Remove custom 'enable-unstable-phases, 'patch-build-failures phases. Use custom 'install phase. [cargo-inputs]: Add rust-abi-stable-0.10, rust-ahash-0.7, rust-ansi-term-0.12, rust-anyhow-1, rust-arrayvec-0.5, rust-arbitrary-1, rust-auto-impl-0.5, rust-auto-impl-0.4, rust-backtrace-0.3, rust-bincode-1, rust-bitflags-1, rust-browserslist-0.6, rust-cfg-if-0.1, rust-copyless-0.1, rust-debug-unreachable-0.1, rust-difference-2, rust-glob-0.3, rust-hex-0.4, rust-indexmap-1, rust-inflector-0.11, rust-lexical-5, rust-libloading-0.7, rust-lru-0.7, rust-mimalloc-rust-0.1, rust-normpath-0.2, rust-num-bigint-0.2, rust-owning-ref-0.4, rust-parking-lot-0.11, rust-parking-lot-core-0.8, rust-paw-0.8, rust-pmutil-0.5, rust-pretty-assertions-0.7, rust-pretty-assertions-0.6, rust-quote-1, rust-rayon-1, rust-rustc-hash-1, rust-semver-0.9, rust-serde-1, rust-serde-json-1, rust-serde-regex-1, rust-sha-1-0.9, rust-smallvec-1, rust-sourcemap-6, rust-string-cache-codegen-0.5, rust-structopt-0.3, rust-syn-1, rust-termcolor-1, rust-tracing-0.1, rust-tracing-subscriber-0.3, rust-typed-arena-2, rust-wasm-bindgen-0.2, rust-wasm-bindgen-futures-0.4, rust-unicode-width-0.1, rust-unicode-xid-0.2, rust-url-2. Replace rust-dashmap-3 with 4, rust-napi-0.5 with 2, rust-napi-build-0.2 with 1, rust-napi-derive-0.5 with 2, rust-ordered-float-1 with 2. Remove rust-fxhash-0.2, rust-jemallocator-0.3, rust-log-0.4, rust-mimalloc-0.1. [cargo-development-inputs]: Add rust-ansi-term-0.12, rust-dashmap-4, rust-hex-0.4, rust-ntest-0.7, rust-path-clean-0.1, rust-pretty-assertions-0.7, rust-reqwest-0.11, rust-sha-1-0.9, rust-url-2, rust-walkdir-2. Remove rust-num-bigint-0.2, rust-pretty-env-logger-0.3, rust-string-cache-codegen-0.5, rust-tempfile-3. Efraim Flashner 2023-10-16gnu: Add xsv....* gnu/packages/crates-io.scm (xsv): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Wilko Meyer 2023-10-12gnu: ripgrep: Prepare for cross-compiling....* gnu/packages/rust-apps.scm (ripgrep) [native-inputs]: Move pcre2 ... [inputs]: ... to here. Efraim Flashner