Merge branch 'staging'
This commit is contained in:
commit
6aa457fed1
@ -1689,6 +1689,7 @@ dist_patch_DATA = \
|
|||||||
%D%/packages/patches/python-piexif-fix-tests-with-pillow-7.2.patch \
|
%D%/packages/patches/python-piexif-fix-tests-with-pillow-7.2.patch \
|
||||||
%D%/packages/patches/python-pyfakefs-remove-bad-test.patch \
|
%D%/packages/patches/python-pyfakefs-remove-bad-test.patch \
|
||||||
%D%/packages/patches/python-pyflakes-test-location.patch \
|
%D%/packages/patches/python-pyflakes-test-location.patch \
|
||||||
|
%D%/packages/patches/python2-pyopenssl-openssl-compat.patch \
|
||||||
%D%/packages/patches/python-flint-includes.patch \
|
%D%/packages/patches/python-flint-includes.patch \
|
||||||
%D%/packages/patches/python-libxml2-utf8.patch \
|
%D%/packages/patches/python-libxml2-utf8.patch \
|
||||||
%D%/packages/patches/python-magic-python-bytecode.patch \
|
%D%/packages/patches/python-magic-python-bytecode.patch \
|
||||||
|
@ -1304,7 +1304,7 @@ command.")
|
|||||||
(name "tzdata")
|
(name "tzdata")
|
||||||
;; This package should be kept in sync with python-pytz in (gnu packages
|
;; This package should be kept in sync with python-pytz in (gnu packages
|
||||||
;; time).
|
;; time).
|
||||||
(version "2021e")
|
(version "2022a")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -1312,7 +1312,7 @@ command.")
|
|||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1cdjdcxl0s9xf0dg1z64kh7llm80byxqlzrkkjzcdlyh6yvl5v07"))))
|
"0r0nhwpk9nyxj5kkvjy58nr5d85568m04dcb69c4y3zmykczyzzg"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:tests? #f
|
(list #:tests? #f
|
||||||
@ -1380,7 +1380,7 @@ command.")
|
|||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0x8pcfmjvxk29yfh8bklchv2f0vpl4yih0gc4wyx292l78wncijq")))))
|
"1iysv8fdkm79k8wh8jizmjmq075q4qjhk090vxjy57my6dz5wmzq")))))
|
||||||
(home-page "https://www.iana.org/time-zones")
|
(home-page "https://www.iana.org/time-zones")
|
||||||
(synopsis "Database of current and historical time zones")
|
(synopsis "Database of current and historical time zones")
|
||||||
(description "The Time Zone Database (often called tz or zoneinfo)
|
(description "The Time Zone Database (often called tz or zoneinfo)
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix build-system copy)
|
#:use-module (guix build-system copy)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
@ -159,31 +160,27 @@ that was originally contributed to Debian.")
|
|||||||
(inputs '())
|
(inputs '())
|
||||||
(propagated-inputs '())
|
(propagated-inputs '())
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((guix build gnu-build-system)
|
(list #:modules '((guix build gnu-build-system)
|
||||||
(guix build utils)
|
(guix build utils)
|
||||||
(rnrs io ports)
|
(rnrs io ports)
|
||||||
(srfi srfi-26))
|
(srfi srfi-26))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases
|
#~(modify-phases
|
||||||
(map (cut assq <> %standard-phases)
|
(map (cut assq <> %standard-phases)
|
||||||
'(set-paths install-locale unpack))
|
'(set-paths install-locale unpack))
|
||||||
(add-after 'unpack 'install
|
(add-after 'unpack 'install
|
||||||
(lambda _
|
(lambda _
|
||||||
;; TODO: On the next rebuild cycle, remove references to
|
(let ((certsdir (string-append #$output
|
||||||
;; '%output' and '%outputs'.
|
"/etc/ssl/certs/")))
|
||||||
(let ((certsdir (string-append ,(if (%current-target-system)
|
(with-directory-excursion "nss/lib/ckfw/builtins/"
|
||||||
'(assoc-ref %outputs "out")
|
(unless (file-exists? "blacklist.txt")
|
||||||
'%output)
|
(call-with-output-file "blacklist.txt" (const #t)))
|
||||||
"/etc/ssl/certs/")))
|
;; Extract selected single certificates from blob.
|
||||||
(with-directory-excursion "nss/lib/ckfw/builtins/"
|
(invoke "certdata2pem")
|
||||||
(unless (file-exists? "blacklist.txt")
|
;; Copy .pem files into the output.
|
||||||
(call-with-output-file "blacklist.txt" (const #t)))
|
(for-each (cut install-file <> certsdir)
|
||||||
;; Extract selected single certificates from blob.
|
(find-files "." ".*\\.pem$")))
|
||||||
(invoke "certdata2pem")
|
(invoke "openssl" "rehash" certsdir)))))))
|
||||||
;; Copy .pem files into the output.
|
|
||||||
(for-each (cut install-file <> certsdir)
|
|
||||||
(find-files "." ".*\\.pem$")))
|
|
||||||
(invoke "openssl" "rehash" certsdir)))))))
|
|
||||||
(synopsis "CA certificates from Mozilla")
|
(synopsis "CA certificates from Mozilla")
|
||||||
(description
|
(description
|
||||||
"This package provides certificates for Certification Authorities (CA)
|
"This package provides certificates for Certification Authorities (CA)
|
||||||
|
@ -2740,13 +2740,13 @@ mocks, stubs and fakes.")
|
|||||||
(define-public python-flaky
|
(define-public python-flaky
|
||||||
(package
|
(package
|
||||||
(name "python-flaky")
|
(name "python-flaky")
|
||||||
(version "3.5.3")
|
(version "3.7.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "flaky" version))
|
(uri (pypi-uri "flaky" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1nm1kjf857z5aw7v642ffsy1vwf255c6wjvmil71kckjyd0mxg8j"))))
|
"03daz352021211kvdb056f3afrd2gsdq0rd1awgr38910xw01l9s"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; TODO: Tests require 'coveralls' and 'genty' which are not in Guix yet.
|
;; TODO: Tests require 'coveralls' and 'genty' which are not in Guix yet.
|
||||||
|
@ -62496,13 +62496,13 @@ different for every thread.")
|
|||||||
(name "rust-thread-id")
|
(name "rust-thread-id")
|
||||||
(version "3.3.0")
|
(version "3.3.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "thread-id" version))
|
(uri (crate-uri "thread-id" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7"))))
|
"1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7"))))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-libc" ,rust-libc-0.2)
|
(("rust-libc" ,rust-libc-0.2)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2018 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2012-2016, 2018, 2022 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2013, 2017 Cyril Roelandt <tipecaml@gmail.com>
|
;;; Copyright © 2013, 2017 Cyril Roelandt <tipecaml@gmail.com>
|
||||||
;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org>
|
;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org>
|
||||||
@ -56,6 +56,7 @@
|
|||||||
;;; Copyright © 2021 jgart <jgart@dismail.de>
|
;;; Copyright © 2021 jgart <jgart@dismail.de>
|
||||||
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
|
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
|
||||||
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
|
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
|
||||||
|
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
@ -90,6 +91,7 @@
|
|||||||
#:use-module (gnu packages curl)
|
#:use-module (gnu packages curl)
|
||||||
#:use-module (gnu packages cyrus-sasl)
|
#:use-module (gnu packages cyrus-sasl)
|
||||||
#:use-module (gnu packages dbm)
|
#:use-module (gnu packages dbm)
|
||||||
|
#:use-module (gnu packages docbook)
|
||||||
#:use-module (gnu packages emacs)
|
#:use-module (gnu packages emacs)
|
||||||
#:use-module (gnu packages flex)
|
#:use-module (gnu packages flex)
|
||||||
#:use-module (gnu packages freedesktop)
|
#:use-module (gnu packages freedesktop)
|
||||||
@ -1193,38 +1195,43 @@ and high-availability (HA).")
|
|||||||
(patches (search-patches "postgresql-disable-resolve_symlinks.patch"))))
|
(patches (search-patches "postgresql-disable-resolve_symlinks.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("--with-uuid=e2fs" "--with-openssl"
|
(list
|
||||||
;; PostgreSQL installs its own Makefile (should it?).
|
#:configure-flags
|
||||||
;; Prevent it from retaining needless references to
|
#~(list "--with-uuid=e2fs" "--with-openssl"
|
||||||
;; the build tools in order to save size.
|
(string-append "--mandir=" #$output "/share/man")
|
||||||
"MKDIR_P=mkdir -p" "INSTALL_BIN=install -c"
|
;; PostgreSQL installs its own Makefile (should it?).
|
||||||
"LD=ld" "TAR=tar")
|
;; Prevent it from retaining needless references to
|
||||||
#:phases
|
;; the build tools in order to save size.
|
||||||
(modify-phases %standard-phases
|
"MKDIR_P=mkdir -p" "INSTALL_BIN=install -c"
|
||||||
(add-before 'configure 'patch-/bin/sh
|
"LD=ld" "TAR=tar")
|
||||||
(lambda _
|
#:phases
|
||||||
;; Refer to the actual shell.
|
#~(modify-phases %standard-phases
|
||||||
(substitute* '("src/bin/pg_ctl/pg_ctl.c"
|
(add-before 'configure 'patch-/bin/sh
|
||||||
"src/bin/psql/command.c")
|
(lambda _
|
||||||
(("/bin/sh") (which "sh")))
|
;; Refer to the actual shell.
|
||||||
#t))
|
(substitute* '("src/bin/pg_ctl/pg_ctl.c"
|
||||||
(add-before 'configure 'set-socket-dir
|
"src/bin/psql/command.c")
|
||||||
(lambda _
|
(("/bin/sh") (which "sh")))))
|
||||||
(substitute* '("src/include/pg_config_manual.h")
|
(add-before 'configure 'set-socket-dir
|
||||||
(("DEFAULT_PGSOCKET_DIR[^\n]*")
|
(lambda _
|
||||||
"DEFAULT_PGSOCKET_DIR \"/var/run/postgresql\""))
|
(substitute* '("src/include/pg_config_manual.h")
|
||||||
#t))
|
(("DEFAULT_PGSOCKET_DIR[^\n]*")
|
||||||
(add-after 'build 'build-contrib
|
"DEFAULT_PGSOCKET_DIR \"/var/run/postgresql\""))))
|
||||||
(lambda _
|
(add-after 'build 'build-contrib
|
||||||
(invoke "make" "-C" "contrib")))
|
(lambda _
|
||||||
(add-after 'install 'install-contrib
|
(invoke "make" "-C" "contrib")))
|
||||||
(lambda _
|
(add-after 'install 'install-contrib
|
||||||
(invoke "make" "-C" "contrib" "install"))))))
|
(lambda _
|
||||||
(inputs
|
(invoke "make" "-C" "contrib" "install")))
|
||||||
`(("readline" ,readline)
|
(add-after 'install 'install-manuals
|
||||||
("libuuid" ,util-linux "lib")
|
(lambda _
|
||||||
("openssl" ,openssl)
|
(with-directory-excursion "doc/src/sgml"
|
||||||
("zlib" ,zlib)))
|
(invoke "make" "install-man")
|
||||||
|
(invoke "make" "postgres.info")
|
||||||
|
(install-file "postgres.info"
|
||||||
|
(string-append #$output "/share/info"))))))))
|
||||||
|
(native-inputs (list docbook-xml docbook2x libxml2 perl texinfo))
|
||||||
|
(inputs (list readline `(,util-linux "lib") openssl zlib))
|
||||||
(home-page "https://www.postgresql.org/")
|
(home-page "https://www.postgresql.org/")
|
||||||
(synopsis "Powerful object-relational database system")
|
(synopsis "Powerful object-relational database system")
|
||||||
(description
|
(description
|
||||||
@ -1239,36 +1246,15 @@ pictures, sounds, or video.")
|
|||||||
(define-public postgresql-13
|
(define-public postgresql-13
|
||||||
(package
|
(package
|
||||||
(inherit postgresql-14)
|
(inherit postgresql-14)
|
||||||
(version "13.4")
|
(version "13.6")
|
||||||
(source (origin
|
(source (origin
|
||||||
(inherit (package-source postgresql-14))
|
(inherit (package-source postgresql-14))
|
||||||
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
|
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
|
||||||
version "/postgresql-" version ".tar.bz2"))
|
version "/postgresql-" version ".tar.bz2"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1kf0gcsrl5n25rjlvkh87aywmn28kbwvakm5c7j1qpr4j01y34za"))))
|
"1z37ix80hb2bqa2smh1hbj9r507ypnl3pil43gkqznnlv6ipzz5s"))
|
||||||
(arguments
|
(patches (search-patches "postgresql-riscv-spinlocks.patch"))))))
|
||||||
(if (target-riscv64?)
|
|
||||||
`(,@(substitute-keyword-arguments (package-arguments postgresql-14)
|
|
||||||
((#:phases phases)
|
|
||||||
#~(modify-phases #$phases
|
|
||||||
(add-after 'unpack 'apply-riscv-spinlock-patch
|
|
||||||
;; The patch is applied in this custom phase and not via the
|
|
||||||
;; "origin" object above to avoid rebuilding a large number
|
|
||||||
;; of packages on other platforms.
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(let ((patch-file
|
|
||||||
#$(local-file
|
|
||||||
(search-patch
|
|
||||||
"postgresql-riscv-spinlocks.patch"))))
|
|
||||||
(invoke "patch" "-p1" "-i" patch-file))))))))
|
|
||||||
`(,@(package-arguments postgresql-14))))
|
|
||||||
(native-inputs
|
|
||||||
(if (target-riscv64?)
|
|
||||||
(list
|
|
||||||
(local-file (search-patch "postgresql-riscv-spinlocks.patch"))
|
|
||||||
patch)
|
|
||||||
'()))))
|
|
||||||
|
|
||||||
(define-public postgresql-11
|
(define-public postgresql-11
|
||||||
(package
|
(package
|
||||||
@ -1281,7 +1267,10 @@ pictures, sounds, or video.")
|
|||||||
version "/postgresql-" version ".tar.bz2"))
|
version "/postgresql-" version ".tar.bz2"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1qvrm0vhwnc5nijfbqybhwfjbq4r7vmk445sz7s6fiagpn78xxf8"))))))
|
"1qvrm0vhwnc5nijfbqybhwfjbq4r7vmk445sz7s6fiagpn78xxf8"))))
|
||||||
|
(native-inputs
|
||||||
|
(modify-inputs (package-native-inputs postgresql-13)
|
||||||
|
(replace "docbook-xml" docbook-xml-4.2)))))
|
||||||
|
|
||||||
(define-public postgresql-10
|
(define-public postgresql-10
|
||||||
(package
|
(package
|
||||||
@ -1293,7 +1282,11 @@ pictures, sounds, or video.")
|
|||||||
version "/postgresql-" version ".tar.bz2"))
|
version "/postgresql-" version ".tar.bz2"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"17v51a9vnz6lgbfmbdmcwsiyi572wndwa4n30nk2zr6gkgaidpl7"))))))
|
"17v51a9vnz6lgbfmbdmcwsiyi572wndwa4n30nk2zr6gkgaidpl7"))))
|
||||||
|
(native-inputs
|
||||||
|
(modify-inputs (package-native-inputs postgresql-11)
|
||||||
|
(append opensp docbook-sgml-4.2)
|
||||||
|
(delete "docbook-xml")))))
|
||||||
|
|
||||||
(define-public postgresql postgresql-13)
|
(define-public postgresql postgresql-13)
|
||||||
|
|
||||||
@ -1361,12 +1354,26 @@ pictures, sounds, or video.")
|
|||||||
(pg-union (string-append (getcwd) "/../pg-union")))
|
(pg-union (string-append (getcwd) "/../pg-union")))
|
||||||
(match inputs
|
(match inputs
|
||||||
(((names . directories) ...)
|
(((names . directories) ...)
|
||||||
(union-build pg-union (cons #$output directories))))
|
;; PG will only load extensions from its own $libdir,
|
||||||
|
;; which it calculates based on argv[0]. As of
|
||||||
|
;; PostgreSQL 13.6, it calls 'canonicalize_path' on
|
||||||
|
;; argv[0] so a merge symlink is not enough to trick
|
||||||
|
;; it; thus, the code below makes a full copy of PG
|
||||||
|
;; and friends such that 'pg_config --libdir', for
|
||||||
|
;; instance, points to PG-UNION, allowing it to load
|
||||||
|
;; the timescaledb extension.
|
||||||
|
(union-build pg-union (cons #$output directories)
|
||||||
|
#:symlink
|
||||||
|
(lambda (old new)
|
||||||
|
(if (file-is-directory? old)
|
||||||
|
(copy-recursively old new)
|
||||||
|
(copy-file old new))))))
|
||||||
(setenv "PATH" (string-append pg-union "/bin:"
|
(setenv "PATH" (string-append pg-union "/bin:"
|
||||||
(getenv "PATH")))
|
(getenv "PATH")))
|
||||||
(invoke "initdb" "-D" pg-data)
|
(invoke "initdb" "-D" pg-data)
|
||||||
(copy-file "test/postgresql.conf"
|
(copy-file "test/postgresql.conf"
|
||||||
(string-append pg-data "/postgresql.conf"))
|
(string-append pg-data "/postgresql.conf"))
|
||||||
|
|
||||||
(invoke "pg_ctl" "-D" pg-data
|
(invoke "pg_ctl" "-D" pg-data
|
||||||
"-o" (string-append "-k " pg-data)
|
"-o" (string-append "-k " pg-data)
|
||||||
"-l" (string-append pg-data "/db.log")
|
"-l" (string-append pg-data "/db.log")
|
||||||
|
@ -362,17 +362,18 @@ for DocBook.")
|
|||||||
(description "Documentation for the DocBook DSSSL style sheets.")
|
(description "Documentation for the DocBook DSSSL style sheets.")
|
||||||
(license (license:non-copyleft "file://doc/LEGALNOTICE.htm"))))
|
(license (license:non-copyleft "file://doc/LEGALNOTICE.htm"))))
|
||||||
|
|
||||||
(define-public docbook-sgml
|
(define-public docbook-sgml-4.2
|
||||||
(package
|
(package
|
||||||
(name "docbook-sgml")
|
(name "docbook-sgml")
|
||||||
(version "4.1")
|
(version "4.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://www.oasis-open.org/docbook/sgml/"
|
(uri (string-append
|
||||||
version "/docbk41.zip"))
|
"https://www.oasis-open.org/docbook/sgml/4.2/docbook-"
|
||||||
|
version ".zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"04b3gp4zkh9c5g9kvnywdkdfkcqx3kjc04j4mpkr4xk7lgqgrany"))))
|
"1hrm4qmmzi285bkxkc74lxvjvw2gbl7ycbaxhv31h9rl9g4x5sv7"))))
|
||||||
(build-system trivial-build-system)
|
(build-system trivial-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:modules ((guix build utils))
|
'(#:modules ((guix build utils))
|
||||||
@ -393,8 +394,8 @@ for DocBook.")
|
|||||||
;; Reference the ISO 8879 character entities.
|
;; Reference the ISO 8879 character entities.
|
||||||
;; e.g. "iso-lat1.gml" --> "<iso-entities-dir>/ISOlat1"
|
;; e.g. "iso-lat1.gml" --> "<iso-entities-dir>/ISOlat1"
|
||||||
(substitute* "docbook.cat"
|
(substitute* "docbook.cat"
|
||||||
(("(.*ISO 8879.*)\"iso-(.*)\\.gml\"" _ head name)
|
(("\"iso-(.*)\\.gml\"" _ name)
|
||||||
(string-append head "\"" iso-entities-dir "/ISO" name "\"")))))))
|
(string-append "\"" iso-entities-dir "/ISO" name "\"")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list unzip))
|
(list unzip))
|
||||||
(inputs
|
(inputs
|
||||||
@ -404,6 +405,20 @@ for DocBook.")
|
|||||||
(description "This package provides SGML style sheets for DocBook.")
|
(description "This package provides SGML style sheets for DocBook.")
|
||||||
(license (license:x11-style "" "See file headers."))))
|
(license (license:x11-style "" "See file headers."))))
|
||||||
|
|
||||||
|
(define-public docbook-sgml-4.1
|
||||||
|
(package
|
||||||
|
(inherit docbook-sgml-4.2)
|
||||||
|
(version "4.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://www.oasis-open.org/docbook/sgml/"
|
||||||
|
version "/docbk41.zip"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"04b3gp4zkh9c5g9kvnywdkdfkcqx3kjc04j4mpkr4xk7lgqgrany"))))))
|
||||||
|
|
||||||
|
(define-public docbook-sgml docbook-sgml-4.1)
|
||||||
|
|
||||||
(define-public docbook-sgml-3.1
|
(define-public docbook-sgml-3.1
|
||||||
(package
|
(package
|
||||||
(inherit docbook-sgml)
|
(inherit docbook-sgml)
|
||||||
|
@ -68,6 +68,7 @@
|
|||||||
#:use-module (gnu packages ncurses)
|
#:use-module (gnu packages ncurses)
|
||||||
#:use-module (gnu packages pdf)
|
#:use-module (gnu packages pdf)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
#:use-module (gnu packages selinux)
|
||||||
#:use-module (gnu packages texinfo)
|
#:use-module (gnu packages texinfo)
|
||||||
#:use-module (gnu packages tls)
|
#:use-module (gnu packages tls)
|
||||||
#:use-module (gnu packages web) ; for jansson
|
#:use-module (gnu packages web) ; for jansson
|
||||||
@ -262,7 +263,6 @@
|
|||||||
;; This is not needed for (modern) IMAP.
|
;; This is not needed for (modern) IMAP.
|
||||||
mailutils
|
mailutils
|
||||||
|
|
||||||
;; TODO: Add the optional dependencies.
|
|
||||||
gpm
|
gpm
|
||||||
libx11
|
libx11
|
||||||
gtk+
|
gtk+
|
||||||
@ -272,7 +272,9 @@
|
|||||||
libxft
|
libxft
|
||||||
libtiff
|
libtiff
|
||||||
giflib
|
giflib
|
||||||
|
lcms
|
||||||
libjpeg-turbo
|
libjpeg-turbo
|
||||||
|
libselinux
|
||||||
acl
|
acl
|
||||||
jansson
|
jansson
|
||||||
gmp
|
gmp
|
||||||
|
@ -963,14 +963,14 @@ Python.")
|
|||||||
(define-public wayland
|
(define-public wayland
|
||||||
(package
|
(package
|
||||||
(name "wayland")
|
(name "wayland")
|
||||||
(version "1.19.0")
|
(version "1.20.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://wayland.freedesktop.org/releases/"
|
(uri (string-append "https://wayland.freedesktop.org/releases/"
|
||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"05bd2vphyx8qwa1mhsj1zdaiv4m4v94wrlssrn0lad8d601dkk5s"))))
|
"09c7rpbwavjg4y16mrfa57gk5ix6rnzpvlnv1wp7fnbh9hak985q"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -261,7 +261,7 @@ also known as DXTn or DXTC) for Mesa.")
|
|||||||
(define-public mesa
|
(define-public mesa
|
||||||
(package
|
(package
|
||||||
(name "mesa")
|
(name "mesa")
|
||||||
(version "21.3.2")
|
(version "21.3.8")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
@ -273,7 +273,7 @@ also known as DXTn or DXTC) for Mesa.")
|
|||||||
version "/mesa-" version ".tar.xz")))
|
version "/mesa-" version ".tar.xz")))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1g96y59bw10ml8h4jl259g41jdmf5ww3jbwqpz1sprq7hgxvmrz2"))
|
"19wx5plk6z0hhi0zdzxjx8ynl3lhlc5mbd8vhwqyk92kvhxjf3g7"))
|
||||||
(patches
|
(patches
|
||||||
(search-patches "mesa-skip-tests.patch"))))
|
(search-patches "mesa-skip-tests.patch"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
@ -288,26 +288,28 @@ also known as DXTn or DXTC) for Mesa.")
|
|||||||
libxxf86vm
|
libxxf86vm
|
||||||
xorgproto))
|
xorgproto))
|
||||||
(inputs
|
(inputs
|
||||||
`(("expat" ,expat)
|
(append (list expat
|
||||||
("libelf" ,elfutils) ;required for r600 when using llvm
|
elfutils ;libelf required for r600 when using llvm
|
||||||
("libva" ,(force libva-without-mesa))
|
(force libva-without-mesa)
|
||||||
("libxml2" ,libxml2)
|
libxml2
|
||||||
("libxrandr" ,libxrandr)
|
libxrandr
|
||||||
("libxvmc" ,libxvmc)
|
libxvmc
|
||||||
;; Note: update the 'clang' input of mesa-opencl when bumping this.
|
wayland
|
||||||
("llvm" ,llvm-11)
|
wayland-protocols)
|
||||||
("wayland" ,wayland)
|
;; TODO: Resort alphabetically.
|
||||||
("wayland-protocols" ,wayland-protocols)))
|
;; Note: update the 'clang' input of mesa-opencl when bumping this.
|
||||||
|
(list llvm-11)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("bison" ,bison)
|
(append (list bison
|
||||||
("flex" ,flex)
|
flex
|
||||||
("gettext" ,gettext-minimal)
|
gettext-minimal
|
||||||
("glslang" ,glslang)
|
pkg-config
|
||||||
("pkg-config" ,pkg-config)
|
python-wrapper
|
||||||
("python" ,python-wrapper)
|
python-libxml2 ;for OpenGL ES 1.1 and 2.0 support
|
||||||
("python-libxml2", python-libxml2) ;for OpenGL ES 1.1 and 2.0 support
|
python-mako
|
||||||
("python-mako" ,python-mako)
|
(@ (gnu packages base) which))
|
||||||
("which" ,(@ (gnu packages base) which))))
|
;; TODO: Resort alphabetically.
|
||||||
|
(list glslang)))
|
||||||
(outputs '("out" "bin"))
|
(outputs '("out" "bin"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
@ -510,11 +512,11 @@ from software emulation to complete hardware acceleration for modern GPUs.")
|
|||||||
((#:configure-flags flags)
|
((#:configure-flags flags)
|
||||||
`(cons "-Dgallium-opencl=standalone" ,flags))))
|
`(cons "-Dgallium-opencl=standalone" ,flags))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("libclc" ,libclc)
|
(modify-inputs (package-inputs mesa)
|
||||||
,@(package-inputs mesa)))
|
(prepend libclc)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("clang" ,clang-11)
|
(modify-inputs (package-native-inputs mesa)
|
||||||
,@(package-native-inputs mesa)))))
|
(prepend clang-11)))))
|
||||||
|
|
||||||
(define-public mesa-opencl-icd
|
(define-public mesa-opencl-icd
|
||||||
(package/inherit mesa-opencl
|
(package/inherit mesa-opencl
|
||||||
|
@ -3459,18 +3459,9 @@ for dealing with different structured file formats.")
|
|||||||
`(,glib "bin")
|
`(,glib "bin")
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
pkg-config
|
pkg-config
|
||||||
python-wrapper
|
|
||||||
ruby
|
|
||||||
vala))
|
vala))
|
||||||
(inputs
|
(inputs
|
||||||
(list bzip2
|
(list freetype harfbuzz libxml2 pango))
|
||||||
fontconfig
|
|
||||||
freetype
|
|
||||||
harfbuzz
|
|
||||||
libcroco
|
|
||||||
libgsf
|
|
||||||
libxml2
|
|
||||||
pango))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list cairo gdk-pixbuf glib))
|
(list cairo gdk-pixbuf glib))
|
||||||
(synopsis "SVG rendering library")
|
(synopsis "SVG rendering library")
|
||||||
@ -3561,7 +3552,7 @@ diagrams.")
|
|||||||
`(,glib "bin") ; glib-mkenums, etc.
|
`(,glib "bin") ; glib-mkenums, etc.
|
||||||
gobject-introspection)) ; g-ir-compiler, etc.
|
gobject-introspection)) ; g-ir-compiler, etc.
|
||||||
(inputs
|
(inputs
|
||||||
(list pango libcroco bzip2 libgsf libxml2))
|
(list pango libcroco libxml2))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
;; librsvg-2.0.pc refers to all of that.
|
;; librsvg-2.0.pc refers to all of that.
|
||||||
(list cairo gdk-pixbuf glib))
|
(list cairo gdk-pixbuf glib))
|
||||||
|
@ -53,6 +53,7 @@
|
|||||||
(define-module (gnu packages golang)
|
(define-module (gnu packages golang)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
|
#:use-module (guix memoization)
|
||||||
#:use-module ((guix build utils) #:select (alist-replace))
|
#:use-module ((guix build utils) #:select (alist-replace))
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
@ -626,7 +627,7 @@ in the style of communicating sequential processes (@dfn{CSP}).")
|
|||||||
(package
|
(package
|
||||||
(inherit go-1.16)
|
(inherit go-1.16)
|
||||||
(name "go")
|
(name "go")
|
||||||
(version "1.17.8")
|
(version "1.17.9")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
@ -636,7 +637,7 @@ in the style of communicating sequential processes (@dfn{CSP}).")
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"05qfs17wddxmmi349g9ci12w9fjb5vbss6qpjc4qzgqzznqf0ycy"))))
|
"02l6gxn738kam1niy2nl2wpsbzl4x87h2wik6hd3py19kq4z2flw"))))
|
||||||
(outputs '("out" "tests")) ; 'tests' contains distribution tests.
|
(outputs '("out" "tests")) ; 'tests' contains distribution tests.
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((ice-9 match)
|
`(#:modules ((ice-9 match)
|
||||||
@ -840,35 +841,43 @@ in the style of communicating sequential processes (@dfn{CSP}).")
|
|||||||
|
|
||||||
(define-public go go-1.17)
|
(define-public go go-1.17)
|
||||||
|
|
||||||
(define-public (make-go-std go)
|
(define make-go-std
|
||||||
"Return a package which builds the standard library for Go compiler GO."
|
(mlambdaq (go)
|
||||||
(package
|
"Return a package which builds the standard library for Go compiler GO."
|
||||||
(name (string-append (package-name go) "-std"))
|
(package
|
||||||
(version (package-version go))
|
(name (string-append (package-name go) "-std"))
|
||||||
(source #f)
|
(version (package-version go))
|
||||||
(build-system go-build-system)
|
(source #f)
|
||||||
(arguments
|
(build-system go-build-system)
|
||||||
`(#:import-path "std"
|
(arguments
|
||||||
#:build-flags `("-pkgdir" "pkg") ; "Install" to build directory.
|
`(#:import-path "std"
|
||||||
#:allow-go-reference? #t
|
#:build-flags `("-pkgdir" "pkg") ; "Install" to build directory.
|
||||||
#:substitutable? #f ; Faster to build than download.
|
#:allow-go-reference? #t
|
||||||
#:tests? #f ; Already tested in the main Go build.
|
#:substitutable? #f ; Faster to build than download.
|
||||||
#:go ,go
|
#:tests? #f ; Already tested in the main Go build.
|
||||||
#:phases
|
#:go ,go
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(delete 'unpack)
|
(modify-phases %standard-phases
|
||||||
(replace 'install
|
(delete 'unpack)
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(replace 'install
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(out-cache (string-append out "/var/cache/go/build")))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(copy-recursively (getenv "GOCACHE") out-cache)
|
(out-cache (string-append out "/var/cache/go/build")))
|
||||||
(delete-file (string-append out-cache "/trim.txt"))
|
(copy-recursively (getenv "GOCACHE") out-cache)
|
||||||
(delete-file (string-append out-cache "/README")))))
|
(delete-file (string-append out-cache "/trim.txt"))
|
||||||
(delete 'install-license-files))))
|
(delete-file (string-append out-cache "/README")))))
|
||||||
(home-page (package-home-page go))
|
(delete 'install-license-files))))
|
||||||
(synopsis "Cached standard library build for Go")
|
(home-page (package-home-page go))
|
||||||
(description (package-description go))
|
(synopsis "Cached standard library build for Go")
|
||||||
(license (package-license go))))
|
(description (package-description go))
|
||||||
|
(license (package-license go)))))
|
||||||
|
|
||||||
|
(export make-go-std)
|
||||||
|
|
||||||
|
;; Make those public so they have a corresponding Cuirass job.
|
||||||
|
(define-public go-std-1.14 (make-go-std go-1.14))
|
||||||
|
(define-public go-std-1.16 (make-go-std go-1.16))
|
||||||
|
(define-public go-std-1.17 (make-go-std go-1.17))
|
||||||
|
|
||||||
(define-public go-0xacab-org-leap-shapeshifter
|
(define-public go-0xacab-org-leap-shapeshifter
|
||||||
(let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474")
|
(let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474")
|
||||||
@ -2684,8 +2693,8 @@ packages.")
|
|||||||
(license license:bsd-3))))
|
(license license:bsd-3))))
|
||||||
|
|
||||||
(define-public go-golang-org-x-sys
|
(define-public go-golang-org-x-sys
|
||||||
(let ((commit "05986578812163b26672dabd9b425240ae2bb0ad")
|
(let ((commit "ed5796bab16455f104b6a384d51b7f9990cb9806")
|
||||||
(revision "7"))
|
(revision "8"))
|
||||||
(package
|
(package
|
||||||
(name "go-golang-org-x-sys")
|
(name "go-golang-org-x-sys")
|
||||||
(version (git-version "0.0.0" revision commit))
|
(version (git-version "0.0.0" revision commit))
|
||||||
@ -2697,7 +2706,7 @@ packages.")
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1q2rxb6z5l6pmlckjsz2l0b8lw7bqgk6frhzbmi1dv0y5irb2ka7"))))
|
"081vs5bg91mwg5bdmlcvy2qyrvg766aicj47smcwfk4bbh0nc0qa"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:import-path "golang.org/x/sys"
|
`(#:import-path "golang.org/x/sys"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013, 2017, 2019, 2021 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2013, 2017, 2019, 2021-2022 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2013, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2013, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2014, 2015, 2016, 2020 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2014, 2015, 2016, 2020 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com>
|
;;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com>
|
||||||
@ -987,31 +987,31 @@ Metafile}, and @acronym{EMF+, Enhanced Metafile Plus} files.")
|
|||||||
(define-public imlib2
|
(define-public imlib2
|
||||||
(package
|
(package
|
||||||
(name "imlib2")
|
(name "imlib2")
|
||||||
(version "1.7.1")
|
(version "1.9.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
"mirror://sourceforge/enlightenment/imlib2-src/" version
|
"mirror://sourceforge/enlightenment/imlib2-src/" version
|
||||||
"/imlib2-" version ".tar.bz2"))
|
"/imlib2-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"01y45cdml2dr9cqgybrgxr86sd77d1qfa1gzclzy1j6bkminlfh3"))))
|
"0l662h74i3mzl5ligj1352rf8bf48drasj97wygr2037gk5fijas"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags (list "--disable-static")))
|
'(#:configure-flags (list "--disable-static")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkgconfig" ,pkg-config)))
|
(list pkg-config))
|
||||||
(inputs
|
(inputs
|
||||||
`(("bzip2" ,bzip2)
|
(list bzip2
|
||||||
("freetype" ,freetype)
|
freetype
|
||||||
("giflib" ,giflib)
|
giflib
|
||||||
("libid3tag" ,libid3tag)
|
libid3tag
|
||||||
("libjpeg" ,libjpeg-turbo)
|
libjpeg-turbo
|
||||||
("libpng" ,libpng)
|
libpng
|
||||||
("libtiff" ,libtiff)
|
libtiff
|
||||||
("libx11" ,libx11)
|
libx11
|
||||||
("libxext" ,libxext)
|
libxext
|
||||||
("libwebp" ,libwebp)))
|
libwebp))
|
||||||
(home-page "https://sourceforge.net/projects/enlightenment/")
|
(home-page "https://sourceforge.net/projects/enlightenment/")
|
||||||
(synopsis
|
(synopsis
|
||||||
"Loading, saving, rendering and manipulating image files")
|
"Loading, saving, rendering and manipulating image files")
|
||||||
@ -1027,6 +1027,19 @@ This is a complete rewrite over the Imlib 1.x series. The architecture is
|
|||||||
more modular, simple, and flexible.")
|
more modular, simple, and flexible.")
|
||||||
(license license:imlib2)))
|
(license license:imlib2)))
|
||||||
|
|
||||||
|
(define-public imlib2-1.7
|
||||||
|
(package
|
||||||
|
(inherit imlib2)
|
||||||
|
(version "1.7.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"mirror://sourceforge/enlightenment/imlib2-src/" version
|
||||||
|
"/imlib2-" version ".tar.bz2"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"01y45cdml2dr9cqgybrgxr86sd77d1qfa1gzclzy1j6bkminlfh3"))))))
|
||||||
|
|
||||||
(define-public giblib
|
(define-public giblib
|
||||||
(package
|
(package
|
||||||
(name "giblib")
|
(name "giblib")
|
||||||
@ -1049,7 +1062,9 @@ more modular, simple, and flexible.")
|
|||||||
"1b4bmbmj52glq0s898lppkpzxlprq9aav49r06j2wx4dv3212rhp"))))
|
"1b4bmbmj52glq0s898lppkpzxlprq9aav49r06j2wx4dv3212rhp"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
(list libx11 imlib2))
|
(list libx11
|
||||||
|
;; Needs an old imlib2 with the 'imlib2-config' program.
|
||||||
|
imlib2-1.7))
|
||||||
(home-page
|
(home-page
|
||||||
;; This vanished page is universally accepted as giblib's home despite not
|
;; This vanished page is universally accepted as giblib's home despite not
|
||||||
;; mentioning the package once.
|
;; mentioning the package once.
|
||||||
|
@ -87,7 +87,7 @@
|
|||||||
(define-public extra-cmake-modules
|
(define-public extra-cmake-modules
|
||||||
(package
|
(package
|
||||||
(name "extra-cmake-modules")
|
(name "extra-cmake-modules")
|
||||||
(version "5.70.0")
|
(version "5.91.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -96,7 +96,7 @@
|
|||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"10c5xs5shk0dcshpdxg564ay5y8hgmvfvmlhmhjf0dy79kcah3c3"))))
|
"0k65rvxh926ya6qahzk2ns7g1fya1429648mlx7iipxa61g8h5wp"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
;; Add test dependency, except on armhf where building it is too
|
;; Add test dependency, except on armhf where building it is too
|
||||||
@ -104,39 +104,55 @@
|
|||||||
(if (and (not (%current-target-system))
|
(if (and (not (%current-target-system))
|
||||||
(string=? (%current-system) "armhf-linux"))
|
(string=? (%current-system) "armhf-linux"))
|
||||||
'()
|
'()
|
||||||
`(("qtbase" ,qtbase-5)))) ;for tests (needs qmake)
|
(list qtbase-5))) ;for tests (needs qmake)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? ,(and (not (%current-target-system))
|
(list
|
||||||
(not (null? (package-native-inputs this-package))))
|
#:tests? (and (not (%current-target-system))
|
||||||
#:phases
|
(not (null? (package-native-inputs this-package))))
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'fix-lib-path
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-after 'unpack 'fix-lib-path
|
||||||
;; Always install into /lib and not into /lib64.
|
(lambda _
|
||||||
(substitute* "kde-modules/KDEInstallDirs.cmake"
|
;; Always install into /lib and not into /lib64.
|
||||||
(("\"lib64\"") "\"lib\"")
|
(substitute* "kde-modules/KDEInstallDirsCommon.cmake"
|
||||||
;; TODO: Base the following on values taken from Qt
|
(("\"lib64\"") "\"lib\""))
|
||||||
;; Install plugins into lib/qt5/plugins
|
|
||||||
;; TODO: Check if this is okay for Android, too
|
;; Determine the install path by the major version of Qt.
|
||||||
;; (see comment in KDEInstallDirs.cmake)
|
;; TODO: Base the following on values taken from Qt
|
||||||
(("_define_relative\\(QTPLUGINDIR \"\\$\\{_pluginsDirParent}\" \"plugins\"")
|
;; Install plugins into lib/qt5/plugins
|
||||||
"_define_relative(QTPLUGINDIR \"${_pluginsDirParent}\" \"qt5/plugins\"")
|
;; TODO: Check if this is okay for Android, too
|
||||||
;; Install imports into lib/qt5/imports
|
;; (see comment in KDEInstallDirs.cmake)
|
||||||
(("_define_relative\\(QTQUICKIMPORTSDIR QTPLUGINDIR \"imports\"")
|
(substitute* '("kde-modules/KDEInstallDirs5.cmake"
|
||||||
"_define_relative(QTQUICKIMPORTSDIR LIBDIR \"qt5/imports\"")
|
"kde-modules/KDEInstallDirs6.cmake")
|
||||||
;; Install qml-files into lib/qt5/qml
|
;; Fix the installation path of Qt plugins.
|
||||||
(("_define_relative\\(QMLDIR LIBDIR \"qml\"")
|
(("_define_relative\\(QTPLUGINDIR \"\\$\\{_pluginsDirParent}\" \"plugins\"")
|
||||||
"_define_relative(QMLDIR LIBDIR \"qt5/qml\""))
|
"_define_relative(QTPLUGINDIR \"${_pluginsDirParent}\" \"qt${QT_MAJOR_VERSION}/plugins\"")
|
||||||
(substitute* "modules/ECMGeneratePriFile.cmake"
|
;; Fix the installation path of QML files.
|
||||||
;; Install pri-files into lib/qt5/mkspecs
|
(("_define_relative\\(QMLDIR LIBDIR \"qml\"")
|
||||||
(("set\\(ECM_MKSPECS_INSTALL_DIR mkspecs/modules")
|
"_define_relative(QMLDIR LIBDIR \"qt${QT_MAJOR_VERSION}/qml\""))
|
||||||
"set(ECM_MKSPECS_INSTALL_DIR lib/qt5/mkspecs/modules"))
|
|
||||||
#t))
|
;; Qt Quick Control 1 is no longer available in Qt 6.
|
||||||
;; install and check phase are swapped to prevent install from failing
|
(substitute* '("kde-modules/KDEInstallDirs5.cmake")
|
||||||
;; after testsuire has run
|
(("_define_relative\\(QTQUICKIMPORTSDIR QTPLUGINDIR \"imports\"")
|
||||||
(add-after 'install 'check-post-install
|
"_define_relative(QTQUICKIMPORTSDIR LIBDIR \"qt5/imports\""))
|
||||||
(assoc-ref %standard-phases 'check))
|
|
||||||
(delete 'check))))
|
(substitute* "modules/ECMGeneratePriFile.cmake"
|
||||||
|
;; Install pri-files into lib/qt${QT_MAJOR_VERSION}/mkspecs
|
||||||
|
(("set\\(ECM_MKSPECS_INSTALL_DIR mkspecs/modules")
|
||||||
|
"set(ECM_MKSPECS_INSTALL_DIR lib/qt${QT_MAJOR_VERSION}/mkspecs/modules"))))
|
||||||
|
;; Work around for the failed test KDEFetchTranslations.
|
||||||
|
;; It complains that the cmake project name is not
|
||||||
|
;; "frameworks/extra-cmake-modules".
|
||||||
|
;; TODO: Fix it upstream.
|
||||||
|
(add-after 'unpack 'fix-test
|
||||||
|
(lambda _
|
||||||
|
(substitute* "tests/KDEFetchTranslations/CMakeLists.txt"
|
||||||
|
(("frameworks/extra-cmake-modules") "extra-cmake-modules"))))
|
||||||
|
;; install and check phase are swapped to prevent install from failing
|
||||||
|
;; after testsuire has run
|
||||||
|
(add-after 'install 'check-post-install
|
||||||
|
(assoc-ref %standard-phases 'check))
|
||||||
|
(delete 'check))))
|
||||||
;; optional dependencies - to save space, we do not add these inputs.
|
;; optional dependencies - to save space, we do not add these inputs.
|
||||||
;; Sphinx > 1.2:
|
;; Sphinx > 1.2:
|
||||||
;; Required to build Extra CMake Modules documentation in Qt Help format.
|
;; Required to build Extra CMake Modules documentation in Qt Help format.
|
||||||
|
@ -50,6 +50,7 @@
|
|||||||
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
|
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
|
||||||
;;; Copyright © 2020 David Dashyan <mail@davie.li>
|
;;; Copyright © 2020 David Dashyan <mail@davie.li>
|
||||||
;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net>
|
;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net>
|
||||||
|
;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
|
||||||
;;; Copyright © 2021 B. Wilson <elaexuotee@wilsonb.com>
|
;;; Copyright © 2021 B. Wilson <elaexuotee@wilsonb.com>
|
||||||
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
|
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
|
||||||
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
||||||
|
@ -570,21 +570,37 @@ sample proximities between pairs of cases.")
|
|||||||
(define-public openfst
|
(define-public openfst
|
||||||
(package
|
(package
|
||||||
(name "openfst")
|
(name "openfst")
|
||||||
(version "1.7.9")
|
(version "1.8.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "http://www.openfst.org/twiki/pub/FST/"
|
(uri (string-append "http://www.openfst.org/twiki/pub/FST/"
|
||||||
"FstDownload/openfst-" version ".tar.gz"))
|
"FstDownload/openfst-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1pmx1yhn2gknj0an0zwqmzgwjaycapi896244np50a8y3nrsw6ck"))))
|
"0hlbdmjjf1jgsvi3d2hwni5lz3l9a5bzj6ijpbawa8a7cbrpp66y"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
(arguments '(#:configure-flags '("--enable-ngram-fsts")))
|
||||||
(home-page "http://www.openfst.org")
|
(home-page "http://www.openfst.org")
|
||||||
(synopsis "Library for weighted finite-state transducers")
|
(synopsis "Library for weighted finite-state transducers")
|
||||||
(description "OpenFst is a library for constructing, combining,
|
(description "OpenFst is a library for constructing, combining,
|
||||||
optimizing, and searching weighted finite-state transducers (FSTs).")
|
optimizing, and searching weighted finite-state transducers (FSTs).")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
;; This is a temporary addition to bypass upstream issues with the kaldi
|
||||||
|
;; package.
|
||||||
|
(define-public openfst-1.7.3
|
||||||
|
(package (inherit openfst)
|
||||||
|
(version "1.7.3")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "http://www.openfst.org/twiki/pub/FST/"
|
||||||
|
"FstDownload/openfst-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"038a60w7y8qnbxmcrsim9rafz9mihsny8xv50jpzlr7rl166pp5q"))))
|
||||||
|
(arguments '(#:configure-flags '("--enable-ngram-fsts" "CXXFLAGS=-std=c++14")
|
||||||
|
#:make-flags '("CXXFLAGS=-std=c++14")))))
|
||||||
|
|
||||||
(define-public shogun
|
(define-public shogun
|
||||||
(package
|
(package
|
||||||
(name "shogun")
|
(name "shogun")
|
||||||
@ -1465,8 +1481,9 @@ discrete, and conditional dimensions.")
|
|||||||
|
|
||||||
;; There have been no proper releases yet.
|
;; There have been no proper releases yet.
|
||||||
(define-public kaldi
|
(define-public kaldi
|
||||||
(let ((commit "d4791c0f3fc1a09c042dac365e120899ee2ad21e")
|
(let ((commit "dd107fd594ac58af962031c1689abfdc10f84452")
|
||||||
(revision "2"))
|
(revision "0")
|
||||||
|
(openfst openfst-1.7.3)) ;; Temporary bypass for upstream issues
|
||||||
(package
|
(package
|
||||||
(name "kaldi")
|
(name "kaldi")
|
||||||
(version (git-version "0" revision commit))
|
(version (git-version "0" revision commit))
|
||||||
@ -1478,7 +1495,7 @@ discrete, and conditional dimensions.")
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"07k80my6f19mhrkwbzhjsnpf9871wmrwkl0ym468i830w67qyjrz"))))
|
"0iqbzgn7gzmgwvjfzifpbwwidxx887qmlgmsjkg7b1yzyfv00l21"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "test"
|
`(#:test-target "test"
|
||||||
@ -1502,6 +1519,8 @@ discrete, and conditional dimensions.")
|
|||||||
"gst-plugin/Makefile")
|
"gst-plugin/Makefile")
|
||||||
(("../../tools/portaudio/install")
|
(("../../tools/portaudio/install")
|
||||||
(assoc-ref inputs "portaudio")))
|
(assoc-ref inputs "portaudio")))
|
||||||
|
(substitute* "matrix/Makefile" ;temporary test bypass
|
||||||
|
(("matrix-lib-test sparse-matrix-test") ""))
|
||||||
|
|
||||||
;; This `configure' script doesn't support variables passed as
|
;; This `configure' script doesn't support variables passed as
|
||||||
;; arguments, nor does it support "prefix".
|
;; arguments, nor does it support "prefix".
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
||||||
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
||||||
;;; Copyright © 2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
;;; Copyright © 2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||||
|
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
@ -125,14 +126,14 @@ a flexible and convenient way.")
|
|||||||
(define-public man-db
|
(define-public man-db
|
||||||
(package
|
(package
|
||||||
(name "man-db")
|
(name "man-db")
|
||||||
(version "2.9.4")
|
(version "2.10.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://savannah/man-db/man-db-"
|
(uri (string-append "mirror://savannah/man-db/man-db-"
|
||||||
version ".tar.xz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0mk7n7yn6scy785jhg1j14b3q9l0cgvpry49r0ldjsnizbnrjv5n"))))
|
"0kaiymd5lh4dnp6z15fnvfg0ir81kdxp5l690ccp64ra956rb5zf"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases
|
(list #:phases
|
||||||
@ -145,9 +146,7 @@ a flexible and convenient way.")
|
|||||||
(substitute* file
|
(substitute* file
|
||||||
(("#! /bin/sh")
|
(("#! /bin/sh")
|
||||||
(string-append "#!" (which "sh")))))
|
(string-append "#!" (which "sh")))))
|
||||||
(remove file-is-directory?
|
(find-files "src/tests")))))
|
||||||
(find-files "src/tests" ".*")))
|
|
||||||
#t)))
|
|
||||||
(add-after 'unpack 'patch-absolute-paths
|
(add-after 'unpack 'patch-absolute-paths
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "src/man.c"
|
(substitute* "src/man.c"
|
||||||
@ -160,64 +159,53 @@ a flexible and convenient way.")
|
|||||||
(("groff_preconv = NULL")
|
(("groff_preconv = NULL")
|
||||||
(string-append "groff_preconv = \""
|
(string-append "groff_preconv = \""
|
||||||
(assoc-ref inputs "groff-minimal")
|
(assoc-ref inputs "groff-minimal")
|
||||||
"/bin/preconv\"")))
|
"/bin/preconv\""))))))
|
||||||
#t)))
|
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(let ((groff (assoc-ref %build-inputs "groff"))
|
#~(cons*
|
||||||
(groff-minimal (assoc-ref %build-inputs "groff-minimal"))
|
;; Disable setuid man user.
|
||||||
(less (assoc-ref %build-inputs "less"))
|
"--disable-setuid"
|
||||||
(gzip (assoc-ref %build-inputs "gzip"))
|
;; Don't constrain ownership of system-wide cache files.
|
||||||
(bzip2 (assoc-ref %build-inputs "bzip2"))
|
;; Otherwise creating the manpage database fails with
|
||||||
(xz (assoc-ref %build-inputs "xz"))
|
;; man-db > 2.7.5.
|
||||||
(util (assoc-ref %build-inputs "util-linux")))
|
"--disable-cache-owner"
|
||||||
;; Invoke groff, less, gzip, bzip2, & xz directly from the store.
|
(string-append "--with-pager="
|
||||||
(append (list ;; Disable setuid man user.
|
(search-input-file %build-inputs "bin/less"))
|
||||||
"--disable-setuid"
|
(string-append "--with-gzip="
|
||||||
;; Don't constrain ownership of system-wide cache files.
|
(search-input-file %build-inputs "bin/gzip"))
|
||||||
;; Otherwise creating the manpage database fails with
|
(string-append "--with-bzip2="
|
||||||
;; man-db > 2.7.5.
|
(search-input-file %build-inputs "bin/bzip2"))
|
||||||
"--disable-cache-owner"
|
(string-append "--with-xz="
|
||||||
(string-append "--with-pager=" less "/bin/less")
|
(search-input-file %build-inputs "bin/xz"))
|
||||||
(string-append "--with-gzip=" gzip "/bin/gzip")
|
(string-append "--with-zstd="
|
||||||
(string-append "--with-bzip2=" bzip2 "/bin/gzip")
|
(search-input-file %build-inputs "bin/zstd"))
|
||||||
(string-append "--with-xz=" xz "/bin/xz")
|
(string-append "--with-col="
|
||||||
(string-append "--with-col=" util "/bin/col")
|
(search-input-file %build-inputs "bin/col"))
|
||||||
;; The default systemd directories ignore --prefix.
|
;; The default systemd directories ignore --prefix.
|
||||||
;; XXX TODO: Replace with simply #$OUTPUT on staging.
|
(string-append "--with-systemdsystemunitdir="
|
||||||
(string-append "--with-systemdsystemunitdir="
|
#$output "/lib/systemd/system")
|
||||||
#$(if (%current-target-system)
|
(string-append "--with-systemdtmpfilesdir="
|
||||||
#~#$output
|
#$output "/lib/tmpfiles.d")
|
||||||
#~%output)
|
(map (lambda (prog)
|
||||||
"/lib/systemd/system")
|
(string-append
|
||||||
(string-append "--with-systemdtmpfilesdir="
|
"--with-" prog "="
|
||||||
#$(if (%current-target-system)
|
#$(this-package-input "groff-minimal")
|
||||||
#~#$output
|
(string-append "/bin/" prog)))
|
||||||
#~%output)
|
'("nroff" "eqn" "neqn" "tbl" "refer" "pic")))
|
||||||
"/lib/tmpfiles.d"))
|
|
||||||
(map (lambda (prog)
|
|
||||||
(string-append "--with-" prog "=" groff-minimal
|
|
||||||
"/bin/" prog))
|
|
||||||
'("nroff" "eqn" "neqn" "tbl" "refer" "pic"))))
|
|
||||||
|
|
||||||
;; At run time we should refer to GROFF-MINIMAL, not GROFF (the latter
|
;; At run time we should refer to GROFF-MINIMAL, not GROFF (the latter
|
||||||
;; pulls in Perl.)
|
;; pulls in Perl.)
|
||||||
#:disallowed-references
|
#:disallowed-references (list groff)))
|
||||||
(list groff)
|
|
||||||
|
|
||||||
#:modules '((guix build gnu-build-system)
|
|
||||||
(guix build utils)
|
|
||||||
(srfi srfi-1))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config flex groff)) ;needed at build time (troff, grops, soelim, etc.)
|
(list pkg-config flex
|
||||||
|
;; Groff is needed at build time for troff, grops, soelim, etc.
|
||||||
|
groff))
|
||||||
(inputs
|
(inputs
|
||||||
(list gdbm
|
(list gdbm
|
||||||
groff-minimal
|
groff-minimal
|
||||||
less
|
less
|
||||||
libpipeline
|
libpipeline
|
||||||
;; FIXME: 4.8 and later can use libseccomp, but it causes test
|
libseccomp
|
||||||
;; failures in the build chroot.
|
util-linux
|
||||||
;;("libseccomp" ,libseccomp)
|
zstd))
|
||||||
util-linux))
|
|
||||||
(native-search-paths
|
(native-search-paths
|
||||||
(list (search-path-specification
|
(list (search-path-specification
|
||||||
(variable "MANPATH")
|
(variable "MANPATH")
|
||||||
|
@ -4474,7 +4474,7 @@ parts of it.")
|
|||||||
(define-public openblas
|
(define-public openblas
|
||||||
(package
|
(package
|
||||||
(name "openblas")
|
(name "openblas")
|
||||||
(version "0.3.18")
|
(version "0.3.20")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
@ -4484,7 +4484,7 @@ parts of it.")
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"17zdd8asylz2w71hczrz5y344p6d5ds1jn4901maw7zcp3dbk63g"))))
|
"0r4sz3rn68fyc2paq0a04pgfi7iszpm95f6ggbzxpvjzx9qxbcql"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "test"
|
`(#:test-target "test"
|
||||||
@ -4543,14 +4543,14 @@ parts of it.")
|
|||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
;; Get libgfortran found when building in utest.
|
;; Get libgfortran found when building in utest.
|
||||||
(setenv "FEXTRALIB"
|
(setenv "FEXTRALIB"
|
||||||
(string-append "-L" (assoc-ref inputs "fortran-lib")
|
(string-append
|
||||||
"/lib")))))))
|
"-L"
|
||||||
|
(dirname
|
||||||
|
(search-input-file inputs "/lib/libgfortran.so")))))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("fortran-lib" ,gfortran "lib")))
|
(list `(,gfortran "lib")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("cunit" ,cunit)
|
(list cunit gfortran perl))
|
||||||
("fortran" ,gfortran)
|
|
||||||
("perl" ,perl)))
|
|
||||||
(home-page "https://www.openblas.net/")
|
(home-page "https://www.openblas.net/")
|
||||||
(synopsis "Optimized BLAS library based on GotoBLAS")
|
(synopsis "Optimized BLAS library based on GotoBLAS")
|
||||||
(description
|
(description
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
|
;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
|
||||||
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
||||||
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
|
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
|
||||||
|
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||||
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
|
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
|
||||||
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
|
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
|
||||||
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||||
|
51
gnu/packages/patches/python2-pyopenssl-openssl-compat.patch
Normal file
51
gnu/packages/patches/python2-pyopenssl-openssl-compat.patch
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
Adjust for OpenSSL 1.1.1:
|
||||||
|
|
||||||
|
https://github.com/pyca/pyopenssl/issues/1043
|
||||||
|
|
||||||
|
Taken from upstream:
|
||||||
|
|
||||||
|
https://github.com/pyca/pyopenssl/commit/cc5c00ae5fd3c19d07fff79b5c4a08f5e58697ad
|
||||||
|
|
||||||
|
diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py
|
||||||
|
index 59f21cec..fcdee047 100644
|
||||||
|
--- a/src/OpenSSL/SSL.py
|
||||||
|
+++ b/src/OpenSSL/SSL.py
|
||||||
|
@@ -1421,6 +1421,12 @@ def set_alpn_protos(self, protos):
|
||||||
|
This list should be a Python list of bytestrings representing the
|
||||||
|
protocols to offer, e.g. ``[b'http/1.1', b'spdy/2']``.
|
||||||
|
"""
|
||||||
|
+ # Different versions of OpenSSL are inconsistent about how they handle empty
|
||||||
|
+ # proto lists (see #1043), so we avoid the problem entirely by rejecting them
|
||||||
|
+ # ourselves.
|
||||||
|
+ if not protos:
|
||||||
|
+ raise ValueError("at least one protocol must be specified")
|
||||||
|
+
|
||||||
|
# Take the list of protocols and join them together, prefixing them
|
||||||
|
# with their lengths.
|
||||||
|
protostr = b"".join(
|
||||||
|
@@ -2449,6 +2455,12 @@ def set_alpn_protos(self, protos):
|
||||||
|
This list should be a Python list of bytestrings representing the
|
||||||
|
protocols to offer, e.g. ``[b'http/1.1', b'spdy/2']``.
|
||||||
|
"""
|
||||||
|
+ # Different versions of OpenSSL are inconsistent about how they handle empty
|
||||||
|
+ # proto lists (see #1043), so we avoid the problem entirely by rejecting them
|
||||||
|
+ # ourselves.
|
||||||
|
+ if not protos:
|
||||||
|
+ raise ValueError("at least one protocol must be specified")
|
||||||
|
+
|
||||||
|
# Take the list of protocols and join them together, prefixing them
|
||||||
|
# with their lengths.
|
||||||
|
protostr = b"".join(
|
||||||
|
diff --git a/tests/test_ssl.py b/tests/test_ssl.py
|
||||||
|
index ffc505d8..ca363b45 100644
|
||||||
|
--- a/tests/test_ssl.py
|
||||||
|
+++ b/tests/test_ssl.py
|
||||||
|
@@ -1928,7 +1928,7 @@ def test_alpn_call_failure(self):
|
||||||
|
protocols list. Ensure that we produce a user-visible error.
|
||||||
|
"""
|
||||||
|
context = Context(SSLv23_METHOD)
|
||||||
|
- with pytest.raises(Error):
|
||||||
|
+ with pytest.raises(ValueError):
|
||||||
|
context.set_alpn_protos([])
|
||||||
|
|
||||||
|
def test_alpn_set_on_connection(self):
|
@ -54,7 +54,6 @@
|
|||||||
(package
|
(package
|
||||||
(name "polkit")
|
(name "polkit")
|
||||||
(version "0.120")
|
(version "0.120")
|
||||||
(replacement polkit-mozjs/fixed)
|
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -63,7 +62,8 @@
|
|||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"00zfg9b9ivkcj2jcf5b92cpvvyljz8cmfwj86lkvy5rihnd5jypf"))
|
"00zfg9b9ivkcj2jcf5b92cpvvyljz8cmfwj86lkvy5rihnd5jypf"))
|
||||||
(patches (search-patches "polkit-configure-elogind.patch"))
|
(patches (search-patches "polkit-configure-elogind.patch"
|
||||||
|
"polkit-CVE-2021-4034.patch"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
@ -93,12 +93,12 @@
|
|||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list glib)) ; required by polkit-gobject-1.pc
|
(list glib)) ; required by polkit-gobject-1.pc
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
(list pkg-config
|
||||||
("glib:bin" ,glib "bin") ; for glib-mkenums
|
`(,glib "bin") ;for glib-mkenums
|
||||||
("intltool" ,intltool)
|
intltool
|
||||||
("gobject-introspection" ,gobject-introspection)
|
gobject-introspection
|
||||||
("libxslt" ,libxslt) ; for man page generation
|
libxslt ;for man page generation
|
||||||
("docbook-xsl" ,docbook-xsl))) ; for man page generation
|
docbook-xsl)) ;for man page generation
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("--sysconfdir=/etc"
|
`(#:configure-flags '("--sysconfdir=/etc"
|
||||||
"--enable-man-pages"
|
"--enable-man-pages"
|
||||||
@ -147,16 +147,6 @@ making process with respect to granting access to privileged operations
|
|||||||
for unprivileged applications.")
|
for unprivileged applications.")
|
||||||
(license lgpl2.0+)))
|
(license lgpl2.0+)))
|
||||||
|
|
||||||
(define-public polkit-mozjs/fixed
|
|
||||||
(package
|
|
||||||
(inherit polkit-mozjs)
|
|
||||||
(version "0.121")
|
|
||||||
(source (origin
|
|
||||||
(inherit (package-source polkit-mozjs))
|
|
||||||
(patches (cons (search-patch "polkit-CVE-2021-4034.patch")
|
|
||||||
(origin-patches
|
|
||||||
(package-source polkit-mozjs))))))))
|
|
||||||
|
|
||||||
;;; Variant of polkit built with Duktape, a lighter JavaScript engine compared
|
;;; Variant of polkit built with Duktape, a lighter JavaScript engine compared
|
||||||
;;; to mozjs.
|
;;; to mozjs.
|
||||||
(define-public polkit-duktape
|
(define-public polkit-duktape
|
||||||
@ -180,13 +170,11 @@ for unprivileged applications.")
|
|||||||
(lambda _
|
(lambda _
|
||||||
(delete-file "configure")))))))
|
(delete-file "configure")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(append `(("autoconf" ,autoconf)
|
(modify-inputs (package-native-inputs base)
|
||||||
("automake" ,automake)
|
(prepend autoconf automake libtool)))
|
||||||
("libtool" ,libtool)
|
(inputs
|
||||||
("pkg-config" ,pkg-config))
|
(modify-inputs (package-inputs base)
|
||||||
(package-native-inputs base)))
|
(replace "mozjs" duktape))))))
|
||||||
(inputs (alist-replace "mozjs" `(,duktape)
|
|
||||||
(package-inputs base))))))
|
|
||||||
|
|
||||||
(define polkit-for-system
|
(define polkit-for-system
|
||||||
(mlambda (system)
|
(mlambda (system)
|
||||||
|
@ -421,13 +421,13 @@ for example, for recording or replaying web content.")
|
|||||||
(define-public python-certifi
|
(define-public python-certifi
|
||||||
(package
|
(package
|
||||||
(name "python-certifi")
|
(name "python-certifi")
|
||||||
(version "2020.12.5")
|
(version "2021.10.8")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "certifi" version))
|
(uri (pypi-uri "certifi" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"177mdbw0livdjvp17sz6wsfrc32838m9y59v871gpgv2888raj8s"))))
|
"0wl8ln7acd797i1q7mmb430l6hqwhmk4bd37x8ycw02b3my4x23q"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments '(#:tests? #f)) ;no tests
|
(arguments '(#:tests? #f)) ;no tests
|
||||||
(home-page "https://certifi.io/")
|
(home-page "https://certifi.io/")
|
||||||
@ -437,17 +437,17 @@ for example, for recording or replaying web content.")
|
|||||||
is used by the Requests library to verify HTTPS requests.")
|
is used by the Requests library to verify HTTPS requests.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public python-cryptography-vectors
|
(define-public python-cryptography-vectors-next
|
||||||
(package
|
(package
|
||||||
(name "python-cryptography-vectors")
|
(name "python-cryptography-vectors")
|
||||||
(version "3.3.1")
|
(version "36.0.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "cryptography_vectors" version))
|
(uri (pypi-uri "cryptography_vectors" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"192wix3sr678x21brav5hgc6j93l7ab1kh69p2scr3fsblq9qy03"))))
|
"166mvhhmgglqai1sjkkb76mpdkad2yykam11d2w44hs2snpr117w"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(home-page "https://github.com/pyca/cryptography")
|
(home-page "https://github.com/pyca/cryptography")
|
||||||
(synopsis "Test vectors for the cryptography package")
|
(synopsis "Test vectors for the cryptography package")
|
||||||
@ -456,53 +456,19 @@ is used by the Requests library to verify HTTPS requests.")
|
|||||||
;; Distributed under either BSD-3 or ASL2.0
|
;; Distributed under either BSD-3 or ASL2.0
|
||||||
(license (list license:bsd-3 license:asl2.0))))
|
(license (list license:bsd-3 license:asl2.0))))
|
||||||
|
|
||||||
(define-public python-cryptography
|
(define-public python-cryptography-vectors
|
||||||
(package
|
(package
|
||||||
(name "python-cryptography")
|
(inherit python-cryptography-vectors-next)
|
||||||
(version "3.3.1")
|
(version "3.4.8")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method url-fetch)
|
||||||
(method url-fetch)
|
(uri (pypi-uri "cryptography_vectors" version))
|
||||||
(uri (pypi-uri "cryptography" version))
|
(sha256
|
||||||
(sha256
|
(base32 "1wl0ynh3lzhc6q59g8mybvijmnp195x7fjxlb3h3sgcraw14312c"))))))
|
||||||
(base32
|
|
||||||
"1ribd1vxq9wwz564mg60dzcy699gng54admihjjkgs9dx95pw5vy"))))
|
|
||||||
(build-system python-build-system)
|
|
||||||
(inputs
|
|
||||||
(list openssl))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-asn1crypto python-cffi python-six python-idna
|
|
||||||
python-iso8601))
|
|
||||||
(native-inputs
|
|
||||||
(list python-cryptography-vectors python-hypothesis python-pretend
|
|
||||||
python-pytz python-pytest))
|
|
||||||
(home-page "https://github.com/pyca/cryptography")
|
|
||||||
(synopsis "Cryptographic recipes and primitives for Python")
|
|
||||||
(description
|
|
||||||
"cryptography is a package which provides cryptographic recipes and
|
|
||||||
primitives to Python developers. It aims to be the “cryptographic standard
|
|
||||||
library” for Python. The package includes both high level recipes, and low
|
|
||||||
level interfaces to common cryptographic algorithms such as symmetric ciphers,
|
|
||||||
message digests and key derivation functions.")
|
|
||||||
;; Distributed under either BSD-3 or ASL2.0
|
|
||||||
(license (list license:bsd-3 license:asl2.0))))
|
|
||||||
|
|
||||||
;; TODO: Make this the default in the next staging cycle.
|
|
||||||
(define-public python-cryptography-vectors-next
|
|
||||||
(package
|
|
||||||
(inherit python-cryptography-vectors)
|
|
||||||
(version "36.0.1")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (pypi-uri "cryptography_vectors" version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"166mvhhmgglqai1sjkkb76mpdkad2yykam11d2w44hs2snpr117w"))))))
|
|
||||||
|
|
||||||
(define-public python-cryptography-next
|
(define-public python-cryptography-next
|
||||||
(package
|
(package
|
||||||
(inherit python-cryptography)
|
(name "python-cryptography")
|
||||||
(version "36.0.1")
|
(version "36.0.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
@ -607,43 +573,79 @@ message digests and key derivation functions.")
|
|||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-subtests
|
python-pytest-subtests
|
||||||
python-setuptools-rust
|
python-setuptools-rust
|
||||||
rust `(,rust "cargo")))
|
rust
|
||||||
(properties '())))
|
`(,rust "cargo")))
|
||||||
|
(home-page "https://github.com/pyca/cryptography")
|
||||||
|
(synopsis "Cryptographic recipes and primitives for Python")
|
||||||
|
(description
|
||||||
|
"cryptography is a package which provides cryptographic recipes and
|
||||||
|
primitives to Python developers. It aims to be the “cryptographic standard
|
||||||
|
library” for Python. The package includes both high level recipes, and low
|
||||||
|
level interfaces to common cryptographic algorithms such as symmetric ciphers,
|
||||||
|
message digests and key derivation functions.")
|
||||||
|
;; Distributed under either BSD-3 or ASL2.0
|
||||||
|
(license (list license:bsd-3 license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public python-cryptography
|
||||||
|
(package
|
||||||
|
(inherit python-cryptography-next)
|
||||||
|
(version "3.4.8")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "cryptography" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "072awar70cwfd2hnx0pvp1dkc7gw45mbm3wcyddvxz5frva5xk4l"))))
|
||||||
|
(arguments
|
||||||
|
(list #:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'set-no-rust
|
||||||
|
(lambda _
|
||||||
|
(setenv "CRYPTOGRAPHY_DONT_BUILD_RUST" "1"))))))
|
||||||
|
(inputs (list openssl))
|
||||||
|
(native-inputs
|
||||||
|
(list python-cryptography-vectors
|
||||||
|
python-hypothesis
|
||||||
|
python-pretend
|
||||||
|
python-pytz
|
||||||
|
python-pytest
|
||||||
|
python-setuptools-rust))))
|
||||||
|
|
||||||
|
;; This is the last version which is compatable with python-cryptography < 35.
|
||||||
(define-public python-pyopenssl
|
(define-public python-pyopenssl
|
||||||
(package
|
(package
|
||||||
(name "python-pyopenssl")
|
(name "python-pyopenssl")
|
||||||
(version "20.0.1")
|
(version "21.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pyOpenSSL" version))
|
(uri (pypi-uri "pyOpenSSL" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0labcbh2g0jhgisd79wx9kixmi6fip28096d1xb05fj3jmsiq8sc"))))
|
"1cqcc20fwl521z3fxsc1c98gbnhb14q55vrvjfp6bn6h8rg8qbay"))
|
||||||
|
(patches (search-patches "python2-pyopenssl-openssl-compat.patch"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(delete 'check)
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(add-installed-pythonpath inputs outputs)
|
(when tests?
|
||||||
;; PyOpenSSL runs tests against a certificate with a fixed
|
;; PyOpenSSL runs tests against a certificate with a fixed
|
||||||
;; expiry time. To ensure successful builds in the future,
|
;; expiry time. To ensure successful builds in the future,
|
||||||
;; set the time to roughly the release date.
|
;; set the time to roughly the release date.
|
||||||
(invoke "faketime" "2021-05-01" "py.test" "-v" "-k"
|
(invoke "faketime" "2022-02-01" "py.test" "-v" "-k"
|
||||||
(string-append
|
(string-append
|
||||||
;; This test tries to look up certificates from
|
;; This test tries to look up certificates from
|
||||||
;; the compiled-in default path in OpenSSL, which
|
;; the compiled-in default path in OpenSSL, which
|
||||||
;; does not exist in the build environment.
|
;; does not exist in the build environment.
|
||||||
"not test_fallback_default_verify_paths "
|
"not test_fallback_default_verify_paths "
|
||||||
;; This test attempts to make a connection to
|
;; This test attempts to make a connection to
|
||||||
;; an external web service.
|
;; an external web service.
|
||||||
"and not test_set_default_verify_paths "
|
"and not test_set_default_verify_paths "
|
||||||
;; Fails on i686-linux and possibly other 32-bit platforms
|
;; Fails on i686-linux and possibly other 32-bit platforms
|
||||||
;; https://github.com/pyca/pyopenssl/issues/974
|
;; https://github.com/pyca/pyopenssl/issues/974
|
||||||
"and not test_verify_with_time")))))))
|
"and not test_verify_with_time"))))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-cryptography python-six))
|
(list python-cryptography python-six))
|
||||||
(inputs
|
(inputs
|
||||||
|
@ -2773,17 +2773,19 @@ APIs.")
|
|||||||
(define-public python-requests
|
(define-public python-requests
|
||||||
(package
|
(package
|
||||||
(name "python-requests")
|
(name "python-requests")
|
||||||
(version "2.26.0")
|
(version "2.27.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "requests" version))
|
(uri (pypi-uri "requests" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"19q73fq7hip7b74fwls3p9x6zwvfwqcwpn6kha3zsgvrrzw5iamq"))))
|
"0qcsbi919d689xqlgyhw9zkppp1fs6k09wwffa3ri6d8smpwbmv8"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-certifi python-chardet python-charset-normalizer
|
(list python-certifi
|
||||||
python-idna python-urllib3))
|
python-charset-normalizer
|
||||||
|
python-idna
|
||||||
|
python-urllib3))
|
||||||
(arguments
|
(arguments
|
||||||
;; FIXME: Some tests require network access.
|
;; FIXME: Some tests require network access.
|
||||||
'(#:tests? #f))
|
'(#:tests? #f))
|
||||||
@ -3032,14 +3034,14 @@ addon for removing tracking fields from URLs.")
|
|||||||
(define-public python-urllib3
|
(define-public python-urllib3
|
||||||
(package
|
(package
|
||||||
(name "python-urllib3")
|
(name "python-urllib3")
|
||||||
(version "1.26.7")
|
(version "1.26.8")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "urllib3" version))
|
(uri (pypi-uri "urllib3" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1kkf6gi8a1fs0dqkf6kpmdpsy97iirvliz8q1krxp8ppaiawd1s9"))))
|
"0g18xk7gfm88gr4bp3f58vgvsbzwps3sq2kqhv5xyz9ylvck6z0f"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments `(#:tests? #f))
|
(arguments `(#:tests? #f))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
@ -7119,26 +7119,22 @@ a multithreaded image-processing system with low memory needs.")
|
|||||||
(define-public python-pycparser
|
(define-public python-pycparser
|
||||||
(package
|
(package
|
||||||
(name "python-pycparser")
|
(name "python-pycparser")
|
||||||
(version "2.20")
|
(version "2.21")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pycparser" version))
|
(uri (pypi-uri "pycparser" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1w0m3xvlrzq4lkbvd1ngfm8mdw64r1yxy6n7djlw6qj5d0km6ird"))))
|
"01kjlyn5w2nn2saj8w1rhq7v26328pd91xwgqn32z1zp2bngsi76"))))
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(native-inputs
|
|
||||||
(list pkg-config))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(with-directory-excursion "tests"
|
(invoke "python" "-m" "unittest" "discover")))
|
||||||
(invoke "python" "all_tests.py"))
|
|
||||||
#t))
|
|
||||||
(add-after 'install 'install-doc
|
(add-after 'install 'install-doc
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((data (string-append (assoc-ref outputs "doc") "/share"))
|
(let* ((data (string-append (assoc-ref outputs "doc") "/share"))
|
||||||
@ -7149,8 +7145,7 @@ a multithreaded image-processing system with low memory needs.")
|
|||||||
(copy-file (string-append "." file)
|
(copy-file (string-append "." file)
|
||||||
(string-append doc file)))
|
(string-append doc file)))
|
||||||
'("/README.rst" "/CHANGES" "/LICENSE"))
|
'("/README.rst" "/CHANGES" "/LICENSE"))
|
||||||
(copy-recursively "examples" examples)
|
(copy-recursively "examples" examples)))))))
|
||||||
#t))))))
|
|
||||||
(home-page "https://github.com/eliben/pycparser")
|
(home-page "https://github.com/eliben/pycparser")
|
||||||
(synopsis "C parser in Python")
|
(synopsis "C parser in Python")
|
||||||
(description
|
(description
|
||||||
@ -11838,14 +11833,14 @@ for OER and UPER.")
|
|||||||
(define-public python-idna
|
(define-public python-idna
|
||||||
(package
|
(package
|
||||||
(name "python-idna")
|
(name "python-idna")
|
||||||
(version "2.10")
|
(version "3.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "idna" version))
|
(uri (pypi-uri "idna" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1xmk3s92d2vq42684p61wixfmh3qpr2mw762w0n6662vhlpqf1xk"))))
|
"0v8f6qjfi5i7qc5icsbv2pi24qy6k6m8wjqjvdf2sxjvlpq3yr4x"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(home-page "https://github.com/kjd/idna")
|
(home-page "https://github.com/kjd/idna")
|
||||||
(synopsis "Internationalized domain names in applications")
|
(synopsis "Internationalized domain names in applications")
|
||||||
@ -12906,10 +12901,10 @@ time.")
|
|||||||
texlive-unicode-math
|
texlive-unicode-math
|
||||||
texlive-xcolor
|
texlive-xcolor
|
||||||
(texlive-updmap.cfg (list texlive-amsfonts
|
(texlive-updmap.cfg (list texlive-amsfonts
|
||||||
|
texlive-amsmath
|
||||||
texlive-eurosym
|
texlive-eurosym
|
||||||
texlive-fonts-rsfs
|
texlive-fonts-rsfs
|
||||||
texlive-jknappen
|
texlive-jknappen
|
||||||
texlive-latex-amsmath
|
|
||||||
texlive-latex-ucs
|
texlive-latex-ucs
|
||||||
texlive-lm
|
texlive-lm
|
||||||
texlive-lm-math
|
texlive-lm-math
|
||||||
@ -13203,19 +13198,40 @@ simulation, statistical modeling, machine learning and much more.")
|
|||||||
(define-public python-chardet
|
(define-public python-chardet
|
||||||
(package
|
(package
|
||||||
(name "python-chardet")
|
(name "python-chardet")
|
||||||
(version "3.0.4")
|
(version "4.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "chardet" version))
|
(uri (pypi-uri "chardet" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4"))))
|
"1ykr04qyhgpc0h5b7dhqw4g92b1xv7ki2ky910mhy4mlbnhm6vqd"))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-hypothesis python-pytest python-pytest-runner))
|
(list python-pytest))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
;; XXX: Incompatible with Pytest 4: <https://github.com/chardet/chardet/issues/173>.
|
(arguments
|
||||||
(arguments `(#:tests? #f))
|
(list #:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(invoke "pytest" "-vv")))
|
||||||
|
;; This package provides a 'chardetect' executable that only
|
||||||
|
;; depends on Python, so customize the wrap phase to avoid
|
||||||
|
;; adding pytest and friends in order to save size.
|
||||||
|
;; (See also <https://bugs.gnu.org/25235>.)
|
||||||
|
(replace 'wrap
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(let* ((sitedir (site-packages inputs outputs))
|
||||||
|
(python (dirname (dirname
|
||||||
|
(search-input-file
|
||||||
|
inputs "bin/python"))))
|
||||||
|
(python-sitedir
|
||||||
|
(string-append python "/lib/python"
|
||||||
|
(python-version python)
|
||||||
|
"/site-packages")))
|
||||||
|
(wrap-program (string-append #$output "/bin/chardetect")
|
||||||
|
`("GUIX_PYTHONPATH" ":" suffix
|
||||||
|
,(list sitedir python-sitedir)))))))))
|
||||||
(home-page "https://github.com/chardet/chardet")
|
(home-page "https://github.com/chardet/chardet")
|
||||||
(synopsis "Universal encoding detector for Python 2 and 3")
|
(synopsis "Universal encoding detector for Python 2 and 3")
|
||||||
(description
|
(description
|
||||||
@ -13226,14 +13242,34 @@ automatically detect a wide range of file encodings.")
|
|||||||
(define-public python-charset-normalizer
|
(define-public python-charset-normalizer
|
||||||
(package
|
(package
|
||||||
(name "python-charset-normalizer")
|
(name "python-charset-normalizer")
|
||||||
(version "2.0.5")
|
(version "2.0.11")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "charset-normalizer" version))
|
(uri (pypi-uri "charset-normalizer" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0rr3iv2xw4rz5ijnfqk229fw85cq6p6rhqqsilm0ldzncblfg63h"))))
|
(base32 "071pi2kd222rjjrjdllffqv3iz4bfaj93a9bfs65907fd6fqlfcq"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
;; This package provides a 'normalizer' executable that only
|
||||||
|
;; depends on Python, so customize the wrap phase to avoid
|
||||||
|
;; adding pytest and friends in order to save size.
|
||||||
|
;; (See also <https://bugs.gnu.org/25235>.)
|
||||||
|
(replace 'wrap
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(let* ((sitedir (site-packages inputs outputs))
|
||||||
|
(python (dirname (dirname
|
||||||
|
(search-input-file
|
||||||
|
inputs "bin/python"))))
|
||||||
|
(python-sitedir
|
||||||
|
(string-append python "/lib/python"
|
||||||
|
(python-version python)
|
||||||
|
"/site-packages")))
|
||||||
|
(wrap-program (string-append #$output "/bin/normalizer")
|
||||||
|
`("GUIX_PYTHONPATH" ":" suffix
|
||||||
|
,(list sitedir python-sitedir)))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest))
|
(list python-pytest))
|
||||||
(home-page "https://github.com/ousret/charset_normalizer")
|
(home-page "https://github.com/ousret/charset_normalizer")
|
||||||
|
@ -530,7 +530,7 @@ used by RDS Spy, and audio files containing @dfn{multiplex} signals (MPX).")
|
|||||||
("python-scipy" ,python-scipy)
|
("python-scipy" ,python-scipy)
|
||||||
("python-sphinx" ,python-sphinx)
|
("python-sphinx" ,python-sphinx)
|
||||||
("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
|
("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
|
||||||
texlive-latex-amsmath
|
texlive-amsmath
|
||||||
;; TODO: Add newunicodechar.
|
;; TODO: Add newunicodechar.
|
||||||
texlive-latex-graphics)))
|
texlive-latex-graphics)))
|
||||||
("xorg-server" ,xorg-server-for-tests)))
|
("xorg-server" ,xorg-server-for-tests)))
|
||||||
@ -738,7 +738,7 @@ to access different radio hardware.")
|
|||||||
("libtool" ,libtool)
|
("libtool" ,libtool)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
|
("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
|
||||||
texlive-latex-amsmath
|
texlive-amsmath
|
||||||
;; TODO: Add newunicodechar.
|
;; TODO: Add newunicodechar.
|
||||||
texlive-latex-graphics)))))
|
texlive-latex-graphics)))))
|
||||||
(inputs
|
(inputs
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
|
;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
|
||||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2019, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
(define-module (gnu packages rails)
|
(define-module (gnu packages rails)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
@ -291,6 +292,13 @@ directly.")
|
|||||||
(base32
|
(base32
|
||||||
"17vdh273cmmfpzy5m546dd13zqmimv54jjx0f7sl0zi5lwz0gnck"))))
|
"17vdh273cmmfpzy5m546dd13zqmimv54jjx0f7sl0zi5lwz0gnck"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'delete-gemfile.lock
|
||||||
|
(lambda _
|
||||||
|
(delete-file "Gemfile.lock"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list bundler))
|
(list bundler))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
@ -121,12 +121,10 @@
|
|||||||
(package-native-inputs base-rust))))))
|
(package-native-inputs base-rust))))))
|
||||||
|
|
||||||
;;; Note: mrustc's only purpose is to be able to bootstap Rust; it's designed
|
;;; Note: mrustc's only purpose is to be able to bootstap Rust; it's designed
|
||||||
;;; to be used in source form. The latest support for bootstrapping from
|
;;; to be used in source form.
|
||||||
;;; 1.39.0 is not yet released so use the latest commit (see:
|
(define %mrustc-commit "b364724f15fd6fce8234ad8add68107c23a22151")
|
||||||
;;; https://github.com/thepowersgang/mrustc/issues/185).
|
|
||||||
(define %mrustc-commit "c7066542f8e93d320323749216bf3c82aecb67c2")
|
|
||||||
(define %mrustc-source
|
(define %mrustc-source
|
||||||
(let* ((version "0.9")
|
(let* ((version "0.10")
|
||||||
(commit %mrustc-commit)
|
(commit %mrustc-commit)
|
||||||
(revision "1")
|
(revision "1")
|
||||||
(name "mrustc"))
|
(name "mrustc"))
|
||||||
@ -138,7 +136,7 @@
|
|||||||
(file-name (git-file-name name (git-version version revision commit)))
|
(file-name (git-file-name name (git-version version revision commit)))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0zv1x6601s5fnnkcdlqkc4bknisqz569qb0iyb9rjsmaf1kh0na3")))))
|
"0f7kh4n2663sn0z3xib8gzw0s97qpvwag40g2vs3bfjlrbpgi9z0")))))
|
||||||
|
|
||||||
;;; Rust 1.39 is special in that it is built with mrustc, which shortens the
|
;;; Rust 1.39 is special in that it is built with mrustc, which shortens the
|
||||||
;;; bootstrap path.
|
;;; bootstrap path.
|
||||||
@ -237,10 +235,11 @@
|
|||||||
,(string-take %mrustc-commit 7) "\\\""
|
,(string-take %mrustc-commit 7) "\\\""
|
||||||
" -D VERSION_BUILDTIME="
|
" -D VERSION_BUILDTIME="
|
||||||
"\"\\\"Thu, 01 Jan 1970 00:00:01 +0000\\\"\""
|
"\"\\\"Thu, 01 Jan 1970 00:00:01 +0000\\\"\""
|
||||||
" -D VERSION_GIT_ISDIRTY=0\n"))
|
" -D VERSION_GIT_ISDIRTY=0\n")))
|
||||||
|
(substitute* "minicargo.mk"
|
||||||
;; Do not try to fetch sources from the Internet.
|
;; Do not try to fetch sources from the Internet.
|
||||||
((": \\$\\(RUSTC_SRC_DL\\)")
|
(("\\$\\(MINICARGO\\) \\$\\(RUSTC_SRC_DL\\)")
|
||||||
":"))
|
"$(MINICARGO)"))
|
||||||
(substitute* "run_rustc/Makefile"
|
(substitute* "run_rustc/Makefile"
|
||||||
(("[$]Vtime ")
|
(("[$]Vtime ")
|
||||||
"$V ")
|
"$V ")
|
||||||
@ -248,6 +247,9 @@
|
|||||||
(("-j [[:digit:]]+ ")
|
(("-j [[:digit:]]+ ")
|
||||||
"")
|
"")
|
||||||
;; Patch the shebang of a generated wrapper for rustc
|
;; Patch the shebang of a generated wrapper for rustc
|
||||||
|
(("#!/bin/sh")
|
||||||
|
(string-append "#!" (which "sh"))))
|
||||||
|
(substitute* "run_rustc/rustc_proxy.sh"
|
||||||
(("#!/bin/sh")
|
(("#!/bin/sh")
|
||||||
(string-append "#!" (which "sh"))))))))
|
(string-append "#!" (which "sh"))))))))
|
||||||
(add-after 'patch-generated-file-shebangs 'patch-cargo-checksums
|
(add-after 'patch-generated-file-shebangs 'patch-cargo-checksums
|
||||||
@ -322,9 +324,9 @@
|
|||||||
safety and thread safety guarantees.")
|
safety and thread safety guarantees.")
|
||||||
(home-page "https://github.com/thepowersgang/mrustc")
|
(home-page "https://github.com/thepowersgang/mrustc")
|
||||||
|
|
||||||
;; So far mrustc is x86_64-only. It may support i686 soon:
|
;; So far mrustc is (x86_64|aarch64)-only. It may support i686 soon:
|
||||||
;; <https://github.com/thepowersgang/mrustc/issues/78>.
|
;; <https://github.com/thepowersgang/mrustc/issues/78>.
|
||||||
(supported-systems '("x86_64-linux"))
|
(supported-systems '("x86_64-linux" "aarch64-linux"))
|
||||||
|
|
||||||
;; Dual licensed.
|
;; Dual licensed.
|
||||||
(license (list license:asl2.0 license:expat))))
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
@ -1455,139 +1455,6 @@ Taco Hoekwater.")
|
|||||||
(define-public texlive-amsfonts
|
(define-public texlive-amsfonts
|
||||||
(let ((template (simple-texlive-package
|
(let ((template (simple-texlive-package
|
||||||
"texlive-amsfonts"
|
"texlive-amsfonts"
|
||||||
(list "/source/latex/amsfonts/"
|
|
||||||
"/fonts/source/public/amsfonts/"
|
|
||||||
"/fonts/type1/public/amsfonts/"
|
|
||||||
"/fonts/afm/public/amsfonts/"
|
|
||||||
"/fonts/map/dvips/amsfonts/"
|
|
||||||
"/tex/plain/amsfonts/"
|
|
||||||
"/doc/fonts/amsfonts/")
|
|
||||||
(base32
|
|
||||||
"15q70nkjf8wqzbd5ivcdx3i2sdgqxjb38q0qn9a2qw9i0qcnx6zw"))))
|
|
||||||
(package
|
|
||||||
(inherit template)
|
|
||||||
;; TODO: This package is missing files.
|
|
||||||
(replacement texlive-amsfonts/fixed)
|
|
||||||
(arguments
|
|
||||||
(substitute-keyword-arguments (package-arguments template)
|
|
||||||
((#:build-targets _ #t)
|
|
||||||
'(list "amsfonts.ins"))
|
|
||||||
((#:tex-directory _ #t)
|
|
||||||
"latex/amsfonts")
|
|
||||||
((#:modules modules '())
|
|
||||||
`((guix build texlive-build-system)
|
|
||||||
(guix build utils)
|
|
||||||
(ice-9 match)
|
|
||||||
(srfi srfi-1)
|
|
||||||
(srfi srfi-26)))
|
|
||||||
((#:phases phases)
|
|
||||||
`(modify-phases ,phases
|
|
||||||
(add-before 'build 'build-fonts
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
;; Allow self fonts sources and other resources to be
|
|
||||||
;; discovered.
|
|
||||||
(setenv "GUIX_TEXMF" (string-append (getenv "GUIX_TEXMF")
|
|
||||||
":" (getcwd)))
|
|
||||||
|
|
||||||
(let ((build (string-append (getcwd) "/build-fonts")))
|
|
||||||
(mkdir-p build)
|
|
||||||
(with-directory-excursion "fonts/source/public/amsfonts"
|
|
||||||
(for-each (lambda (font)
|
|
||||||
(format #t "building font ~a\n" (basename font ".mf"))
|
|
||||||
(with-directory-excursion (dirname font)
|
|
||||||
(invoke "mf" "-progname=mf"
|
|
||||||
(string-append "-output-directory=" build)
|
|
||||||
(string-append "\\"
|
|
||||||
"mode:=ljfour; "
|
|
||||||
"mag:=1; "
|
|
||||||
"nonstopmode; "
|
|
||||||
"input "
|
|
||||||
(getcwd) "/"
|
|
||||||
(basename font ".mf")))))
|
|
||||||
(find-files "." "[0-9]+\\.mf$"))))
|
|
||||||
|
|
||||||
;; There are no metafont sources for the Euler fonts, so we
|
|
||||||
;; convert the afm files instead.
|
|
||||||
(let ((build (string-append (getcwd) "/build-fonts/euler")))
|
|
||||||
(mkdir build)
|
|
||||||
(with-directory-excursion "fonts/afm/public/amsfonts/euler"
|
|
||||||
(for-each (lambda (font)
|
|
||||||
(format #t "converting afm font ~a\n" (basename font ".afm"))
|
|
||||||
(invoke "afm2tfm" font
|
|
||||||
(string-append build "/"
|
|
||||||
(basename font ".tfm"))))
|
|
||||||
(find-files "(cmextra|cyrillic|dummy|euler|symbols)"
|
|
||||||
"\\.afm$")))
|
|
||||||
|
|
||||||
;; Frustratingly, not all fonts can be created this way. To
|
|
||||||
;; generate eufm8.tfm, for example, we first scale down
|
|
||||||
;; eufm10.afm to eufm8.pl, and then generate the tfm file from
|
|
||||||
;; the pl file.
|
|
||||||
(setenv "TEXINPUTS"
|
|
||||||
(string-append ":" build "//:"
|
|
||||||
(getcwd) "/fonts/afm/public/amsfonts//:"
|
|
||||||
(getcwd) "/source/latex/amsfonts//:"))
|
|
||||||
(with-directory-excursion build
|
|
||||||
(for-each (match-lambda
|
|
||||||
(((target-base target-size)
|
|
||||||
(source-base source-size))
|
|
||||||
(let ((factor (number->string
|
|
||||||
(truncate/ (* 1000 target-size)
|
|
||||||
source-size))))
|
|
||||||
(invoke "tex"
|
|
||||||
"-interaction=scrollmode"
|
|
||||||
(string-append "\\input fontinst.sty "
|
|
||||||
"\\transformfont{" target-base "}"
|
|
||||||
"{\\scalefont{" factor "}"
|
|
||||||
"{\\fromafm{" source-base "}}} "
|
|
||||||
"\\bye")))
|
|
||||||
(invoke "pltotf"
|
|
||||||
(string-append target-base ".pl")
|
|
||||||
(string-append target-base ".tfm"))
|
|
||||||
(delete-file (string-append target-base ".pl"))))
|
|
||||||
|
|
||||||
'((("eufm8" 8) ("eufm10" 10))
|
|
||||||
|
|
||||||
(("eufb6" 6) ("eufb7" 7))
|
|
||||||
(("eufb8" 8) ("eufb10" 10))
|
|
||||||
(("eufb9" 9) ("eufb10" 10))
|
|
||||||
|
|
||||||
(("eufm6" 6) ("eufb7" 7))
|
|
||||||
(("eufm9" 9) ("eufb10" 10))
|
|
||||||
|
|
||||||
(("eurb6" 6) ("eurb7" 7))
|
|
||||||
(("eurb8" 8) ("eurb10" 10))
|
|
||||||
(("eurb9" 9) ("eurb10" 10))
|
|
||||||
|
|
||||||
(("eurm6" 6) ("eurm7" 7))
|
|
||||||
(("eurm8" 8) ("eurm10" 10))
|
|
||||||
(("eurm9" 9) ("eurm10" 10))))))))
|
|
||||||
(add-after 'install 'install-generated-fonts
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(copy-recursively "build-fonts"
|
|
||||||
(string-append
|
|
||||||
(assoc-ref outputs "out")
|
|
||||||
"/share/texmf-dist/fonts/tfm/public/amsfonts"))))))))
|
|
||||||
(native-inputs
|
|
||||||
(list (texlive-updmap.cfg (list texlive-fontinst))))
|
|
||||||
(home-page "https://www.ctan.org/pkg/amsfonts")
|
|
||||||
(synopsis "TeX fonts from the American Mathematical Society")
|
|
||||||
(description
|
|
||||||
"This package provides an extended set of fonts for use in mathematics,
|
|
||||||
including: extra mathematical symbols; blackboard bold letters (uppercase
|
|
||||||
only); fraktur letters; subscript sizes of bold math italic and bold Greek
|
|
||||||
letters; subscript sizes of large symbols such as sum and product; added sizes
|
|
||||||
of the Computer Modern small caps font; cyrillic fonts (from the University of
|
|
||||||
Washington); Euler mathematical fonts. All fonts are provided as Adobe Type 1
|
|
||||||
files, and all except the Euler fonts are provided as Metafont source. The
|
|
||||||
distribution also includes the canonical Type 1 versions of the Computer
|
|
||||||
Modern family of fonts. The Euler fonts are supported by separate packages;
|
|
||||||
details can be found in the documentation.")
|
|
||||||
(license license:silofl1.1))))
|
|
||||||
|
|
||||||
(define-public texlive-amsfonts/fixed
|
|
||||||
(let ((template (simple-texlive-package
|
|
||||||
"texlive-amsfonts-fixed"
|
|
||||||
(list "/source/latex/amsfonts/"
|
(list "/source/latex/amsfonts/"
|
||||||
"/fonts/source/public/amsfonts/"
|
"/fonts/source/public/amsfonts/"
|
||||||
"/fonts/type1/public/amsfonts/"
|
"/fonts/type1/public/amsfonts/"
|
||||||
@ -4059,37 +3926,6 @@ loading fonts by their proper names instead of file names.")
|
|||||||
|
|
||||||
(define-deprecated-package texlive-luatex-luaotfload texlive-luaotfload)
|
(define-deprecated-package texlive-luatex-luaotfload texlive-luaotfload)
|
||||||
|
|
||||||
(define-public texlive-latex-amsmath
|
|
||||||
(package
|
|
||||||
(name "texlive-latex-amsmath")
|
|
||||||
(version (number->string %texlive-revision))
|
|
||||||
(source (origin
|
|
||||||
(method svn-fetch)
|
|
||||||
(uri (texlive-ref "latex" "amsmath"))
|
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"172zybw7rp05jca8wl6x0mh6z6gncdyi1j9wdfyjnhbvqw0z4wi4"))))
|
|
||||||
;; This package misses important files
|
|
||||||
(replacement texlive-amsmath)
|
|
||||||
(build-system texlive-build-system)
|
|
||||||
(arguments '(#:tex-directory "latex/amsmath"))
|
|
||||||
(home-page "https://www.ctan.org/pkg/amsmath")
|
|
||||||
(synopsis "AMS mathematical facilities for LaTeX")
|
|
||||||
(description
|
|
||||||
"This is the principal package in the AMS-LaTeX distribution. It adapts
|
|
||||||
for use in LaTeX most of the mathematical features found in AMS-TeX; it is
|
|
||||||
highly recommended as an adjunct to serious mathematical typesetting in LaTeX.
|
|
||||||
When amsmath is loaded, AMS-LaTeX packages @code{amsbsyamsbsy} (for bold
|
|
||||||
symbols), @code{amsopnamsopn} (for operator names) and
|
|
||||||
@code{amstextamstext} (for text embedded in mathematics) are also loaded.
|
|
||||||
This package is part of the LaTeX required distribution; however, several
|
|
||||||
contributed packages add still further to its appeal; examples are
|
|
||||||
@code{empheqempheq}, which provides functions for decorating and highlighting
|
|
||||||
mathematics, and @code{ntheoremntheorem}, for specifying theorem (and similar)
|
|
||||||
definitions.")
|
|
||||||
(license license:lppl1.3c+)))
|
|
||||||
|
|
||||||
(define-public texlive-amsmath
|
(define-public texlive-amsmath
|
||||||
(let ((template (simple-texlive-package
|
(let ((template (simple-texlive-package
|
||||||
"texlive-amsmath"
|
"texlive-amsmath"
|
||||||
@ -4135,6 +3971,8 @@ mathematics, and @code{ntheoremntheorem}, for specifying theorem (and similar)
|
|||||||
definitions.")
|
definitions.")
|
||||||
(license license:lppl1.3c+))))
|
(license license:lppl1.3c+))))
|
||||||
|
|
||||||
|
(define-deprecated-package texlive-latex-amsmath texlive-amsmath)
|
||||||
|
|
||||||
(define-public texlive-amscls
|
(define-public texlive-amscls
|
||||||
(let ((template (simple-texlive-package
|
(let ((template (simple-texlive-package
|
||||||
"texlive-amscls"
|
"texlive-amscls"
|
||||||
@ -4175,8 +4013,6 @@ distribution.")
|
|||||||
"0qr5vjp79g1c1l6k173qhfdfabgbky73wymzhm56pazx4a8r08wz"))))
|
"0qr5vjp79g1c1l6k173qhfdfabgbky73wymzhm56pazx4a8r08wz"))))
|
||||||
(package
|
(package
|
||||||
(inherit template)
|
(inherit template)
|
||||||
;; TODO: This package is missing files.
|
|
||||||
(replacement texlive-babel/fixed)
|
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments template)
|
(substitute-keyword-arguments (package-arguments template)
|
||||||
((#:tex-directory _ #t)
|
((#:tex-directory _ #t)
|
||||||
@ -4184,14 +4020,27 @@ distribution.")
|
|||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
`(modify-phases ,phases
|
`(modify-phases ,phases
|
||||||
(add-after 'unpack 'chdir
|
(add-after 'unpack 'chdir
|
||||||
(lambda _ (chdir "source/latex/babel/") #t))
|
(lambda _ (chdir "source/latex/babel/")))
|
||||||
;; This package tries to produce babel.aux twice but refuses to
|
;; This package tries to produce babel.aux twice but refuses to
|
||||||
;; overwrite the first one.
|
;; overwrite the first one.
|
||||||
(add-before 'build 'fix-ins
|
(add-before 'build 'fix-ins
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "babel.ins"
|
(substitute* "babel.ins"
|
||||||
(("askonceonly") "askforoverwritefalse"))
|
(("askonceonly") "askforoverwritefalse"))))
|
||||||
#t))
|
(add-before 'copy-files 'unchdir
|
||||||
|
(lambda _
|
||||||
|
(chdir "../../..")))
|
||||||
|
(add-after 'copy-files 'delete-extra-files
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(delete-file-recursively
|
||||||
|
(string-append (assoc-ref outputs "out")
|
||||||
|
"/share/texmf-dist/source/latex/babel/build"))
|
||||||
|
(delete-file
|
||||||
|
(string-append (assoc-ref outputs "out")
|
||||||
|
"/share/texmf-dist/tex/generic/babel/bbind.ist"))
|
||||||
|
(delete-file
|
||||||
|
(string-append (assoc-ref outputs "out")
|
||||||
|
"/share/texmf-dist/tex/generic/babel/bbglo.ist"))))
|
||||||
(add-after 'install 'install-locales
|
(add-after 'install 'install-locales
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((locale-directory
|
(let ((locale-directory
|
||||||
@ -4214,29 +4063,6 @@ what has to be done for each language. Users of XeTeX are advised to use the
|
|||||||
polyglossia package rather than Babel.")
|
polyglossia package rather than Babel.")
|
||||||
(license license:lppl1.3+))))
|
(license license:lppl1.3+))))
|
||||||
|
|
||||||
(define-public texlive-babel/fixed
|
|
||||||
(package
|
|
||||||
(inherit texlive-babel)
|
|
||||||
(name "texlive-babel-fixed")
|
|
||||||
(arguments
|
|
||||||
(substitute-keyword-arguments (package-arguments texlive-babel)
|
|
||||||
((#:phases phases)
|
|
||||||
`(modify-phases ,phases
|
|
||||||
(add-before 'copy-files 'unchdir
|
|
||||||
(lambda _
|
|
||||||
(chdir "../../..")))
|
|
||||||
(add-after 'copy-files 'delete-extra-files
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(delete-file-recursively
|
|
||||||
(string-append (assoc-ref outputs "out")
|
|
||||||
"/share/texmf-dist/source/latex/babel/build"))
|
|
||||||
(delete-file
|
|
||||||
(string-append (assoc-ref outputs "out")
|
|
||||||
"/share/texmf-dist/tex/generic/babel/bbind.ist"))
|
|
||||||
(delete-file
|
|
||||||
(string-append (assoc-ref outputs "out")
|
|
||||||
"/share/texmf-dist/tex/generic/babel/bbglo.ist"))))))))))
|
|
||||||
|
|
||||||
(define-deprecated-package texlive-latex-babel texlive-babel)
|
(define-deprecated-package texlive-latex-babel texlive-babel)
|
||||||
|
|
||||||
(define-public texlive-cs
|
(define-public texlive-cs
|
||||||
@ -4530,8 +4356,6 @@ language that is written in a Cyrillic alphabet.")
|
|||||||
"11f14dzhwsy4pli21acccip43d36nf3pac33ihjffnps1i2mhqkd"))))
|
"11f14dzhwsy4pli21acccip43d36nf3pac33ihjffnps1i2mhqkd"))))
|
||||||
(package
|
(package
|
||||||
(inherit template)
|
(inherit template)
|
||||||
;; TODO: This package is missing files.
|
|
||||||
(replacement texlive-psnfss/fixed)
|
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments template)
|
(substitute-keyword-arguments (package-arguments template)
|
||||||
((#:tex-directory _ #t)
|
((#:tex-directory _ #t)
|
||||||
@ -4540,7 +4364,15 @@ language that is written in a Cyrillic alphabet.")
|
|||||||
`(modify-phases ,phases
|
`(modify-phases ,phases
|
||||||
(add-after 'unpack 'chdir
|
(add-after 'unpack 'chdir
|
||||||
(lambda _
|
(lambda _
|
||||||
(chdir "source/latex/psnfss") #t))))))
|
(chdir "source/latex/psnfss")))
|
||||||
|
(add-before 'copy-files 'unchdir
|
||||||
|
(lambda _
|
||||||
|
(chdir "../../..")))
|
||||||
|
(add-after 'copy-files 'delete-extra-files
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(delete-file-recursively
|
||||||
|
(string-append (assoc-ref outputs "out")
|
||||||
|
"/share/texmf-dist/source/latex/psnfss/build"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list texlive-cm))
|
(list texlive-cm))
|
||||||
(home-page "https://www.ctan.org/pkg/psnfss")
|
(home-page "https://www.ctan.org/pkg/psnfss")
|
||||||
@ -4559,23 +4391,6 @@ means to select single glyphs from symbol fonts. The bundle as a whole is
|
|||||||
part of the LaTeX required set of packages.")
|
part of the LaTeX required set of packages.")
|
||||||
(license license:lppl1.2+))))
|
(license license:lppl1.2+))))
|
||||||
|
|
||||||
(define-public texlive-psnfss/fixed
|
|
||||||
(package
|
|
||||||
(inherit texlive-psnfss)
|
|
||||||
(name "texlive-psnfss-fixed")
|
|
||||||
(arguments
|
|
||||||
(substitute-keyword-arguments (package-arguments texlive-psnfss)
|
|
||||||
((#:phases phases)
|
|
||||||
`(modify-phases ,phases
|
|
||||||
(add-before 'copy-files 'unchdir
|
|
||||||
(lambda _
|
|
||||||
(chdir "../../..")))
|
|
||||||
(add-after 'copy-files 'delete-extra-files
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(delete-file-recursively
|
|
||||||
(string-append (assoc-ref outputs "out")
|
|
||||||
"/share/texmf-dist/source/latex/psnfss/build"))))))))))
|
|
||||||
|
|
||||||
(define-deprecated-package texlive-latex-psnfss texlive-psnfss)
|
(define-deprecated-package texlive-latex-psnfss texlive-psnfss)
|
||||||
|
|
||||||
;; For user profiles
|
;; For user profiles
|
||||||
@ -4591,7 +4406,7 @@ part of the LaTeX required set of packages.")
|
|||||||
texlive-latex-base
|
texlive-latex-base
|
||||||
texlive-kpathsea ;for mktex.opt
|
texlive-kpathsea ;for mktex.opt
|
||||||
;; LaTeX packages from the "required" set.
|
;; LaTeX packages from the "required" set.
|
||||||
texlive-latex-amsmath
|
texlive-amsmath
|
||||||
texlive-amscls
|
texlive-amscls
|
||||||
texlive-babel
|
texlive-babel
|
||||||
texlive-generic-babel-english
|
texlive-generic-babel-english
|
||||||
@ -7018,8 +6833,6 @@ and alphabets with a set of text faces suitable for professional publishing.")
|
|||||||
"0yn0yl6x1z9ab5gb56lhvkqabd2agz3ggxifwxkiysrj5780j29z"))))
|
"0yn0yl6x1z9ab5gb56lhvkqabd2agz3ggxifwxkiysrj5780j29z"))))
|
||||||
(package
|
(package
|
||||||
(inherit template)
|
(inherit template)
|
||||||
;; TODO: This package is missing files.
|
|
||||||
(replacement texlive-stmaryrd/fixed)
|
|
||||||
(arguments (substitute-keyword-arguments (package-arguments template)
|
(arguments (substitute-keyword-arguments (package-arguments template)
|
||||||
((#:tex-directory _ #t)
|
((#:tex-directory _ #t)
|
||||||
"latex/stmaryrd")
|
"latex/stmaryrd")
|
||||||
@ -7035,7 +6848,15 @@ and alphabets with a set of text faces suitable for professional publishing.")
|
|||||||
(("^%% LaTeX2e.*") "\\input docstrip\n")
|
(("^%% LaTeX2e.*") "\\input docstrip\n")
|
||||||
(("fontdef\\}\\}" line)
|
(("fontdef\\}\\}" line)
|
||||||
(string-append line "\n\\endbatchfile")))
|
(string-append line "\n\\endbatchfile")))
|
||||||
#t))))))
|
#t))
|
||||||
|
(add-before 'copy-files 'unchdir
|
||||||
|
(lambda _
|
||||||
|
(chdir "../../..")))
|
||||||
|
(add-after 'copy-files 'delete-extra-files
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(delete-file-recursively
|
||||||
|
(string-append (assoc-ref outputs "out")
|
||||||
|
"/share/texmf-dist/source/fonts/stmaryrd/build"))))))))
|
||||||
(home-page "https://www.ctan.org/pkg/stmaryrd")
|
(home-page "https://www.ctan.org/pkg/stmaryrd")
|
||||||
(synopsis "St Mary Road symbols for theoretical computer science")
|
(synopsis "St Mary Road symbols for theoretical computer science")
|
||||||
(description
|
(description
|
||||||
@ -7046,25 +6867,6 @@ use under LaTeX; the package supports the @code{only} option (provided by the
|
|||||||
the whole font.")
|
the whole font.")
|
||||||
(license license:lppl))))
|
(license license:lppl))))
|
||||||
|
|
||||||
(define-public texlive-stmaryrd/fixed
|
|
||||||
(package
|
|
||||||
(inherit texlive-stmaryrd)
|
|
||||||
(name "texlive-stmaryrd-fixed")
|
|
||||||
(arguments
|
|
||||||
(substitute-keyword-arguments (package-arguments texlive-stmaryrd)
|
|
||||||
((#:tex-directory _ #t)
|
|
||||||
"latex/stmaryrd")
|
|
||||||
((#:phases phases)
|
|
||||||
`(modify-phases ,phases
|
|
||||||
(add-before 'copy-files 'unchdir
|
|
||||||
(lambda _
|
|
||||||
(chdir "../../..")))
|
|
||||||
(add-after 'copy-files 'delete-extra-files
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(delete-file-recursively
|
|
||||||
(string-append (assoc-ref outputs "out")
|
|
||||||
"/share/texmf-dist/source/fonts/stmaryrd/build"))))))))))
|
|
||||||
|
|
||||||
(define-deprecated-package texlive-fonts-stmaryrd texlive-stmaryrd)
|
(define-deprecated-package texlive-fonts-stmaryrd texlive-stmaryrd)
|
||||||
|
|
||||||
(define-public texlive-latex-subfigure
|
(define-public texlive-latex-subfigure
|
||||||
|
@ -123,14 +123,14 @@ expressions.")
|
|||||||
(package
|
(package
|
||||||
(name "python-pytz")
|
(name "python-pytz")
|
||||||
;; This package should be kept in sync with tzdata in (gnu packages base).
|
;; This package should be kept in sync with tzdata in (gnu packages base).
|
||||||
(version "2021.1")
|
(version "2022.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pytz" version))
|
(uri (pypi-uri "pytz" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1nn459q7zg20n75akxl3ljkykgw1ydc8nb05rx1y4f5zjh4ak943"))))
|
"19ya5sh7if819flgmszz585glailhi7rr8frng03n5m8wqphwxhy"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(home-page "http://pythonhosted.org/pytz")
|
(home-page "http://pythonhosted.org/pytz")
|
||||||
(synopsis "Python timezone library")
|
(synopsis "Python timezone library")
|
||||||
@ -338,14 +338,14 @@ ISO 8601 dates, time and duration.")
|
|||||||
(define-public python-iso8601
|
(define-public python-iso8601
|
||||||
(package
|
(package
|
||||||
(name "python-iso8601")
|
(name "python-iso8601")
|
||||||
(version "0.1.13")
|
(version "1.0.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "iso8601" version))
|
(uri (pypi-uri "iso8601" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1cgfj91khil4ii5gb8s6nxwm73vx7hqc2k79dd9d8990ylmc5ppp"))))
|
"1ccl6plks706hxm35cn1wsvxhqh3bfwi5cjgjpdxjib81qi07x97"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (modify-phases %standard-phases
|
'(#:phases (modify-phases %standard-phases
|
||||||
@ -353,8 +353,8 @@ ISO 8601 dates, time and duration.")
|
|||||||
(lambda _
|
(lambda _
|
||||||
(invoke "pytest" "-vv" "iso8601"))))))
|
(invoke "pytest" "-vv" "iso8601"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest))
|
(list python-pytest python-pytz))
|
||||||
(home-page "https://bitbucket.org/micktwomey/pyiso8601")
|
(home-page "https://github.com/micktwomey/pyiso8601")
|
||||||
(synopsis "Module to parse ISO 8601 dates")
|
(synopsis "Module to parse ISO 8601 dates")
|
||||||
(description
|
(description
|
||||||
"This module parses the most common forms of ISO 8601 date strings (e.g.
|
"This module parses the most common forms of ISO 8601 date strings (e.g.
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2015 David Thompson <davet@gnu.org>
|
;;; Copyright © 2015 David Thompson <davet@gnu.org>
|
||||||
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2016, 2017, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016, 2017, 2019, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2016, 2017, 2018 Nikita <nikita@n0.is>
|
;;; Copyright © 2016, 2017, 2018 Nikita <nikita@n0.is>
|
||||||
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||||
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
|
||||||
@ -755,14 +755,14 @@ certificates for free.")
|
|||||||
(define-public perl-net-ssleay
|
(define-public perl-net-ssleay
|
||||||
(package
|
(package
|
||||||
(name "perl-net-ssleay")
|
(name "perl-net-ssleay")
|
||||||
(version "1.88")
|
(version "1.92")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://cpan/authors/id/C/CH/CHRISN/"
|
(uri (string-append "mirror://cpan/authors/id/C/CH/CHRISN/"
|
||||||
"Net-SSLeay-" version ".tar.gz"))
|
"Net-SSLeay-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1pfgh4h3szcpvqlcimc60pjbk9zwls99x5863sva0wc47i4dl010"))))
|
"1acnjd5180dca26dmjq0b9ib0dbavlrzd6fnf4nidrzj02rz5hj7"))))
|
||||||
(build-system perl-build-system)
|
(build-system perl-build-system)
|
||||||
(inputs (list openssl))
|
(inputs (list openssl))
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -78,15 +78,14 @@ renderer.")
|
|||||||
(define-public ucd
|
(define-public ucd
|
||||||
(package
|
(package
|
||||||
(name "ucd")
|
(name "ucd")
|
||||||
(version "12.0.0")
|
(version "14.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch/zipbomb)
|
(method url-fetch/zipbomb)
|
||||||
(uri (string-append "https://www.unicode.org/Public/zipped/" version
|
(uri (string-append "https://www.unicode.org/Public/zipped/" version
|
||||||
"/UCD.zip"))
|
"/UCD.zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "001nq9w52ijma0vps40xwy2q6ylpyf1393lzb128ibypnmv54fh3"))))
|
||||||
"1ighy39cjkmqnv1797wrxjz76mv1fdw7zp5j04q55bkwxsdkvrmh"))))
|
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:install-plan
|
'(#:install-plan
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
|
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
|
||||||
;;; Copyright © 2020 Ivan Kozlov <kanichos@yandex.ru>
|
;;; Copyright © 2020 Ivan Kozlov <kanichos@yandex.ru>
|
||||||
;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
|
;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
|
||||||
|
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||||
;;; Copyright © 2021 Alexey Abramov <levenson@mmer.org>
|
;;; Copyright © 2021 Alexey Abramov <levenson@mmer.org>
|
||||||
;;; Copyright © 2021 Andrew Tropin <andrew@trop.in>
|
;;; Copyright © 2021 Andrew Tropin <andrew@trop.in>
|
||||||
;;; Copyright © 2021 David Wilson <david@daviwil.com>
|
;;; Copyright © 2021 David Wilson <david@daviwil.com>
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
;;; Copyright © 2022 Oleg Pykhalov <go.wigust@gmail.com>
|
;;; Copyright © 2022 Oleg Pykhalov <go.wigust@gmail.com>
|
||||||
;;; Copyright © 2022 Ekaitz Zarraga <ekaitz@elenq.tech>
|
;;; Copyright © 2022 Ekaitz Zarraga <ekaitz@elenq.tech>
|
||||||
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
|
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
|
||||||
|
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
@ -2001,7 +2002,7 @@ virtual machines.")
|
|||||||
(define-public bubblewrap
|
(define-public bubblewrap
|
||||||
(package
|
(package
|
||||||
(name "bubblewrap")
|
(name "bubblewrap")
|
||||||
(version "0.5.0")
|
(version "0.6.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://github.com/containers/bubblewrap/"
|
(uri (string-append "https://github.com/containers/bubblewrap/"
|
||||||
@ -2009,7 +2010,7 @@ virtual machines.")
|
|||||||
version ".tar.xz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0608l2sjwhnb1c0mslah1h6yjvqr17wk60by6i710qwxg4rszz8n"))
|
"10ij62jg7p2scwdx0pm141ss7p2gjdkbbymb56y8miib2vfcf2cn"))
|
||||||
(patches (search-patches "bubblewrap-fix-locale-in-tests.patch"))))
|
(patches (search-patches "bubblewrap-fix-locale-in-tests.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
||||||
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
|
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
|
||||||
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
|
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
|
||||||
|
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||||
;;; Copyright © 2021, 2022 Cage <cage-dev@twistfold.it>
|
;;; Copyright © 2021, 2022 Cage <cage-dev@twistfold.it>
|
||||||
;;; Copyright © 2021 Benoit Joly <benoit@benoitj.ca>
|
;;; Copyright © 2021 Benoit Joly <benoit@benoitj.ca>
|
||||||
;;; Copyright © 2021 Alexander Krotov <krotov@iitp.ru>
|
;;; Copyright © 2021 Alexander Krotov <krotov@iitp.ru>
|
||||||
|
@ -1649,7 +1649,7 @@ used to validate and fix HTML data.")
|
|||||||
(define-public esbuild
|
(define-public esbuild
|
||||||
(package
|
(package
|
||||||
(name "esbuild")
|
(name "esbuild")
|
||||||
(version "0.12.9")
|
(version "0.14.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
@ -1658,7 +1658,7 @@ used to validate and fix HTML data.")
|
|||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "10bz1xq2frdja7mbx04m009svg8b5rj7vfq3sc2gc88n31v21b1j"))
|
(base32 "09r1xy0kk6c9cpz6q0mxr4why373pwxbm439z2ihq3k1d5kk7x4w"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
||||||
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||||
|
;;; Copyright © 2021 Michael Rohleder <mike@rohleder.de>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
;;; Copyright © 2016, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2016 Al McElrath <hello@yrns.org>
|
;;; Copyright © 2016 Al McElrath <hello@yrns.org>
|
||||||
;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au>
|
;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au>
|
||||||
;;; Copyright © 2016, 2017, 2018, 2019, 2021 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2016 2019, 2021-2022 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2016, 2017, 2018, 2020 Nikita <nikita@n0.is>
|
;;; Copyright © 2016, 2017, 2018, 2020 Nikita <nikita@n0.is>
|
||||||
;;; Copyright © 2016 doncatnip <gnopap@gmail.com>
|
;;; Copyright © 2016 doncatnip <gnopap@gmail.com>
|
||||||
;;; Copyright © 2016 Ivan Vilata i Balaguer <ivan@selidor.net>
|
;;; Copyright © 2016 Ivan Vilata i Balaguer <ivan@selidor.net>
|
||||||
@ -2441,7 +2441,7 @@ selected to stdout. It can be controlled both via mouse and via keyboard.")
|
|||||||
libxpm
|
libxpm
|
||||||
libpng
|
libpng
|
||||||
freetype
|
freetype
|
||||||
imlib2
|
imlib2-1.7
|
||||||
sed))
|
sed))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config))
|
(list pkg-config))
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2014, 2015, 2017, 2018, 2020 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2014, 2015, 2017, 2018, 2020 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2015-2022 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
|
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
|
||||||
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
|
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
|
||||||
;;; Copyright © 2015 Cyrill Schenkel <cyrill.schenkel@gmail.com>
|
;;; Copyright © 2015 Cyrill Schenkel <cyrill.schenkel@gmail.com>
|
||||||
@ -26,6 +26,7 @@
|
|||||||
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
|
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
|
||||||
;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
|
;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
|
||||||
|
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
|
||||||
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
|
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
|
||||||
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
|
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
|
||||||
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
||||||
@ -6946,7 +6947,7 @@ the server and cleaning up before returning the exit status of the command.")
|
|||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure))))
|
(delete 'configure))))
|
||||||
(inputs
|
(inputs
|
||||||
(list imlib2 libx11 libxinerama))
|
(list imlib2-1.7 libx11 libxinerama))
|
||||||
(home-page "https://github.com/ttzhou/setroot")
|
(home-page "https://github.com/ttzhou/setroot")
|
||||||
(synopsis "Simple X background setter inspired by imlibsetroot and feh")
|
(synopsis "Simple X background setter inspired by imlibsetroot and feh")
|
||||||
(description "Setroot is a lightweight X background setter with feh's
|
(description "Setroot is a lightweight X background setter with feh's
|
||||||
|
Loading…
Reference in New Issue
Block a user