aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/libunistring.scm
blob: f0b071f11c00d39f546cfab4cedd1711e538c473 (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, 2022 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 gexp)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages)
  #:use-module (gnu packages base))

(define-public libunistring
  (package
   (name "libunistring")
   (version "1.1")
   (source (origin
            (method url-fetch)
            (uri (string-append
                  "mirror://gnu/libunistring/libunistring-"
                  version ".tar.xz"))
            (sha256
             (base32
              "164vfbh3sf0qjcimjbnz4icqr9cai30dli8p2y5p6z3frfwiwz42"))))
   (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>.
    (list
      #:parallel-build? #f
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'install 'move-static-library
            (lambda* (#:key outputs #:allow-other-keys)
              (with-directory-excursion (string-append #$output "/lib")
                (install-file "libunistring.a"
                              (string-append #$output:static "/lib"))
                (delete-file "libunistring.a")))))))
   (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+))))
uments]: <#:phases>: Add 'fix-embed-files. Change-Id: Ifdd422e4574291d7a101b28862bc129262b48196 Sharlatan Hellseher 2024-11-09gnu: go-github-com-prometheus-common: Fix build....* gnu/packages/prometheus.scm (go-github-com-prometheus-common): Fix build. [arguments]: <#:phases>: Add 'fix-embed-files. Change-Id: Ia213327d15288315b54b623c4a15837d7d895a69 Sharlatan Hellseher 2024-08-27gnu: go-github-com-prometheus-client-golang: Disable tests on non 64bit archi......As seen in CI <https://ci.guix.gnu.org/build/5483940/log/raw>. * gnu/packages/gnu/packages/prometheus.scm (go-github-com-prometheus-client-golang): Disable tests on non 64bit architecture. Change-Id: Ic2f23e1aec24e72056741d4f6fe1fa479bf5e60e Sharlatan Hellseher 2024-08-27gnu: go-github-com-prometheus-procfs: Disable tests on non x86_64 architecture....As seen in CI <https://ci.guix.gnu.org/build/5475510/log/raw>. * gnu/packages/prometheus.scm (go-github-com-prometheus-procfs): Disable tests on non x86_64 architecture. Change-Id: I5f8a4431110cd4b64a2310c2d0b8b0b789216e0d Sharlatan Hellseher 2024-08-27gnu: go-github-com-prometheus-common: Adjust tests for non x86_64 architecture....As seen in CI <https://ci.guix.gnu.org/build/5327084/log/raw>. * gnu/packages/prometheus.scm (go-github-com-prometheus-common) [arguments] <#:phases>: Adjust selection of Golang packages during 'check phase. Change-Id: I2dba887aeaf9268df135c1a0483023c08853d0c7 Sharlatan Hellseher 2024-08-25gnu: go-github-com-prometheus-procfs: Enable tests....* gnu/packages/prometheus.scm (go-github-com-prometheus-procfs): Enable tests. [arguments] <#:phases>: Add 'unpack-testdata and 'remove-testdata phases. Use custom 'check phase. Change-Id: Iae01ce9cb57748ce4b155e2b814dd69ff9ba5114 Sharlatan Hellseher 2024-08-25gnu: Add go-github-com-prometheus-statsd-exporter....* gnu/packages/prometheus.scm (go-github-com-prometheus-statsd-exporter): New variable. Change-Id: Ibb45cfd1d4b944d6c809305650df6c323bbf52e0 Sharlatan Hellseher 2024-08-25gnu: Add go-github-com-prometheus-exporter-toolkit....* gnu/packages/prometheus.scm (go-github-com-prometheus-exporter-toolkit): New variable. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Change-Id: I89d3a28a1f8ceab9ec3e8754582b2292205b3772 Leo Nikkilä 2024-07-25gnu: go-github-com-prometheus-procfs: Move to prometheus....* gnu/packages/golang.scm (go-github-com-prometheus-procfs): Move from here ... * gnu/packages/prometheus.scm: ... to here. Remove (gnu packages golang) module. * gnu/packages/golang.scm: Remove (gnu packages prometheus) module. * gnu/packages/prometheus.scm: Remove (gnu packages golang) module. Change-Id: I3dd26ebc80c0a9fad47cec9887d6f52ad21bdc45 Sharlatan Hellseher 2024-07-25gnu: go-github-com-nbrownus-go-metrics-prometheus: Move to prometheus....* gnu/packages/golang-xyz.scm (go-github-com-nbrownus-go-metrics-prometheus): Move from here ... * gnu/packages/prometheus.scm: ... to here. Change-Id: I02393dd3620d7c194c4bbba6404e5c0150f8448a Sharlatan Hellseher 2024-07-25gnu: go-github-com-prometheus-client-golang: Move to prometheus....* gnu/packages/golang.scm (go-github-com-prometheus-client-golang): Move from here ... * gnu/packages/prometheus.scm: ... to here. * gnu/packages/backup.scm: Add (gnu packages prometheus) module. * gnu/packages/golang-xyz.scm: Likewise. * gnu/packages/ipfs.scm: Likewise. * gnu/packages/irc.scm: Likewise. * gnu/packages/web.scm: Likewise. Change-Id: If3d78d31b1491f8a95616e59f50371c2914242d9 Sharlatan Hellseher 2024-07-25gnu: Add go-github-com-prometheus-common-sigv4....* gnu/packages/prometheus.scm (go-github-com-prometheus-common-sigv4): New variable. Change-Id: Id023eec48d48f53b70882809fad139362a48803c Sharlatan Hellseher 2024-07-25gnu: Add go-github-com-prometheus-common-assets....* gnu/packages/prometheus.scm (go-github-com-prometheus-common-assets): New variable. Change-Id: I75e9cea67883076d20aef6be5f144397bd4da4f8 Sharlatan Hellseher 2024-07-25gnu: go-github-com-prometheus-common: Move to prometheus....* gnu/packages/golang.scm (go-github-com-prometheus-common): Move from here ... * gnu/packages/prometheus.scm: ... to here. Change-Id: I344f9b5b62569b3a0fde6ed96621f409bb7350a9 Sharlatan Hellseher 2024-07-25gnu: Add go-github-com-mwitkow-go-conntrack....* gnu/packages/prometheus.scm (go-github-com-mwitkow-go-conntrack): New variable. Change-Id: I874b96a61ee116fee435e3817d84802fa48eacfe Sharlatan Hellseher 2024-07-25gnu: go-github-com-prometheus-client-model: Move to prometheus....* gnu/packages/golang-xyz.scm (go-github-com-prometheus-client-model): Move from here ... * gnu/packages/prometheus.scm: ... to here. * gnu/packages/golang.scm: Add (gnu packages prometheus) module. * gnu/packages/networking.scm: Likewise. Change-Id: Ibbfc4100dfe33f9524eee99a461e7760f06a8eb3 Sharlatan Hellseher 2024-07-25gnu: Add packages/prometheus module....* gnu/packages/prometheus.scm: New file. * gnu/local.mk: Add gnu/packages/prometheus.scm to the scope. Change-Id: Ie291afe3b4470c1681d3d77e62ffe2ee090d3a54 Sharlatan Hellseher