From 9ec4233181c9a4cf7716e289f7ca2da322f1300e Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 7 Sep 2022 14:34:57 -0400 Subject: gnu: pypy: Fix build. This fixes a regression that was introduced in commit 553c009d741. * gnu/packages/python.scm (pypy)[phases]{install}: Rename the OUT variable to #$OUTPUT. --- gnu/packages/python.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6b571f6d12..edbdf7cfad 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -865,7 +865,7 @@ ease from the desktop to a microcontroller or embedded system.") (substitute* '("lib_pypy/_md5.py" "lib_pypy/_sha1.py") ((shebang-match-python) shebang-pypy3)))) - (copy-recursively dist-dir out))))))) + (copy-recursively dist-dir #$output))))))) (native-inputs (list gzip nss-certs ; For ssl tests -- cgit 1.4.1 From b7629ff995c49a3025b6edf3b240b48fe4b5b942 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 5 Sep 2022 13:55:07 +0200 Subject: gnu: expect: Update home page. * gnu/packages/tcl.scm (expect)[home-page]: Follow redirect. --- gnu/packages/tcl.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm index 4cbc9d84b4..ab86ddee2f 100644 --- a/gnu/packages/tcl.scm +++ b/gnu/packages/tcl.scm @@ -180,7 +180,7 @@ multiple inheritance and public and private classes and variables.") #t))) #:test-target "test")) - (home-page "http://expect.sourceforge.net/") + (home-page "https://core.tcl-lang.org/expect/") (synopsis "Tool for automating interactive applications") (description "Expect is a tool for automating interactive applications such as -- cgit 1.4.1 From 53c127c16defa1c0456dfc86df4cba5b267b0991 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Tue, 6 Sep 2022 20:30:45 +0800 Subject: gnu: python-apsw: Update to 3.39.2.1. * gnu/packages/databases.scm (python-apsw): Update to 3.39.2.1. [source]: Change back to compressed release. * gnu/packages/patches/python-apsw-3.39.2.1-test-fix.patch: New file. * gnu/local.mk: Add patch. Signed-off-by: Marius Bakke --- gnu/local.mk | 1 + gnu/packages/databases.scm | 18 +++++++++------ .../patches/python-apsw-3.39.2.1-test-fix.patch | 27 ++++++++++++++++++++++ 3 files changed, 39 insertions(+), 7 deletions(-) create mode 100644 gnu/packages/patches/python-apsw-3.39.2.1-test-fix.patch (limited to 'gnu/packages') diff --git a/gnu/local.mk b/gnu/local.mk index e454189b8b..19102113c9 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1694,6 +1694,7 @@ dist_patch_DATA = \ %D%/packages/patches/python-3-fix-tests.patch \ %D%/packages/patches/python-3-hurd-configure.patch \ %D%/packages/patches/python-3-no-static-lib.patch \ + %D%/packages/patches/python-apsw-3.39.2.1-test-fix.patch \ %D%/packages/patches/python-aionotify-0.2.0-py3.8.patch \ %D%/packages/patches/python-argcomplete-1.11.1-fish31.patch \ %D%/packages/patches/python-cross-compile.patch \ diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 7edf0fed2d..9540b61920 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3568,18 +3568,22 @@ PickleShare.") (define-public python-apsw (package (name "python-apsw") - (version "3.39.2.0") + (version "3.39.2.1") + ;; The compressed release has fetching functionality disabled. (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/rogerbinns/apsw") - (commit version))) - (file-name (git-file-name name version)) + (method url-fetch) + (uri (string-append + "https://github.com/rogerbinns/apsw/releases/download/" + version "/apsw-" version ".zip")) (sha256 (base32 - "0q7fnk8n3m5mpjzh6xyhj409k8sacdbjsfis98my9c50fdn5sr7y")))) + "06x3qgg71xz8l3kz8gz04wkfp5f6zfrg476a4mm1c5hikqyw6ykj")) + ;; Cherry-picked from upstream, remove when bumping to 3.39.3. + (patches + (search-patches "python-apsw-3.39.2.1-test-fix.patch")))) (build-system python-build-system) + (native-inputs (list unzip)) (inputs (list sqlite-next)) ;SQLite 3.39 required. (arguments (list #:phases diff --git a/gnu/packages/patches/python-apsw-3.39.2.1-test-fix.patch b/gnu/packages/patches/python-apsw-3.39.2.1-test-fix.patch new file mode 100644 index 0000000000..cc233e3ccd --- /dev/null +++ b/gnu/packages/patches/python-apsw-3.39.2.1-test-fix.patch @@ -0,0 +1,27 @@ +From 1111f902075169bd0d96cdd10607ef8499f0fed5 Mon Sep 17 00:00:00 2001 +From: Roger Binns +Date: Mon, 5 Sep 2022 07:12:25 -0700 +Subject: [PATCH] Deal with mismatched SQLITE_ENABLE_COLUMN_METADATA + +Address #363 +--- + apsw/tests.py | 2 +- + 1 files changed, 1 insertions(+), 1 deletion(-) + +diff --git a/apsw/tests.py b/apsw/tests.py +index b4a94d3..256ead0 100644 +--- a/apsw/tests.py ++++ b/apsw/tests.py +@@ -772,8 +772,8 @@ class APSW(unittest.TestCase): + c.execute("drop table foo; create table foo (%s)" % (", ".join(["[%s] %s" % (n, t) for n, t in cols]), )) + c.execute("insert into foo([x a space]) values(1)") + c.execute("create temp table two(fred banana); insert into two values(7); create temp view three as select fred as [a space] from two") +- has_full=any(o=="ENABLE_COLUMN_METADATA" or o.startswith("ENABLE_COLUMN_METADATA=") for o in apsw.compile_options) ++ has_full=any(o=="ENABLE_COLUMN_METADATA" or o.startswith("ENABLE_COLUMN_METADATA=") for o in apsw.compile_options) if apsw.using_amalgamation else hasattr(c, "description_full") + for row in c.execute("select * from foo"): + self.assertEqual(cols, c.getdescription()) + self.assertEqual(has_full, hasattr(c, "description_full")) + +base-commit: f628374c5857d940067ef26c9ea4e85a08a94f76 +-- +2.37.2 -- cgit 1.4.1 From 1c060f59d4fa4b9de4586b5aada45515b6821175 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Tue, 6 Sep 2022 21:22:48 +0800 Subject: gnu: sqlite-next: Update to 3.39.3. * gnu/packages/sqlite.scm (sqlite-next): Update to 3.39.3. Signed-off-by: Marius Bakke --- gnu/packages/sqlite.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/sqlite.scm b/gnu/packages/sqlite.scm index c6b1b63173..7e8d444b7d 100644 --- a/gnu/packages/sqlite.scm +++ b/gnu/packages/sqlite.scm @@ -113,10 +113,10 @@ is in the public domain.") (define-public sqlite-next (package (inherit sqlite) - (version "3.39.1") + (version "3.39.3") (source (origin (method url-fetch) (uri (sqlite-uri version 2022)) (sha256 (base32 - "1i0wjd1mig720q1gk9jkpw6h0mialbrlkfh8w8lans0czakygj47")))))) + "1f922kq16g7f4h3gpzim78lvrp5xw9nvlvqw97s2qgxyh8qgns3q")))))) -- cgit 1.4.1 From 9a1228b4930da34f8a6aea580aea35903e9eb018 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Tue, 6 Sep 2022 21:25:05 +0800 Subject: gnu: font-lxgw-wenkai: Update to 1.240. * gnu/packages/fonts.scm (font-lxgw-wenkai): Update to 1.240. Signed-off-by: Marius Bakke --- gnu/packages/fonts.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 09445cd00c..a3e2efb7dc 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -2735,7 +2735,7 @@ and readability. This package bundles those icons into a font.") (define-public font-lxgw-wenkai (package (name "font-lxgw-wenkai") - (version "1.235.2") + (version "1.240") (source (origin (method url-fetch) (uri (string-append @@ -2743,7 +2743,7 @@ and readability. This package bundles those icons into a font.") version "/lxgw-wenkai-v" version ".tar.gz")) (sha256 (base32 - "17li3xry4j4ccdnwz2pcnf0gv7c5mwq0h5fwvl7ar28brn2qgdbk")))) + "1rg6i6fqs1b0b2g4kijimkyqbxfn6n8ac74rppsizq65n6crvfib")))) (build-system font-build-system) (home-page "https://lxgw.github.io/2021/01/28/Klee-Simpchin/") (synopsis "Simplified Chinese Imitation Song typeface") -- cgit 1.4.1 From 4f9e58b5eea2eff2f6231e18e6aedbc5a78417ff Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Tue, 6 Sep 2022 21:26:05 +0800 Subject: gnu: font-lxgw-wenkai-tc: Update to 0.921. * gnu/packages/fonts.scm (font-lxgw-wenkai-tc): Update to 0.921. Signed-off-by: Marius Bakke --- gnu/packages/fonts.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index a3e2efb7dc..7a23aa8552 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -2757,7 +2757,7 @@ within GB 2312, standard glyphs for Mainland China is used.") (package (inherit font-lxgw-wenkai) (name "font-lxgw-wenkai-tc") - (version "0.920") + (version "0.921") (source (origin (method url-fetch) (uri (string-append @@ -2765,7 +2765,7 @@ within GB 2312, standard glyphs for Mainland China is used.") version "/lxgw-wenkai-tc-v" version ".tar.gz")) (sha256 (base32 - "1kysqzi19ldd1a3pd9axmggcbm1719myq6i6q6fdb1afscn272cp")))) + "0s7zvb8i1f7ziw8r94l1f3rcv21b80dbgc43zjwz34s43465lwrb")))) (home-page "https://github.com/lxgw/LxgwWenKaitc") (synopsis "Traditional Chinese Imitation Song typeface") (description -- cgit 1.4.1 From 29491482a1516482dddcc3d8441f874d3ad318a1 Mon Sep 17 00:00:00 2001 From: "Paul A. Patience" Date: Tue, 6 Sep 2022 16:36:22 +0000 Subject: gnu: python-pyvista: Update to 0.36.1. * gnu/packages/python-science.scm (python-pyvista): Update to 0.36.1. Signed-off-by: Marius Bakke --- gnu/packages/python-science.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 95f60aae7b..331b16df8f 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1226,7 +1226,7 @@ aggregated sum and more.") (define-public python-pyvista (package (name "python-pyvista") - (version "0.35.2") + (version "0.36.1") (source ;; The PyPI tarball does not contain the tests. ;; (However, we don't yet actually run the tests.) @@ -1237,7 +1237,7 @@ aggregated sum and more.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1qmxrhqm3ag736yb761jy1himwlr3p676xyqbry61h97dj11n6sq")))) + (base32 "1kjilcrz2cyh67n79r8dpxrans99mlviz2whc6g7j8hgn7v14z2n")))) (build-system python-build-system) (propagated-inputs (list python-appdirs -- cgit 1.4.1 From 77b37fcb5806a35624c66eee07d86d32a7657899 Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Tue, 6 Sep 2022 17:49:10 +0200 Subject: gnu: gnunet-scheme: Update to 0.3. The old snippet doesn't apply anymore, so a different work-around was committed to gnunet-scheme. * gnu/packages/gnunet.scm (gnunet-scheme): Update to 0.3. [description]: Update description for new features. Signed-off-by: Marius Bakke --- gnu/packages/gnunet.scm | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm index a0f902e534..cd97decd6f 100644 --- a/gnu/packages/gnunet.scm +++ b/gnu/packages/gnunet.scm @@ -349,28 +349,19 @@ services.") (define-public gnunet-scheme (package (name "gnunet-scheme") - (version "0.2") + (version "0.3") (source (origin (method git-fetch) (uri (git-reference (url "https://git.gnunet.org/git/gnunet-scheme.git") - (commit (string-append "v" version)))) + ;; Go three commits beyond the v0.3 tag, as these three + ;; commits work-around + ;; . + (commit "f5dc44e66373c29f1c84ea89d8080939a8dfbfd2"))) (file-name (git-file-name name version)) (sha256 (base32 - "0a11n58m346vs2khns2hfnxv8lbscf8aaqzhmq0d7nwdpn808nrp")) - (modules '((guix build utils))) - ;; XXX: Work-around - ;; , - ;; this can be removed once Guile > 3.0.7 is released. - (snippet '(substitute* '("gnu/gnunet/config/parser.scm" - "tests/config-parser.scm") - (("#\\{\\$\\{\\}\\}#") "#{${;};}#") - (("#\\{\\$\\{:-\\}\\}#") "#{${;:-};}#") - (("#\\{\\$\\{\\}\\}# #\\{\\$\\{:-\\}\\}#") - "#{$\\x7b;\\x7d;}# #{$\\x7b;:-\\x7d;}#") - (("'#\\{\\$\\{\\}\\}# '#\\{\\$\\{:-\\}\\}#") - "'#{$\\x7b;\\x7d;}# '#{$\\x7b;:-\\x7d;}#"))))) + "0kvqbqijfyp3fhsqjyzwd7b3cm5khwv557wq196mv6rx47aaivgd")))) (build-system gnu-build-system) (inputs (list guile-3.0)) ;for pkg-config (propagated-inputs (list guile-bytestructures guile-gcrypt guile-pfds @@ -390,11 +381,19 @@ services.") guile-quickcheck)) ;for tests (synopsis "Guile implementation of GNUnet client libraries") (description - "This package provides Guile modules for connecting to the NSE (network -size estimation) and DHT (distributed hash table) services of GNUnet. It also -has infrastructure for writing new GNUnet services and connecting to them and -can be used from multi-threaded environments. It is not to be confused with -@code{guile-gnunet} -- @code{guile-gnunet} supports a different set of services.") + "This package provides Guile modules for connecting to various +GNUnet services. It also has infrastructure for writing new GNUnet services and +connecting to them and can be used from multi-threaded environments. It is not +to be confused with @code{guile-gnunet} -- @code{guile-gnunet} supports a different +set of services. + +The following services are supported: + +@itemize +@item NSE (network size estimation) +@item DHT (distributed hash table) +@item CADET (secure end-to-end communication between arbitrary peers) +@end itemize") ;; Most code is licensed as AGPL and a few modules are licensed as LGPL ;; or GPL. Documentation is licensed as GFDL. (license (list license:agpl3+ license:gpl3+ license:fdl1.3+ license:lgpl3+)) -- cgit 1.4.1 From 85aa25cd6a8f18b279acf3ede3ed3e74820a9635 Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Tue, 6 Sep 2022 17:49:11 +0200 Subject: gnu: gnunet-scheme: Make scheme-gnunet.pdf reproducible. * gnu/packages/gnunet.scm (gnunet-scheme)[arguments]<#:phases>{reproducible-timestamp}: New phase. Signed-off-by: Marius Bakke --- gnu/packages/gnunet.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm index cd97decd6f..1288d8d18c 100644 --- a/gnu/packages/gnunet.scm +++ b/gnu/packages/gnunet.scm @@ -33,6 +33,7 @@ #:use-module (gnu packages file) #:use-module (gnu packages aidc) #:use-module (gnu packages autotools) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) #:use-module (gnu packages curl) @@ -363,6 +364,15 @@ services.") (base32 "0kvqbqijfyp3fhsqjyzwd7b3cm5khwv557wq196mv6rx47aaivgd")))) (build-system gnu-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + ;; For reproducibility, do not insert real timestamps in the PDF. + (add-after 'unpack 'reproducible-timestamp + (lambda _ + (substitute* "Makefile.am" + (("\\$\\(TEXMACS_CONVERT\\)") + "faketime -m -f '1970-01-01 00:00:00' $(TEXMACS_CONVERT)"))))))) (inputs (list guile-3.0)) ;for pkg-config (propagated-inputs (list guile-bytestructures guile-gcrypt guile-pfds guile-fibers-1.1)) @@ -373,6 +383,7 @@ services.") guile-gcrypt guile-pfds guile-fibers-1.1 + libfaketime automake autoconf pkg-config -- cgit 1.4.1 From 344159b95cc89a19997a633ce6597fbf23e0efa7 Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Tue, 6 Sep 2022 19:30:23 +0200 Subject: gnunet-scheme: Unbundle config.rpath. * gnu/packages/gnunet.scm (gnunet-scheme)[origin]{snippet}: New snippet. Signed-off-by: Marius Bakke --- gnu/packages/gnunet.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm index 1288d8d18c..b477fee537 100644 --- a/gnu/packages/gnunet.scm +++ b/gnu/packages/gnunet.scm @@ -362,7 +362,13 @@ services.") (file-name (git-file-name name version)) (sha256 (base32 - "0kvqbqijfyp3fhsqjyzwd7b3cm5khwv557wq196mv6rx47aaivgd")))) + "0kvqbqijfyp3fhsqjyzwd7b3cm5khwv557wq196mv6rx47aaivgd")) + (modules '((guix build utils))) + (snippet + ;; Unbundle dependencies. TODO: build-aux/test-driver.scm + ;; is bundled too, but it's not yet automatically copied by + ;; autoreconf -i. + #~(delete-file "build-aux/config.rpath")))) (build-system gnu-build-system) (arguments (list #:phases -- cgit 1.4.1 From 1981a39e5d3601ca2b6050ec6e34923fcd0ea0bf Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Wed, 7 Sep 2022 05:20:18 +0200 Subject: gnu: ytfzf: Update to 2.4.1. * gnu/packages/image-viewers.scm (ytfzf): Update to 2.4.1. [inputs]: Add perl. Signed-off-by: Marius Bakke --- gnu/packages/image-viewers.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index ff880ef79d..77979e8b8f 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -110,7 +110,7 @@ (define-public ytfzf (package (name "ytfzf") - (version "2.3") + (version "2.4.1") (home-page "https://github.com/pystardust/ytfzf") (source (origin @@ -121,7 +121,7 @@ (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "01prcg6gfwy1r49v92pkzxay9iadqqhpaxvn8jmij2jm5l50iynd")))) + (base32 "198qhnjklrgrjs35ygym6sgx1ibwn6qrihfiginvmx38gdavdj4x")))) (build-system gnu-build-system) (arguments (list @@ -162,6 +162,7 @@ libnotify mpv ncurses + perl ;for convert-ascii-escape.pl python-ueberzug sed util-linux -- cgit 1.4.1 From 453cbb9f062c710158e3a6b0d9c3e01d7bf7906f Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Wed, 7 Sep 2022 14:06:29 +0800 Subject: gnu: abseil-cpp: Update to 20220623.1. * gnu/packages/cpp.scm (abseil-cpp): Update to 20220623.1. Signed-off-by: Marius Bakke --- gnu/packages/cpp.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index f00317e949..606cd792c1 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1023,7 +1023,7 @@ Google's C++ code base.") (let ((base abseil-cpp-20200923.3)) (package/inherit base (name "abseil-cpp") - (version "20220623.0") + (version "20220623.1") (source (origin (method git-fetch) (uri (git-reference @@ -1032,7 +1032,7 @@ Google's C++ code base.") (file-name (git-file-name name version)) (sha256 (base32 - "1kyvlpdkkh8spqrdh9yvq2d4ri46hwxljicy3i9mp7mk2rqcnyvj")))) + "0vxh2a74g4s45yr8kdjqnzl64k10qdlc0hbnn987a4cnwdj4bp9r")))) (arguments (substitute-keyword-arguments (package-arguments base) ((#:configure-flags flags) -- cgit 1.4.1 From f1bbdefd9e9140d955cee4e73a1c7a9c03755926 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Wed, 24 Aug 2022 16:50:14 +0800 Subject: gnu: python-shiboken-2: Use G-expressions. * gnu/packages/qt.scm (python-shiboken-2)[arguments]: Use G-expressions. <#:phases>: In phase "set-build-env", Replace (assoc-ref inputs ...) with (this-package-input ...). Signed-off-by: Marius Bakke --- gnu/packages/qt.scm | 53 +++++++++++++++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 24 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 86449f327e..c7aa91f264 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2021, 2022 Guillaume Le Vaillant ;;; Copyright © 2021 Nicolò Balzarotti ;;; Copyright © 2022 Foo Chuan Wei +;;; Copyright © 2022 Zhu Zihao ;;; ;;; This file is part of GNU Guix. ;;; @@ -3746,6 +3747,9 @@ color-related widgets.") "QCustomPlot is a Qt C++ widget providing 2D plots, graphs and charts.") (license license:gpl3+))) +;; TODO: Split shiboken2 binding generator into a dedicated output. +;; This executable requires libxml2, libxslt, clang-toolchain at runtime. +;; The libshiboken library only requires Qt and Python at runtime. (define-public python-shiboken-2 (package (name "python-shiboken-2") @@ -3768,30 +3772,31 @@ color-related widgets.") qtbase-5 qtxmlpatterns)) (arguments - `(#:tests? #f - ;; FIXME: Building tests fails - #:configure-flags '("-DBUILD_TESTS=off") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'use-shiboken-dir-only - (lambda _ (chdir "sources/shiboken2") #t)) - (add-before 'configure 'make-files-writable-and-update-timestamps - (lambda _ - ;; The build scripts need to modify some files in - ;; the read-only source directory, and also attempts - ;; to create Zip files which fails because the Zip - ;; format does not support timestamps before 1980. - (let ((circa-1980 (* 10 366 24 60 60))) - (for-each (lambda (file) - (make-file-writable file) - (utime file circa-1980 circa-1980)) - (find-files "."))) - #t)) - (add-before 'configure 'set-build-env - (lambda* (#:key inputs #:allow-other-keys) - (let ((llvm (assoc-ref inputs "clang-toolchain"))) - (setenv "CLANG_INSTALL_DIR" llvm) - #t)))))) + (list + #:tests? #f + ;; FIXME: Building tests fails + #:configure-flags #~(list "-DBUILD_TESTS=off") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'use-shiboken-dir-only + (lambda _ (chdir "sources/shiboken2") #t)) + (add-before 'configure 'make-files-writable-and-update-timestamps + (lambda _ + ;; The build scripts need to modify some files in + ;; the read-only source directory, and also attempts + ;; to create Zip files which fails because the Zip + ;; format does not support timestamps before 1980. + (let ((circa-1980 (* 10 366 24 60 60))) + (for-each (lambda (file) + (make-file-writable file) + (utime file circa-1980 circa-1980)) + (find-files "."))) + #t)) + (add-before 'configure 'set-build-env + (lambda _ + (let ((llvm #$(this-package-input "clang-toolchain"))) + (setenv "CLANG_INSTALL_DIR" llvm) + #t)))))) (home-page "https://wiki.qt.io/Qt_for_Python") (synopsis "Shiboken generates bindings for C++ libraries using CPython source code") -- cgit 1.4.1 From a69581f17c04b90e7c25fb1ca1cabdf447df5da3 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Wed, 24 Aug 2022 19:23:31 +0800 Subject: gnu: Add python-shiboken-6 * gnu/packages/qt.scm (python-shiboken-6): New variable. Signed-off-by: Marius Bakke --- gnu/packages/qt.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index c7aa91f264..80e2a26693 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -3810,6 +3810,40 @@ color-related widgets.") license:lgpl3 license:bsd-3)))) +(define-public python-shiboken-6 + (package + (inherit python-shiboken-2) + (name "python-shiboken-6") + (version "6.3.1") + (source (origin + (method url-fetch) + (uri (string-append "https://download.qt.io/official_releases" + "/QtForPython/pyside6/PySide6-" version + "-src/pyside-setup-opensource-src-" + version ".tar.xz")) + (sha256 + (base32 + "0xwri69nnbhn6fajm7l045r0s0qv8nlq6qj8wcj87srli3b5xa75")))) + (build-system cmake-build-system) + (inputs + (modify-inputs (package-inputs python-shiboken-2) + (replace "qtbase" qtbase) + (delete "qtxmlpatterns"))) + (arguments + (substitute-keyword-arguments (package-arguments python-shiboken-2) + ((#:phases p) + #~(modify-phases #$p + (replace 'use-shiboken-dir-only + (lambda _ (chdir "sources/shiboken6") #t)))) + ((#:configure-flags flags) + #~(cons* + ;; The RUNPATH of shibokenmodule contains the entry in build + ;; directory instead of install directory. + "-DCMAKE_SKIP_RPATH=TRUE" + (string-append "-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-rpath=" + #$output "/lib") + #$flags)))))) + (define-public python-pyside-2 (package (name "python-pyside-2") -- cgit 1.4.1 From 00652ce2eef7051c277d8f53c4c43acc4eb98b34 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Wed, 24 Aug 2022 19:25:26 +0800 Subject: gnu: python-pyside-2: Use G-expressions. * gnu/packages/qt.scm (python-pyside-2)[native-inputs]: Use label-less input style. [arguments]: Use G-expressions. Signed-off-by: Marius Bakke --- gnu/packages/qt.scm | 116 ++++++++++++++++++++++++++-------------------------- 1 file changed, 57 insertions(+), 59 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 80e2a26693..d496f69107 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -3874,68 +3874,66 @@ color-related widgets.") (propagated-inputs (list python-shiboken-2)) (native-inputs - `(("cmake" ,cmake-minimal) - ("python" ,python-wrapper) - ("qttools-5" ,qttools-5) - ("which" ,which))) + (list cmake-minimal python-wrapper qttools-5 which)) (arguments - `(#:tests? #f - ;; FIXME: Building tests fail. - #:configure-flags - (list "-DBUILD_TESTS=FALSE" - (string-append "-DPYTHON_EXECUTABLE=" - (assoc-ref %build-inputs "python") - "/bin/python")) - #:modules ((guix build cmake-build-system) + (list + #:tests? #f + ;; FIXME: Building tests fail. + #:configure-flags + #~(list "-DBUILD_TESTS=FALSE" + (string-append "-DPYTHON_EXECUTABLE=" + (assoc-ref %build-inputs "python") + "/bin/python")) + #:modules '((guix build cmake-build-system) (guix build utils) (srfi srfi-1)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'go-to-source-dir - (lambda _ (chdir "sources/pyside2") #t)) - (add-after 'go-to-source-dir 'fix-qt-module-detection - (lambda* (#:key inputs #:allow-other-keys) - ;; Activate qt module support even if it not in the same - ;; directory as qtbase. - (substitute* "../cmake_helpers/helpers.cmake" - (("\\(\"\\$\\{found_basepath\\}\" GREATER \"0\"\\)") - "true")) - ;; Add include directories for qt modules. - (let ((dirs (map (lambda (name) - (string-append (assoc-ref inputs name) - "/include/qt5")) - '("qtdatavis3d" - "qtdeclarative" - "qtlocation" - "qtmultimedia" - "qtquickcontrols" - "qtquickcontrols2" - "qtscript" - "qtscxml" - "qtsensors" - "qtspeech" - "qtsvg" - "qttools-5" - "qtwebchannel" - "qtwebengine" - "qtwebsockets" - "qtx11extras" - "qtxmlpatterns")))) - (substitute* "cmake/Macros/PySideModules.cmake" - (("\\$\\{PATH_SEP\\}\\$\\{core_includes\\}" all) - (fold (lambda (dir paths) - (string-append paths "${PATH_SEP}" dir)) - all - dirs))) - (setenv "CXXFLAGS" (fold (lambda (dir paths) - (string-append paths " -I" dir)) - "" - dirs))))) - (add-before 'configure 'set-clang-dir - (lambda* (#:key inputs #:allow-other-keys) - (let ((clang (assoc-ref inputs "clang-toolchain"))) - (setenv "CLANG_INSTALL_DIR" clang) - #t)))))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'go-to-source-dir + (lambda _ (chdir "sources/pyside2") #t)) + (add-after 'go-to-source-dir 'fix-qt-module-detection + (lambda* (#:key inputs #:allow-other-keys) + ;; Activate qt module support even if it not in the same + ;; directory as qtbase. + (substitute* "../cmake_helpers/helpers.cmake" + (("\\(\"\\$\\{found_basepath\\}\" GREATER \"0\"\\)") + "true")) + ;; Add include directories for qt modules. + (let ((dirs (map (lambda (name) + (string-append (assoc-ref inputs name) + "/include/qt5")) + '("qtdatavis3d" + "qtdeclarative" + "qtlocation" + "qtmultimedia" + "qtquickcontrols" + "qtquickcontrols2" + "qtscript" + "qtscxml" + "qtsensors" + "qtspeech" + "qtsvg" + "qttools" + "qtwebchannel" + "qtwebengine" + "qtwebsockets" + "qtx11extras" + "qtxmlpatterns")))) + (substitute* "cmake/Macros/PySideModules.cmake" + (("\\$\\{PATH_SEP\\}\\$\\{core_includes\\}" all) + (fold (lambda (dir paths) + (string-append paths "${PATH_SEP}" dir)) + all + dirs))) + (setenv "CXXFLAGS" (fold (lambda (dir paths) + (string-append paths " -I" dir)) + "" + dirs))))) + (add-before 'configure 'set-clang-dir + (lambda* (#:key inputs #:allow-other-keys) + (let ((clang (assoc-ref inputs "clang-toolchain"))) + (setenv "CLANG_INSTALL_DIR" clang) + #t)))))) (home-page "https://wiki.qt.io/Qt_for_Python") (synopsis "The Qt for Python product enables the use of Qt5 APIs in Python applications") -- cgit 1.4.1 From 39647c97418f5527ed14f82144dac4172148fc4d Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Wed, 24 Aug 2022 22:54:46 +0800 Subject: gnu: python-pyside-2: Clarify the package inputs. The module "PySide.PyQtUiTools" depends on "qttools-5", it should be an input, not a native input. libxml2, libxslt, clang-toolchain is only used by python-shiboken-2. cmake-minimal is not used. * gnu/packages/qt.scm (python-pyside-2): [inputs]: Remove libxml2, libxslt, clang-toolchain. Add qttools-5. [native-inputs]: Remove cmake-minimal, qttools-5. [arguments]<#:phases>: Remove phase "set-clang-dir". Signed-off-by: Marius Bakke --- gnu/packages/qt.scm | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index d496f69107..d92f4ef852 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -3851,10 +3851,7 @@ color-related widgets.") (source (package-source python-shiboken-2)) (build-system cmake-build-system) (inputs - (list libxml2 - libxslt - clang-toolchain - qtbase-5 + (list qtbase-5 qtdatavis3d qtdeclarative-5 qtlocation @@ -3866,6 +3863,7 @@ color-related widgets.") qtsensors qtspeech qtsvg-5 + qttools-5 qtwebchannel-5 qtwebengine-5 qtwebsockets-5 @@ -3874,7 +3872,7 @@ color-related widgets.") (propagated-inputs (list python-shiboken-2)) (native-inputs - (list cmake-minimal python-wrapper qttools-5 which)) + (list python-wrapper)) (arguments (list #:tests? #f @@ -3928,12 +3926,7 @@ color-related widgets.") (setenv "CXXFLAGS" (fold (lambda (dir paths) (string-append paths " -I" dir)) "" - dirs))))) - (add-before 'configure 'set-clang-dir - (lambda* (#:key inputs #:allow-other-keys) - (let ((clang (assoc-ref inputs "clang-toolchain"))) - (setenv "CLANG_INSTALL_DIR" clang) - #t)))))) + dirs)))))))) (home-page "https://wiki.qt.io/Qt_for_Python") (synopsis "The Qt for Python product enables the use of Qt5 APIs in Python applications") -- cgit 1.4.1 From 5c08546558f97e9ce665a83724b0e9d1751abac0 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Wed, 24 Aug 2022 22:57:44 +0800 Subject: gnu: python-pyside-2: Use "this-package-input" instead of "assoc-ref". * gnu/packages/qt.scm (python-pyside-2)[arguments]<#:configure-flags>: Use SEARCH-INPUT-FILE. <#:phases>: In phase "fix-qt-module-detection", use "this-package-input". Signed-off-by: Marius Bakke --- gnu/packages/qt.scm | 48 +++++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 23 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index d92f4ef852..2ebfe42abe 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -3880,8 +3880,8 @@ color-related widgets.") #:configure-flags #~(list "-DBUILD_TESTS=FALSE" (string-append "-DPYTHON_EXECUTABLE=" - (assoc-ref %build-inputs "python") - "/bin/python")) + (search-input-file %build-inputs + "/bin/python"))) #:modules '((guix build cmake-build-system) (guix build utils) (srfi srfi-1)) @@ -3890,33 +3890,35 @@ color-related widgets.") (add-after 'unpack 'go-to-source-dir (lambda _ (chdir "sources/pyside2") #t)) (add-after 'go-to-source-dir 'fix-qt-module-detection - (lambda* (#:key inputs #:allow-other-keys) + (lambda _ ;; Activate qt module support even if it not in the same ;; directory as qtbase. (substitute* "../cmake_helpers/helpers.cmake" (("\\(\"\\$\\{found_basepath\\}\" GREATER \"0\"\\)") "true")) ;; Add include directories for qt modules. - (let ((dirs (map (lambda (name) - (string-append (assoc-ref inputs name) - "/include/qt5")) - '("qtdatavis3d" - "qtdeclarative" - "qtlocation" - "qtmultimedia" - "qtquickcontrols" - "qtquickcontrols2" - "qtscript" - "qtscxml" - "qtsensors" - "qtspeech" - "qtsvg" - "qttools" - "qtwebchannel" - "qtwebengine" - "qtwebsockets" - "qtx11extras" - "qtxmlpatterns")))) + (let ((dirs (map (lambda (path) + (string-append path "/include/qt5")) + (list + #$@(map (lambda (name) + (this-package-input name)) + '("qtdatavis3d" + "qtdeclarative" + "qtlocation" + "qtmultimedia" + "qtquickcontrols" + "qtquickcontrols2" + "qtscript" + "qtscxml" + "qtsensors" + "qtspeech" + "qtsvg" + "qttools" + "qtwebchannel" + "qtwebengine" + "qtwebsockets" + "qtx11extras" + "qtxmlpatterns")))))) (substitute* "cmake/Macros/PySideModules.cmake" (("\\$\\{PATH_SEP\\}\\$\\{core_includes\\}" all) (fold (lambda (dir paths) -- cgit 1.4.1 From 7c9ac0468b671eb0162d9d45ad984414f8cd2c2e Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Thu, 25 Aug 2022 12:42:54 +0800 Subject: gnu: Add python-pyside-6. * gnu/packages/qt.scm (python-pyside-6): New variable. Signed-off-by: Marius Bakke --- gnu/packages/qt.scm | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 2ebfe42abe..e0b88cc4d8 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -3950,6 +3950,78 @@ generate Python bindings for your C or C++ code.") license:gpl3 license:gpl2)))) +(define-public python-pyside-6 + (package + (inherit python-pyside-2) + (name "python-pyside-6") + (version (package-version python-shiboken-6)) + (source (package-source python-shiboken-6)) + ;; TODO: Add more Qt components if available. + (inputs + (list qtbase + qtdeclarative + qtmultimedia + qtnetworkauth + qtpositioning + qtsvg + qttools + qtwebchannel + qtwebengine + qtwebsockets)) + (propagated-inputs + (list python-shiboken-6)) + (native-inputs + (list python-wrapper)) + (arguments + (list + #:tests? #f + #:configure-flags + #~(list "-DBUILD_TESTS=FALSE" + (string-append "-DPYTHON_EXECUTABLE=" + (search-input-file %build-inputs + "/bin/python"))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'go-to-source-dir + (lambda _ (chdir "sources/pyside6") #t)) + (add-after 'go-to-source-dir 'fix-qt-module-detection + (lambda _ + (substitute* "cmake/PySideHelpers.cmake" + (("\\(\"\\$\\{found_basepath\\}\" GREATER \"0\"\\)") + "true")) + (let ((dirs (map (lambda (path) + (string-append path "/include/qt6")) + (list + #$@(map (lambda (name) + (this-package-input name)) + '("qtdeclarative" + "qtmultimedia" + "qtnetworkauth" + "qtpositioning" + "qtsvg" + "qttools" + "qtwebchannel" + "qtwebengine" + "qtwebsockets")))))) + (substitute* "cmake/Macros/PySideModules.cmake" + (("set\\(shiboken_include_dir_list " all) + (string-append all (string-join dirs ";") " "))) + (setenv "CXXFLAGS" + (string-join + (map (lambda (dir) + (string-append "-I" dir)) + dirs) + " ")))))))) + (synopsis + "The Qt for Python product enables the use of Qt6 APIs in Python applications") + (description + "The Qt for Python product enables the use of Qt6 APIs in Python +applications. It lets Python developers utilize the full potential of Qt, +using the PySide6 module. The PySide6 module provides access to the +individual Qt modules such as QtCore, QtGui,and so on. Qt for Python also +comes with the Shiboken6 CPython binding code generator, which can be used to +generate Python bindings for your C or C++ code."))) + (define-public python-pyside-2-tools (package (name "python-pyside-2-tools") -- cgit 1.4.1 From e2e351cb45840f208063a315479de1d49f9a9980 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Thu, 25 Aug 2022 13:02:46 +0800 Subject: gnu: python-pyside-2-tools: Use G-expressions. * gnu/packages/qt.scm (python-pyside2-tools)[native-inputs]: Use label-less style. [arguments]: Use G-expressions. <#:configure-flags>: Use SEARCH-INPUT-FILE. Signed-off-by: Marius Bakke --- gnu/packages/qt.scm | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index e0b88cc4d8..08bd1921a5 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -4031,17 +4031,19 @@ generate Python bindings for your C or C++ code."))) (inputs (list python-pyside-2 python-shiboken-2 qtbase-5)) (native-inputs - `(("python" ,python-wrapper))) + (list python-wrapper)) (arguments - `(#:tests? #f - #:configure-flags - (list "-DBUILD_TESTS=off" - (string-append "-DPYTHON_EXECUTABLE=" - (assoc-ref %build-inputs "python") - "/bin/python")) - #:phases (modify-phases %standard-phases - (add-after 'unpack 'go-to-source-dir - (lambda _ (chdir "sources/pyside2-tools") #t))))) + (list + #:tests? #f + #:configure-flags + #~(list "-DBUILD_TESTS=off" + (string-append "-DPYTHON_EXECUTABLE=" + (search-input-file %build-inputs + "/bin/python"))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'go-to-source-dir + (lambda _ (chdir "sources/pyside2-tools") #t))))) (home-page "https://wiki.qt.io/Qt_for_Python") (synopsis "Contains command line tools for PySide2") -- cgit 1.4.1 From c8621fa193c20fcf7b4092888bc14ff6a350c75c Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Thu, 25 Aug 2022 13:04:45 +0800 Subject: gnu: python-pyside-2-tools: Fix synopsis and description. * gnu/packages/qt.scm (python-pyside2-tools)[synopsis]: Use more descriptive words. [description]: Ditto. Signed-off-by: Marius Bakke --- gnu/packages/qt.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 08bd1921a5..6ee70bc701 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -4046,9 +4046,9 @@ generate Python bindings for your C or C++ code."))) (lambda _ (chdir "sources/pyside2-tools") #t))))) (home-page "https://wiki.qt.io/Qt_for_Python") (synopsis - "Contains command line tools for PySide2") + "Command line tools for PySide2") (description - "Contains lupdate, rcc and uic tools for PySide2") + "Python-pyside-2-tools contains lupdate, rcc and uic tools for PySide2") (license license:gpl2))) (define-public libqglviewer -- cgit 1.4.1 From 08c6fd951105df4d5048cad7005db2bbdf88242a Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Wed, 7 Sep 2022 12:58:44 +0000 Subject: gnu: python-sympy: Update to 1.11.1. All dependents successfully build except the continued failure of python-dolfin-adjoint: http://ci.guix.gnu.org/build/1306546/details * gnu/packages/python-xyz.scm (python-sympy): Update to 1.11.1. Signed-off-by: Marius Bakke --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a73f07ece3..79e4c2cdab 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10015,13 +10015,13 @@ function signatures.") (define-public python-sympy (package (name "python-sympy") - (version "1.10.1") + (version "1.11.1") (source (origin (method url-fetch) (uri (pypi-uri "sympy" version)) (sha256 - (base32 "0yvqb2fhrm81skl8s9znbkkjfb1a09n64qqlc1r225cyvzzywfar")))) + (base32 "0n46x1rfy8c2a9za3yp2va5icigxj805f9fmiq8c1drwwvf808z3")))) (build-system python-build-system) (arguments `(#:phases -- cgit 1.4.1 From c56e8eabb46519e32c5ddb5389b8965849ba630d Mon Sep 17 00:00:00 2001 From: "Paul A. Patience" Date: Wed, 7 Sep 2022 13:33:42 +0000 Subject: gnu: f3d: Update to 1.3.1. * gnu/packages/graphics.scm (f3d): Update to 1.3.1. [snippet]: Use G-expression. [arguments]<#:configure-flags>: Update option name to F3D_INSTALL_MIME_TYPES_FILES. Signed-off-by: Marius Bakke --- gnu/packages/graphics.scm | 180 ++++++++++++++++++++++------------------------ 1 file changed, 86 insertions(+), 94 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 7adab4a9bf..fe38e7d03f 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -2306,97 +2306,89 @@ a tetrahedral mesh, isovalue discretization and Lagrangian movement; (license license:lgpl3+))) (define-public f3d - ;; There have been many improvements since the last tagged version (1.2.1, - ;; released in December 2021), including support for the Alembic file - ;; format. - (let ((commit "46df21fe9409349917af5e6f7d1cb931f4c68e59") - (revision "0")) - (package - (name "f3d") - ;; F3D has not actually been tagged as 1.3.0-pre, but upstream commit - ;; 401d4d27b2094568378c07f400fbad48b7af3168 updated the version string - ;; to 1.3.0. - (version (git-version "1.3.0-pre" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/f3d-app/f3d") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0x0jw9vqf1b8pxh84xpr47hzcjynk07dp8q7r2xihh9cd00kglp1")) - (modules '((guix build utils))) - (snippet - '(begin - (delete-file "application/cxxopts.hpp") - (delete-file "application/json.hpp") - (substitute* "application/F3DOptionsParser.cxx" - (("^#include \"cxxopts\\.hpp\"") - "#include ") - (("^#include \"json\\.hpp\"") - "#include ")))))) - (build-system cmake-build-system) - ;; The package cannot easily be split into out and lib outputs because - ;; VTK's vtkModule.cmake complains, and also the CMake files in - ;; /lib/cmake/f3d expect the f3d executable and library to be available, - ;; as they set up targets for both of them. - (arguments - (list - ;; Many tests require files supplied by git-lfs. - ;; Also, some tests segfault (after an exception?) but the tested - ;; behavior, i.e., when the program is run manually, does not (for - ;; example, TestNonExistentConfigFile and TestInvalidConfigFile). - ;; Upstream is aware of occasionally flaky tests [1], but the tests - ;; run in CI seem to be passing. - ;; Anyway, the program runs and is able to open at least STL files - ;; without issue. - ;; - ;; [1]: https://github.com/f3d-app/f3d/issues/92 - #:tests? #f - #:configure-flags - #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" #$output - "/share/doc/" #$name "-" #$version) - "-DBUILD_TESTING=OFF" - "-DF3D_GENERATE_MAN=ON" - "-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE=ON" - "-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE_IN_PREFIX=ON" - "-DF3D_INSTALL_MIME_TYPES_FILE=ON" - "-DF3D_INSTALL_THUMBNAILER_FILES=ON" - "-DF3D_MODULE_ALEMBIC=ON" - "-DF3D_MODULE_ASSIMP=ON" - "-DF3D_MODULE_EXTERNAL_RENDERING=ON" - "-DF3D_MODULE_OCCT=ON"))) - (native-inputs - (list cxxopts - help2man - json-modern-cxx)) - (inputs - (list alembic - assimp - double-conversion - eigen - expat - fontconfig - freetype - glew - hdf5 - imath - jsoncpp - libjpeg-turbo - libpng - libtiff - libx11 - lz4 - netcdf - opencascade-occt - vtk - zlib)) - (home-page "https://f3d-app.github.io/f3d/") - (synopsis "VTK-based 3D viewer") - (description "F3D (pronounced @samp{/fɛd/}) is a VTK-based 3D viewer -with simple interaction mechanisms and which is fully controllable using -arguments on the command line. It supports a range of file formats (including -animated glTF, STL, STEP, PLY, OBJ, FBX), and provides numerous rendering and -texturing options.") - (license license:bsd-3)))) + (package + (name "f3d") + (version "1.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/f3d-app/f3d") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0hdfgwf5d24ykab634xg4vv9r09nh96ss7hhnqnh5nmw4abhxzg7")) + (modules '((guix build utils))) + (snippet + #~(begin + (delete-file "application/cxxopts.hpp") + (delete-file "application/json.hpp") + (substitute* "application/F3DOptionsParser.cxx" + (("^#include \"cxxopts\\.hpp\"") + "#include ") + (("^#include \"json\\.hpp\"") + "#include ")))))) + (build-system cmake-build-system) + ;; The package cannot easily be split into out and lib outputs because + ;; VTK's vtkModule.cmake complains, and also the CMake files in + ;; /lib/cmake/f3d expect the f3d executable and library to be available, + ;; as they set up targets for both of them. + (arguments + (list + ;; Many tests require files supplied by git-lfs. + ;; Also, some tests segfault (after an exception?) but the tested + ;; behavior, i.e., when the program is run manually, does not (for + ;; example, TestNonExistentConfigFile and TestInvalidConfigFile). + ;; Upstream is aware of occasionally flaky tests [1], but the tests + ;; run in CI seem to be passing. + ;; Anyway, the program runs and is able to open at least STL files + ;; without issue. + ;; + ;; [1]: https://github.com/f3d-app/f3d/issues/92 + #:tests? #f + #:configure-flags + #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" #$output + "/share/doc/" #$name "-" #$version) + "-DBUILD_TESTING=OFF" + "-DF3D_GENERATE_MAN=ON" + "-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE=ON" + "-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE_IN_PREFIX=ON" + "-DF3D_INSTALL_MIME_TYPES_FILES=ON" + "-DF3D_INSTALL_THUMBNAILER_FILES=ON" + "-DF3D_MODULE_ALEMBIC=ON" + "-DF3D_MODULE_ASSIMP=ON" + "-DF3D_MODULE_EXTERNAL_RENDERING=ON" + "-DF3D_MODULE_OCCT=ON"))) + (native-inputs + (list cxxopts + help2man + json-modern-cxx)) + (inputs + (list alembic + assimp + double-conversion + eigen + expat + fontconfig + freetype + glew + hdf5 + imath + jsoncpp + libjpeg-turbo + libpng + libtiff + libx11 + lz4 + netcdf + opencascade-occt + vtk + zlib)) + (home-page "https://f3d-app.github.io/f3d/") + (synopsis "VTK-based 3D viewer") + (description "F3D (pronounced @samp{/fɛd/}) is a VTK-based 3D viewer with +simple interaction mechanisms and which is fully controllable using arguments +on the command line. It supports a range of file formats (including animated +glTF, STL, STEP, PLY, OBJ, FBX), and provides numerous rendering and texturing +options.") + (license license:bsd-3))) -- cgit 1.4.1 From b45a44eaad890f31d9418dbb8cb14e3ee1d83c19 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 7 Sep 2022 21:58:05 +0200 Subject: gnu: uBlock Origin: Update to 1.44.2. * gnu/packages/browser-extensions.scm (ublock-origin): Update to 1.44.2. --- gnu/packages/browser-extensions.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/browser-extensions.scm b/gnu/packages/browser-extensions.scm index 63bd11b226..db27101b9b 100644 --- a/gnu/packages/browser-extensions.scm +++ b/gnu/packages/browser-extensions.scm @@ -51,7 +51,7 @@ supported content to the Kodi media center.") (define ublock-origin (package (name "ublock-origin") - (version "1.44.0") + (version "1.44.2") (home-page "https://github.com/gorhill/uBlock") (source (origin (method git-fetch) @@ -62,7 +62,7 @@ supported content to the Kodi media center.") (file-name (git-file-name name version)) (sha256 (base32 - "0sws7xd8nvxnzcyw92i9sc5xv3hpqw1kzdj9vm8bhfxlh042l7ly")))) + "0hci19wv5sj4vph8k24bmcz7q74y1adyykwijqyga4p7h68jklw1")))) (build-system gnu-build-system) (outputs '("xpi" "firefox" "chromium")) (arguments -- cgit 1.4.1 From 839e984e09adfaa3faf92ff89919a9b310b62eb2 Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Thu, 8 Sep 2022 10:16:08 +0200 Subject: gnu: komikku: Update to 0.41.0. * gnu/packages/gnome.scm (komikku): Update to 0.41.0. --- gnu/packages/gnome.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 8791291f78..c6a7feda42 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -12455,7 +12455,7 @@ profiler via Sysprof, debugging support, and more.") (define-public komikku (package (name "komikku") - (version "0.40.0") + (version "0.41.0") (source (origin (method git-fetch) @@ -12465,7 +12465,7 @@ profiler via Sysprof, debugging support, and more.") (file-name (git-file-name name version)) (sha256 (base32 - "12l6qks4kwi75ss61yx1f515nb30d987qw3yhi4a36w5xz721p5z")))) + "17r059srxrx26w40swy47pdpyigyjdczp8550g4rfh86qs3ld4il")))) (build-system meson-build-system) (arguments `(#:glib-or-gtk? #t -- cgit 1.4.1 From 38e8373830368be66a927cca2cabe52dfd57dbee Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Thu, 8 Sep 2022 12:04:44 +0200 Subject: gnu: zuo: Use English in description. * gnu/packages/racket.scm (zuo)[description]: Use English. --- gnu/packages/racket.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm index 32ea866bff..10f93a1362 100644 --- a/gnu/packages/racket.scm +++ b/gnu/packages/racket.scm @@ -255,7 +255,7 @@ ;; ^ This is downstream of https://github.com/racket/racket, ;; but it's designed to be a friendly landing place (synopsis "Tiny Racket for build scripts") - (description "Zuo (作) is a tiny Racket with primitives for dealing + (description "Zuo is a tiny Racket with primitives for dealing with files and running processes. It comes with a @command{make}-like embedded DSL, which is used to build Racket itself. -- cgit 1.4.1 From 97cccd343363530c8577daa43deb9ca7528f0271 Mon Sep 17 00:00:00 2001 From: gyara Date: Mon, 22 Aug 2022 13:28:01 +0900 Subject: gnu: zsh-autopair. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/shellutils.scm (zsh-autopair): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/shellutils.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 110cbe9fda..06860dc5b2 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -38,6 +38,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system python) @@ -145,6 +146,30 @@ chart.") text.") (license license:gpl2))) +(define-public zsh-autopair + (package + (name "zsh-autopair") + (version "1.0") + (home-page "https://github.com/hlissner/zsh-autopair") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hlissner/zsh-autopair.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1h0vm2dgrmb8i2pvsgis3lshc5b0ad846836m62y8h3rdb3zmpy1")))) + (build-system copy-build-system) + (arguments + '(#:install-plan '(("autopair.zsh" + "/share/zsh/plugins/zsh-autopair/zsh-autopair.zsh")))) + (synopsis "Auto-close and delete matching delimiters in Zsh") + (description + "This Zsh plugin auto-closes, deletes, and skips over matching delimiters +in Zsh intelligently.") + (license license:expat))) + (define-public zsh-autosuggestions (package (name "zsh-autosuggestions") -- cgit 1.4.1 From 4ace4692c09ec65a5be7968b44ebd6e42a9c3b32 Mon Sep 17 00:00:00 2001 From: Lilah Tascheter Date: Sat, 27 Aug 2022 18:37:54 -0500 Subject: gnu: Add man-pages-posix. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/man.scm (man-pages-posix): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/man.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index 1c1d82758b..f1e9a7aa78 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -302,6 +302,39 @@ Linux kernel and C library interfaces employed by user-space programs.") ;; Each man page has its own license; some are GPLv2+, some are MIT/X11. (license license:gpl2+))) +(define-public man-pages-posix + (package + (name "man-pages-posix") + (version "2013-a") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kernel.org/linux/docs/man-pages/" + "man-pages-posix/man-pages-posix-" version + ".tar.xz")) + (sha256 + (base32 "0258j05zdrxpgdj8nndbyi7bvrs8fxdksb0xbfrylzgzfmf3lqqr")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + ;; The compress-documentation phase doesn't pick up on our manpages as + ;; its regex doesn't support trailing letters, so manually compress. + #:make-flags ,#~(list (string-append "prefix=" #$output) "gz") + #:license-file-regexp "POSIX-COPYRIGHT" + #:phases (modify-phases %standard-phases (delete 'configure)))) + (home-page "https://www.kernel.org/doc/man-pages/") + (synopsis "Man pages from the POSIX.1-2013 standard") + (description + "This package provides excerpts from the POSIX.1-2008 and TC1 standards +(collectively, POSIX.1-2013) in manual page form. While the Linux man-pages +project documents the system as it exists on Linux- and glibc-based systems, +this package documents the portable software API as nominally implemented by +many Unix-likes.") + (license (license:fsdg-compatible "file://POSIX-COPYRIGHT" + "Redistribution of this material is permitted so long as this +notice and the corresponding notices within each POSIX manual page are retained +on any distribution, and the nroff source is included.")))) + (define-public help2man ;; TODO: Manual pages for languages not available from the implicit ;; input "locales" contain the original (English) text. -- cgit 1.4.1 From b2e560aca4f6bbd0d43ae5c821f4add6e47da801 Mon Sep 17 00:00:00 2001 From: Lilah Tascheter Date: Sat, 27 Aug 2022 18:37:55 -0500 Subject: gnu: man-pages: Update to new style. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/man.scm (man-pages)[arguments]: Refer to package output using gexps instead of assoc-ref on a parameter. Signed-off-by: Ludovic Courtès --- gnu/packages/man.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index f1e9a7aa78..50796df89e 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -282,7 +282,7 @@ PostScript, and PDF. Additional tools include the @command{man} viewer, and (base32 "12vb15gs56g8wl5nqlm4llr508brh4m2lfknhq4lizbxzqzawkb1")))) (build-system gnu-build-system) (arguments - '(#:phases (modify-phases %standard-phases (delete 'configure)) + `(#:phases (modify-phases %standard-phases (delete 'configure)) ;; The 'all' target depends on three targets that directly populate ;; $(MANDIR) based on its current contents. Doing that in parallel @@ -290,9 +290,7 @@ PostScript, and PDF. Additional tools include the @command{man} viewer, and #:parallel-build? #f #:tests? #f - #:make-flags (list (string-append "mandir=" - (assoc-ref %outputs "out") - "/share/man")))) + #:make-flags ,#~(list (string-append "mandir=" #$output "/share/man")))) (home-page "https://www.kernel.org/doc/man-pages/") (synopsis "Development manual pages from the Linux project") (description -- cgit 1.4.1 From 7fabdffca9ebfabceb363e1a2d13889429a369af Mon Sep 17 00:00:00 2001 From: Kristian Lein-Mathisen Date: Mon, 5 Sep 2022 21:49:03 +0200 Subject: gnu: Add mimalloc. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/c.scm (mimalloc): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/c.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index d7d649488b..10275970b1 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1083,6 +1083,28 @@ Telemetry Transport (MQTT) publish-subscribe messaging protocol.") (home-page "https://github.com/awslabs/aws-c-mqtt") (license license:asl2.0))) +;; Note: there is another mimalloc embedded in rust-mimalloc (version 1.6.4). +(define-public mimalloc + (package + (name "mimalloc") + (version "2.0.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/microsoft/mimalloc") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05x2dl3zimflfj91ns3vrphmzpdlyyr230p9adqgfds101f16qmv")))) + (build-system cmake-build-system) + (arguments + `(#:build-type "Release")) + (synopsis "General purpose memory allocator") + (description "@code{mimalloc} is a drop-in replacement for @code{malloc}.") + (home-page "https://microsoft.github.io/mimalloc/") + (license license:expat))) + ;;; Factored out of the ck package so that it can be adjusted and called on ;;; the host side easily, without impacting the package definition. (define (gnu-triplet->ck-machine target) -- cgit 1.4.1 From 9f74add674fb5a82d974147db7eacbf30b2fe808 Mon Sep 17 00:00:00 2001 From: Kristian Lein-Mathisen Date: Tue, 6 Sep 2022 10:24:01 +0200 Subject: gnu: Add solvespace. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/engineering.scm (solvespace): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/engineering.scm | 92 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index f195179413..a8b9f1e786 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -78,6 +78,7 @@ #:use-module (gnu packages bdw-gc) #:use-module (gnu packages bison) #:use-module (gnu packages boost) + #:use-module (gnu packages c) #:use-module (gnu packages check) #:use-module (gnu packages cmake) #:use-module (gnu packages commencement) @@ -2895,6 +2896,97 @@ for the milling of PCBs. It also includes an autoleveller for the automatic dynamic calibration of the milling depth.") (license license:gpl3+)))) +;; libdxfrw has no readme, no version release, no tags. Initial commit says +;; "libdxfrw-0.6.3 import", but it shares no git history with "upstream" +;; https://github.com/codelibs/libdxfrw. Both are difficult to package +;; separately as they don't install properly. Copying in-tree instead of +;; #:recursive #t to avoid downloading the other bigger dependencies which +;; aren't needed. +(define libdxfrw-sources + (origin + (method git-fetch) + (uri (git-reference (url + "https://github.com/solvespace/libdxfrw") + (commit + "0b7b7b709d9299565db603f878214656ef5e9ddf"))) + (sha256 (base32 + "0d2wjq81466m3hb5cffiy99vhx0irwwy47yfxp318k2q4cvd5z2a")))) + +(define-public solvespace + (let ((commit "70bde63cb32a7f049fa56cbdf924e2695fcb2916") + (version "3.1")) + (package + (name "solvespace") + (version version) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/solvespace/solvespace") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hbdln44k00a6vlklv2mq2c9zda3i9d5x0f7ks85w4v6zskhqnra")))) + (build-system cmake-build-system) + (native-inputs (list pkg-config gettext-minimal)) + (arguments + (list + #:build-type "Release" + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'unpack-libdxfrw + (lambda _ + (copy-recursively #$libdxfrw-sources + "extlib/libdxfrw"))) + (add-before 'configure 'embed-git-commit-hash + (lambda _ + ;; `git describe` doesn't work here, so embed + ;; the commit hash directly in CMakeLists.txt as + ;; described instead. + (substitute* "CMakeLists.txt" + (("include\\(GetGitCommitHash\\)") + (string-append "set(GIT_COMMIT_HASH " + #$commit ")"))))) + (add-before 'configure 'use-packaged-mimalloc + (lambda _ + (substitute* "CMakeLists.txt" + (("message\\(STATUS \"Using in-tree mimalloc\"\\)") + "message(STATUS \"Using guix packaged mimalloc\")") + (("add_subdirectory\\(extlib/mimalloc EXCLUDE_FROM_ALL\\)") + "find_package(mimalloc REQUIRED)"))))))) + (inputs (list cairo + eigen + freetype + gtkmm-3 + json-c + libpng + libspnav ;spaceware + mimalloc + mesa + zlib)) + (synopsis + "Parametric 2D/3D @acronym{CAD, computer-aided design} software") + (description + "SOLVESPACE is a parametric 3D @acronym{CAD, +computer-aided design} tool. Applications include: + +@itemize +@item modeling 3D parts — draw with extrudes, revolves, helixes and + Boolean (union / difference / intersection) operations +@item modeling 2D parts — draw the part as a single section, + and export DXF, PDF, SVG; use 3D assembly to verify fit +@item 3D-printed parts — export the STL or other triangle mesh + expected by most 3D printers +@item preparing CAM data — export 2D vector art for a waterjet + machine or laser cutter; or generate STEP or STL, for import into + third-party CAM software for machining +@item mechanism design — use the constraint solver to simulate planar + or spatial linkages, with pin, ball, or slide joints +@item plane and solid geometry — replace hand-solved trigonometry and spreadsheets + with a live dimensioned drawing +@end itemize") + (home-page "https://solvespace.com/") + (license license:gpl3+)))) + (define-public syscall-intercept ;; Upstream provides no tag. Also, last version update is 4 years old. (let ((commit "304404581c57d43478438d175099d20260bae74e") -- cgit 1.4.1 From 14a450ae218ee0d33d5a5a9650eba601df8321fc Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Sun, 4 Sep 2022 13:23:29 +0800 Subject: gnu: podman: Use G-expressions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/containers.scm (podman)[arguments]: Use G-expressions. Signed-off-by: Ludovic Courtès --- gnu/packages/containers.scm | 74 ++++++++++++++++++++++++--------------------- 1 file changed, 39 insertions(+), 35 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm index a156f4191c..32d772f16c 100644 --- a/gnu/packages/containers.scm +++ b/gnu/packages/containers.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2021 Timmy Douglas ;;; Copyright © 2022 Tobias Geerinckx-Rice +;;; Copyright © 2022 Zhu Zihao ;;; ;;; This file is part of GNU Guix. ;;; @@ -284,41 +285,44 @@ configure network interfaces in Linux containers.") (build-system gnu-build-system) (arguments - `(#:make-flags (list ,(string-append "CC=" (cc-for-target)) - (string-append "PREFIX=" %output)) - #:tests? #f ; /sys/fs/cgroup not set up in guix sandbox - #:test-target "test" - #:phases (modify-phases %standard-phases - (delete 'configure) - (add-after 'unpack 'set-env - (lambda* (#:key inputs #:allow-other-keys) - ;; when running go, things fail because - ;; HOME=/homeless-shelter. - (setenv "HOME" "/tmp"))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; (invoke "strace" "-f" "bin/podman" "version") - (invoke "make" "localsystem") - (invoke "make" "remotesystem")))) - (add-after 'unpack 'fix-hardcoded-paths - (lambda _ - (substitute* (find-files "libpod" "\\.go") - (("exec.LookPath[(][\"]slirp4netns[\"][)]") - (string-append "exec.LookPath(\"" - (which "slirp4netns") "\")"))) - (substitute* "hack/install_catatonit.sh" - (("CATATONIT_PATH=\"[^\"]+\"") - (string-append "CATATONIT_PATH=" (which "true")))) - (substitute* "vendor/github.com/containers/common/pkg/config/config_linux.go" - (("/usr/local/libexec/podman") - (string-append (assoc-ref %outputs "out") "/bin"))) - (substitute* "vendor/github.com/containers/common/pkg/config/default.go" - (("/usr/libexec/podman/conmon") (which "conmon")) - (("/usr/local/libexec/cni") - (string-append (assoc-ref %build-inputs "cni-plugins") - "/bin")) - (("/usr/bin/crun") (which "crun")))))))) + (list + #:make-flags + #~(list #$(string-append "CC=" (cc-for-target)) + (string-append "PREFIX=" #$output)) + #:tests? #f ; /sys/fs/cgroup not set up in guix sandbox + #:test-target "test" + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'set-env + (lambda* (#:key inputs #:allow-other-keys) + ;; when running go, things fail because + ;; HOME=/homeless-shelter. + (setenv "HOME" "/tmp"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; (invoke "strace" "-f" "bin/podman" "version") + (invoke "make" "localsystem") + (invoke "make" "remotesystem")))) + (add-after 'unpack 'fix-hardcoded-paths + (lambda _ + (substitute* (find-files "libpod" "\\.go") + (("exec.LookPath[(][\"]slirp4netns[\"][)]") + (string-append "exec.LookPath(\"" + (which "slirp4netns") "\")"))) + (substitute* "hack/install_catatonit.sh" + (("CATATONIT_PATH=\"[^\"]+\"") + (string-append "CATATONIT_PATH=" (which "true")))) + (substitute* "vendor/github.com/containers/common/pkg/config/config_linux.go" + (("/usr/local/libexec/podman") + (string-append #$output "/bin"))) + (substitute* "vendor/github.com/containers/common/pkg/config/default.go" + (("/usr/libexec/podman/conmon") (which "conmon")) + (("/usr/local/libexec/cni") + (string-append #$(this-package-input "cni-plugins") + "/bin")) + (("/usr/bin/crun") (which "crun")))))))) (inputs (list btrfs-progs cni-plugins -- cgit 1.4.1 From 38086675738c93ba1ad9fd81d3257a9cf74f0597 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Sun, 4 Sep 2022 13:28:30 +0800 Subject: gnu: podman: Update to 4.2.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/containers.scm (podman): Update to 4.2.0. Signed-off-by: Ludovic Courtès --- gnu/packages/containers.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm index 32d772f16c..2c7e7ae9c4 100644 --- a/gnu/packages/containers.scm +++ b/gnu/packages/containers.scm @@ -272,7 +272,7 @@ configure network interfaces in Linux containers.") (define-public podman (package (name "podman") - (version "3.4.4") + (version "4.2.0") (source (origin (method git-fetch) @@ -280,7 +280,7 @@ configure network interfaces in Linux containers.") (url "https://github.com/containers/podman") (commit (string-append "v" version)))) (sha256 - (base32 "1q09qsl1wwiiy5njvb97n1j5f5jin4ckmzj5xbdfs28czb2kx3g5")) + (base32 "00wyjppd11hznmals9ax4s2qjklj6p1vfz4jjkp50bk8q4blxfbj")) (file-name (git-file-name name version)))) (build-system gnu-build-system) -- cgit 1.4.1 From 7627ac7ba950c272262bcbf0bb7757b583ff02f0 Mon Sep 17 00:00:00 2001 From: Wiktor Żelazny Date: Thu, 1 Sep 2022 11:38:04 +0200 Subject: gnu: Add texlive-latex-lastpage. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tex.scm (texlive-latex-lastpage): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tex.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 56308c4cf9..2236f9faf2 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11591,3 +11591,21 @@ within ‘words’ that contain non-alphabetic characters (e.g., that include underscores), and hyphenation of text typeset in monospaced (e.g., cmtt) fonts.") (license license:lppl1.3c+))) + +(define-public texlive-latex-lastpage + (package + (inherit (simple-texlive-package + "texlive-latex-lastpage" + (list "doc/latex/lastpage/" + "tex/latex/lastpage/") + (base32 "0q6x743b8fkw9r82lrxy49f9xsg81bffynwvpnvpnp3h4mkafvdb") + #:trivial? #t)) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/lastpage") + (synopsis "Reference last page for Page N of M type footers") + (description + "This package enables referencing the number of pages in a LaTeX document +through the introduction of a new label which can be referenced like +@code{\\pageref{LastPage}} to give a reference to the last page of a document. +It is particularly useful in the page footer that says: Page N of M.") + (license license:lppl1.3c+))) -- cgit 1.4.1 From c92b01080494cf5641a33c805d0b2f80c64c6a88 Mon Sep 17 00:00:00 2001 From: Wiktor Żelazny Date: Thu, 1 Sep 2022 13:38:06 +0200 Subject: gnu: Add texlive-latex-tabto-ltx. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tex.scm (texlive-latex-tabto-ltx): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tex.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 2236f9faf2..281f2904da 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11609,3 +11609,41 @@ through the introduction of a new label which can be referenced like @code{\\pageref{LastPage}} to give a reference to the last page of a document. It is particularly useful in the page footer that says: Page N of M.") (license license:lppl1.3c+))) + +(define-public texlive-latex-tabto-ltx + (package + (name "texlive-latex-tabto-ltx") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference (url (string-append + "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/tabto-ltx")) + (revision %texlive-revision))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1vq9s3n0mdgx2w84bjdsqxp3vcasfb824agjy56713902li1g8vm")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/tabto"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") + target) #t)))) + (home-page "https://ctan.org/pkg/tabto-ltx") + (synopsis "``Tab'' to a measured position in the line") + (description + "This package provides @code{\\tabto{}}, which moves the +typesetting position to @code{} from the left margin of the paragraph. +If the typesetting position is already further along, @code{\\tabto} starts a +new line; the command @code{\\tabto*} will move position backwards if +necessary, so that previous text may be overwritten. In addition, the command +@code{\\TabPositions} may be used to define a set of tabbing positions, after +which the command @code{\\tab} advances typesetting position to the next +defined ``tab stop''.") + (license license:lppl1.3+))) -- cgit 1.4.1 From 742e70cb13533426dce990feef067f57dde92738 Mon Sep 17 00:00:00 2001 From: Wiktor Żelazny Date: Thu, 1 Sep 2022 14:52:20 +0200 Subject: gnu: Add texlive-generic-soul. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tex.scm (texlive-generic-soul): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tex.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 281f2904da..e3fb6b32ed 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11647,3 +11647,24 @@ necessary, so that previous text may be overwritten. In addition, the command which the command @code{\\tab} advances typesetting position to the next defined ``tab stop''.") (license license:lppl1.3+))) + +(define-public texlive-generic-soul + (let ((template (simple-texlive-package + "texlive-generic-soul" + (list "/doc/generic/soul/" + "/tex/generic/soul/") + (base32 + "11jdgvfpcv10y5j898495lf29k2m03x39v9jzb4v79w4cgxcmfps") + #:trivial? #t))) + (package + (inherit template) + (home-page "http://www.ctan.org/pkg/soul") + (synopsis "Hyphenation for letterspacing, underlining, and more") + (description + "@code{soul} enables hyphenatable spacing out (letterspacing), +underlining, striking out, etc., using the TeX hyphenation algorithm to find +the proper hyphens automatically. The package also provides a mechanism that +can be used to implement similar tasks, that have to treat text syllable by +syllable. The package itself does not support UTF-8 input in ordinary +(PDF)LaTeX; some UTF-8 support is offered by package @code{soulutf8}.") + (license license:lppl)))) -- cgit 1.4.1 From 9fb065a544320020fd8e34918a5c44c870470185 Mon Sep 17 00:00:00 2001 From: Wiktor Żelazny Date: Thu, 1 Sep 2022 15:53:38 +0200 Subject: gnu: Add texlive-latex-totcount. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tex.scm (texlive-latex-totcount): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tex.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index e3fb6b32ed..ae8bf43161 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11668,3 +11668,20 @@ can be used to implement similar tasks, that have to treat text syllable by syllable. The package itself does not support UTF-8 input in ordinary (PDF)LaTeX; some UTF-8 support is offered by package @code{soulutf8}.") (license license:lppl)))) + +(define-public texlive-latex-totcount + (package + (inherit (simple-texlive-package + "texlive-latex-totcount" + (list "doc/latex/totcount/" + "tex/latex/totcount/") + (base32 "0z4mijyk3z7555q8da41aiji602plis5z261z4rr1fl8sndhnhn1") + #:trivial? #t)) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/totcount") + (synopsis "Find the last value of a counter") + (description + "This package records the value that was last set, for any counter of +interest. Since most such counters are simply incremented when they are +changed, the recorded value will usually be the maximum value.") + (license license:lppl1.3c+))) -- cgit 1.4.1 From 94a46dc27adbe560ff41e04096055375564c4f69 Mon Sep 17 00:00:00 2001 From: kiasoc5 Date: Sun, 4 Sep 2022 18:26:17 -0400 Subject: gnu: flatpak: Update to 1.14.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/package-management.scm (flatpak): Update to 1.14.0. Signed-off-by: Ludovic Courtès --- gnu/packages/package-management.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 4ac32581fa..2d1fe914e3 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -63,6 +63,7 @@ #:use-module (gnu packages dbm) #:use-module (gnu packages docbook) #:use-module (gnu packages file) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages flex) #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) @@ -1900,14 +1901,14 @@ the boot loader configuration.") (define-public flatpak (package (name "flatpak") - (version "1.12.7") + (version "1.14.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/flatpak/flatpak/releases/download/" version "/flatpak-" version ".tar.xz")) (sha256 - (base32 "05lkpbjiwp69q924i1jfyk5frcqbdbv9kyzbqwm2hy723i9jmdbd")) + (base32 "05bqy9kwmaj32y7f94fydcz3k63bsgn4mbcp4pglv8hffxrnj9wf")) (patches (search-patches "flatpak-fix-path.patch" "flatpak-unset-gdk-pixbuf-for-sandbox.patch")))) @@ -1976,8 +1977,10 @@ cp -r /tmp/locale/*/en_US.*"))) socat which)) (inputs - (list appstream-glib + (list appstream + appstream-glib bubblewrap + curl dconf fuse gdk-pixbuf -- cgit 1.4.1 From 5ecbb9c1673eb675a22340e9dee80a268d6482f8 Mon Sep 17 00:00:00 2001 From: kiasoc5 Date: Sun, 4 Sep 2022 23:16:36 -0400 Subject: gnu: dragon-drop: Update to 1.2.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/gtk.scm (dragon-drop): Update to 1.2.0. Signed-off-by: Ludovic Courtès --- gnu/packages/gtk.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 5e6e6892aa..4beaebf64a 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -2567,7 +2567,7 @@ shell scripts. Example of how to use @code{yad} can be consulted at (define-public dragon-drop (package (name "dragon-drop") - (version "1.1.1") + (version "1.2.0") (source (origin (method git-fetch) (uri @@ -2577,7 +2577,7 @@ shell scripts. Example of how to use @code{yad} can be consulted at (file-name (git-file-name name version)) (sha256 (base32 - "0fgzz39007fdjwq72scp0qygp2v3zc5f1xkm0sxaa8zxm25g1bra")))) + "1cspkrr976mqi6cjkgrckdmjbgahnxmq267wn1zd7gamv64vm8f2")))) (build-system gnu-build-system) (inputs (list gtk+)) (native-inputs (list pkg-config)) -- cgit 1.4.1 From 26aa149be85fb7ef260780fe298a8a66dfc1d296 Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Mon, 5 Sep 2022 09:40:05 +0200 Subject: gnu: strawberry: Update to 1.0.9. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/music.scm (strawberry): Update to 1.0.9. [inputs]: Add icu4c. Signed-off-by: Ludovic Courtès --- gnu/packages/music.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 5b6440455e..627050eeec 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -134,6 +134,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages haskell) + #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) #:use-module (gnu packages java) @@ -476,7 +477,7 @@ playing your music.") (define-public strawberry (package (name "strawberry") - (version "1.0.7") + (version "1.0.9") (source (origin (method git-fetch) (uri (git-reference @@ -485,7 +486,7 @@ playing your music.") (file-name (git-file-name name version)) (sha256 (base32 - "17mfavbbzx7hp7j5n9i7c3rajy16jicarabrl174p4gjv4zpy2sc")) + "0gm97sdz78s67rnyrs4ixg5dwv2haxdmb7s21yqb8axp624vvalp")) (modules '((guix build utils) (ice-9 regex))) (snippet @@ -542,6 +543,7 @@ playing your music.") gstreamer gst-plugins-base gst-plugins-good + icu4c libcdio libmtp protobuf -- cgit 1.4.1 From 8d34df72cbd400b04cc4c8e2b3d9102a1f9bb013 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 31 Aug 2022 19:38:29 +0530 Subject: gnu: Add python-pymonad. * gnu/packages/python-xyz.scm (python-pymonad): New variable. --- gnu/packages/python-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 79e4c2cdab..21106bf832 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29,7 +29,7 @@ ;;; Copyright © 2016-2022 Marius Bakke ;;; Copyright © 2016, 2017, 2021, 2022 Stefan Reichör ;;; Copyright © 2016, 2017, 2019 Alex Vong -;;; Copyright © 2016, 2017, 2018, 2021 Arun Isaac +;;; Copyright © 2016, 2017, 2018, 2021, 2022 Arun Isaac ;;; Copyright © 2016, 2017, 2018, 2020, 2021 Julien Lepiller ;;; Copyright © 2016–2022 Tobias Geerinckx-Rice ;;; Copyright © 2016, 2017 Thomas Danckaert @@ -30746,3 +30746,40 @@ platform using the ActivityPub protocol.") "@code{python-lief} is a cross platform library which can parse, modify and abstract ELF, PE and MachO formats.") (license license:asl2.0))) + +(define-public python-pymonad + (package + (name "python-pymonad") + (version "2.4.0") + ;; The tests are incomplete in the PyPI archive. + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jasondelaat/pymonad") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ci1mpydldiyg9qv6d19ljhfh7wxlrl2k4mlvqd9bm7dqvpdjsx7")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "./run_tests.sh"))))))) + (home-page "https://github.com/jasondelaat/pymonad") + (synopsis "Monadic style functional programming for Python") + (description "@code{python-pymonad} implements data structures typically +available in purely functional or functional first programming languages such +as Haskell and F#. Included are + +@itemize +@item Monad and Monoid data types with several common monads such as Maybe and +State +@item Useful tools such as the @code{@@curry} decorator for defining curried +functions +@item Type annotations to help ensure correct usage +@end itemize") + (license license:bsd-3))) -- cgit 1.4.1 From e8bded2de72c17317d7799b699a724086f92ed7b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 8 Sep 2022 20:37:50 +0300 Subject: gnu: eigen: Skip some tests on some architectures. * gnu/packages/algebra.scm (eigen)[arguments]: Add a phase to skip some tests which fail on various platforms. (eigen-for-tensorflow, eigen-for-tensorflow-lite)[arguments]: Don't inherit new phase. --- gnu/packages/algebra.scm | 46 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index d3f2549152..e5bd12eeb8 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -74,7 +74,8 @@ #:use-module (guix hg-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) - #:use-module (guix utils)) + #:use-module (guix utils) + #:use-module (ice-9 match)) (define-public mpfrcx @@ -1009,10 +1010,39 @@ extends it by a set of algebraic capabilities.") #t)))) (build-system cmake-build-system) (arguments - '(;; Turn off debugging symbols to save space. + `(;; Turn off debugging symbols to save space. #:build-type "Release" + #:modules ((ice-9 match) + (guix build utils) + (guix build cmake-build-system)) + #:phases (modify-phases %standard-phases + (add-after 'unpack 'disable-some-tests + ;; Not all platforms are well supported by the test suite. + (lambda _ + ,@(match (%current-system) + ("i686-linux" + `((substitute* "test/CMakeLists.txt" + ((".*packetmath.*") "")))) + ("aarch64-linux" + `((substitute* "test/CMakeLists.txt" + ((".*array_cwise.*") "") + ((".*vectorization_logic.*") "")))) + ("armhf-linux" + `((substitute* "test/CMakeLists.txt" + ((".*geo_quaternion.*") "") + ((".*jacobisvd.*") "") + ((".*packetmath.*") "") + ((".*prec_inverse.*") "") + ((".*qr_colpivoting.*") "") + ((".*vectorization_logic.*") "")))) + ("riscv64-linux" + `((substitute* "test/CMakeLists.txt" + ((".*array_cwise.*") "") + ((".*geo_quaternion.*") "")))) + (_ + '((display "No tests to disable on this architecture.\n")))))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (let* ((cores (parallel-job-count)) @@ -1101,6 +1131,11 @@ features, and more.") (substitute* "unsupported/CMakeLists.txt" (("add_subdirectory\\(test.*") "# Do not build the tests for unsupported features.\n")))))) + (arguments + (substitute-keyword-arguments (package-arguments eigen) + ((#:phases phases) + `(modify-phases ,phases + (delete 'disable-some-tests))))) (native-inputs (list gcc-7))))) @@ -1129,7 +1164,12 @@ features, and more.") '(begin (substitute* "unsupported/CMakeLists.txt" (("add_subdirectory\\(test.*") - "# Do not build the tests for unsupported features.\n"))))))))) + "# Do not build the tests for unsupported features.\n")))))) + (arguments + (substitute-keyword-arguments (package-arguments eigen) + ((#:phases phases) + `(modify-phases ,phases + (delete 'disable-some-tests)))))))) (define-public xtensor (package -- cgit 1.4.1