summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* services: configuration: Allow specifying prefix for serializer names.Xinglu Chen2021-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes two configurations might have the same types for their field values, but the values might be serialized in two completely different ways (e.g. because the two programs have different configuration languages). An example of this would be the ‘serialize-boolean’ procedure in (gnu services mail) and (gnu services getmail). They both serialize a boolean value, but because the Dovecot’s configuration language has a different syntax to the configuration language for Getmail, two different procedures have to be defined. One way to workaround this would be to specify custom serializers for many fields in order to separate the serialization of the values that have the same type but serialize in different ways. This could get very tedious, especially if there are many configurations in the same module. Another way would be to move one of the configurations to its own module, like what was done with (gnu services getmail). However, this would mean that there would be multiple modules containing configurations for related programs, e.g. we have (gnu services mail) and (gnu services getmail), it doesn’t make much sense to keep the Getmail configuration in its own module. This patch will allow one to write something like this: (define-configuration foo-configuration (bar (string "bob") "Option bar.") (prefix bar-)) and the value of the ‘bar’ field would be serialized using a procedure named ‘bar-serialize-string’ instead of just ‘serialize-string’. * gnu/services/configuration.scm (define-maybe-helper): Accept ‘prefix’ argument for using serializer with custom prefix. (define-maybe): Pattern match on ‘prefix’ literal. (define-configuration-helper): Accept ‘prefix’ argument for using serializer with custom prefix. (define-configuration): Pattern match on ‘prefix’ literal. * tests/services/configuration.scm ("serialize-configuration with prefix"): New test. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-wsgiproxy2: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/python-web.scm (python2-wsgiproxy2): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-sqlparse: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/databases.scm (python2-sqlparse): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-scripttest: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/check.scm (python2-scripttest): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-plotly: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/graph.scm (python2-plotly): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-rpython: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/python-xyz.scm (python2-rpython): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-roca-detect: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/python-crypto.scm (python2-roca-detect): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-mapnik: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/geo.scm (python2-mapnik): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-libadalang: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/ada.scm (python2-libadalang): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python2-larch: Remove package.zimoun2021-06-29
| | | | | | * gnu/packages/python-xyz.scm (python2-larch): Remove variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: scotch: Update to 6.1.1.Ludovic Courtès2021-06-29
| | | | | | | | * gnu/packages/maths.scm (scotch): Update to 6.1.1. [native-inputs]: Add GFORTRAN. [arguments]: Set 'FC' in 'Makefile.in'. (scotch32)[arguments]: Likewise. (scotch-shared)[arguments]: Likewise.
* gnu: Add r-cistopic-next.Ricardo Wurmus2021-06-29
| | | | * gnu/packages/bioconductor.scm (r-cistopic-next): New variable.
* gnu: Add r-text2vec.Ricardo Wurmus2021-06-29
| | | | * gnu/packages/cran.scm (r-text2vec): New variable.
* gnu: Add r-rsparse.Ricardo Wurmus2021-06-29
| | | | * gnu/packages/cran.scm (r-rsparse): New variable.
* gnu: Add r-float.Ricardo Wurmus2021-06-29
| | | | * gnu/packages/cran.scm (r-float): New variable.
* gnu: Add r-mlapi.Ricardo Wurmus2021-06-29
| | | | * gnu/packages/cran.scm (r-mlapi): New variable.
* gnu: Add pcl.David Dashyan2021-06-29
| | | | | | * gnu/packages/c.scm (pcl): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: hunspell-dictionary: Update to 7.1.4.2.Giacomo Leidi2021-06-29
| | | | | | * gnu/packages/hunspell.scm (hunspell-dict-it-it): Update to 7.1.4.2. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* Really revert commit a8b705252bdcb642999258859ada1c2f43706092.Tobias Geerinckx-Rice2021-06-29
| | | | I give up.
* gnu: egl-wayland: Update to 1.1.7.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/graphics.scm (egl-wayland): Update to 1.1.7.
* gnu: remind: Update to 3.3.7.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/calendar.scm (remind): Update to 3.3.7.
* gnu: libavif: Update to 0.9.2.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/image.scm (libavif): Update to 0.9.2.
* gnu: erofs-utils: Edit description.Tobias Geerinckx-Rice2021-06-29
| | | | | * gnu/packages/linux.scm (erofs-utils)[synopsis]: Add missing article. [description]: Mark up.
* gnu: erofs-utils: Update to 1.3.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/linux.scm (erofs-utils): Update to 1.3.
* gnu: powerstat: Update to 0.02.26.Tobias Geerinckx-Rice2021-06-29
| | | | | * gnu/packages/linux.scm (powerstat): Update to 0.02.26. [arguments]: Remove obsolete 'respect-$prefix phase.
* gnu: man-pages: Update to 5.12.Tobias Geerinckx-Rice2021-06-29
| | | | | * gnu/packages/man.scm (man-pages): Update to 5.12. [arguments]: Follow switch to standard ‘mandir’ over ‘MANDIR’. \o/
* gnu: photoflare: Update to 1.6.9.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/photo.scm (photoflare): Update to 1.6.9.
* gnu: cgal: Remove duplicate licence directory.Tobias Geerinckx-Rice2021-06-29
| | | | | * gnu/packages/graphics.scm (cgal)[arguments]: Set CGAL_INSTALL_DOC_DIR to match Guix's own default in #:configure-flags.
* gnu: cgal: Update to 5.2.2.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/graphics.scm (cgal): Update to 5.2.2.
* gnu: gnuradio: Update to 3.9.2.0.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/radio.scm (gnuradio): Update to 3.9.2.0.
* gnu: gnuradio: Build from Git sources.Tobias Geerinckx-Rice2021-06-29
| | | | | | * gnu/packages/radio.scm (gnuradio)[source]: Use GIT-FETCH and GIT-FILE-NAME. [arguments]: Add a new 'make-source-writable phase.
* Revert parts of "gnu: Add i7z."Tobias Geerinckx-Rice2021-06-29
| | | | | This reverts parts of commit a8b705252bdcb642999258859ada1c2f43706092, because it's apparently revert things day, and also I'm an idiot
* gnu: libass: Update to 0.15.1.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/video.scm (libass): Update to 0.15.1.
* gnu: editorconfig-core-c: Update to 0.12.5.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/text-editors.scm (editorconfig-core-c): Update to 0.12.5.
* gnu: librem-ec-acpi-linux-module: Fix licence.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/linux.scm (librem-ec-acpi-linux-module)[license]: Remove plus.
* gnu: Add i7z.Tobias Geerinckx-Rice2021-06-29
| | | | * gnu/packages/hardware.scm (i7z): New public variable.
* Revert "guix build: Autoload (gnu packages)."Ludovic Courtès2021-06-29
| | | | | | This reverts commit fd62b4cf88578ebd8f42ccda94831a254425a329, which would lead 'GUIX_PACKAGE_PATH' to be ignored for instance when using 'guix build -f file.scm', as shown by 'tests/guix-build.sh'.
* guix build: Autoload (gnu packages).Ludovic Courtès2021-06-29
| | | | * guix/scripts/build.scm: Autoload (gnu packages).
* pull: Use SRFI-71 instead of SRFI-11.Ludovic Courtès2021-06-29
| | | | * guix/scripts/pull.scm (display-new/upgraded-packages): Use SRFI-71 'let'.
* pull: Autoload (gnu ...) modules.Ludovic Courtès2021-06-29
| | | | | | This reduces startup time for 'guix pull --help' and similar. * guix/scripts/pull.scm: Autoload (gnu ...) modules.
* ui: Have 'guix help' stat less.Ludovic Courtès2021-06-29
| | | | | | | | | | | | | | This reduces the number of syscalls for: env -i $(type -P strace) -c $(type -P guix) help from 4.3K to 2.2K, thereby reducing startup time. Reported by Julien Lepiller. * guix/ui.scm (run-guix-command): Move %FILE-PORT-NAME-CANONICALIZATION to... (run-guix): ... here.
* (guix) no longer pulls in (guix ftp-client).Ludovic Courtès2021-06-29
| | | | | | That choice was made in 2014 and never made much sense. * guix.scm (%public-modules): Remove 'ftp-client'.
* gnu: scotch: Add 'release-monitoring-url' property.Ludovic Courtès2021-06-29
| | | | * gnu/packages/maths.scm (scotch)[properties]: New field.
* Revert "gnu: Add ytfzf."Raghav Gururajan2021-06-28
| | | | | This reverts commit 3fdb2d679259f5d1541240dd4e9cedda17040bf2, as it was accidentally pushed.
* Revert "gnu: Add python-ueberzug."Raghav Gururajan2021-06-28
| | | | | This reverts commit 1cc89f08b816f56e1bca25340e945b1cbb34f05d, as it was accidentally pushed.
* gnu: python-fire: Respect #:tests?Raghav Gururajan2021-06-28
| | | | | * gnu/packages/python-xyz.scm (python-fire)[arguments]: Respect #:tests? in the custom 'check' phase.
* gnu: Add ytfzf.LibreMiami2021-06-28
| | | | | | | * gnu/packages/image-viewers.scm (ytfzf): New variable. Co-authored-by: Raghav Gururajan <rg@raghavgururajan.name> Co-authored-by: jgart <jgart@dismail.de>
* gnu: Add python-ueberzug.LibreMiami2021-06-28
| | | | | | | * gnu/packages/python-xyz.scm (python-ueberzug): New variable. Co-authored-by: Raghav Gururajan <rg@raghavgururajan.name> Co-authored-by: jgart <jgart@dismail.de>
* guix: Delete duplicates from emacs-load-path.Leo Prikler2021-06-28
| | | | | | | | | | | It has been reported in IRC, that directories may show up multiple times in subdirs.el, probably a result of propagation. This can for instance be seen by ‘guix environment --ad-hoc emacs emacs-guix’, which will generate multiple references to dash. With this patch only one reference per package is generated. * guix/profiles.scm (emacs-subdirs): wrap subdirs added to ‘normal-top-level-add-to-load-path’ in ‘delete-duplictes’.
* gnu: Add go-1.16.Sarah Morgensen2021-06-28
| | | | | | | | | | | | | | | Add go@1.16 as a non-default go. Changes from 1.14: Use now-supported GO_LDSO configuration option for setting the interpreter. Bootstrap with gccgo on platforms which do not support go-1.4. Fix and re-enable cmd/go script tests. Fix typo in cgoldflags patch. Break out tests into "check" phase. Remove references to perl to reduce closure size by ~10%. Set GOCACHE so go doesn't attempt to access $HOME. * gnu/packages/patches/go-fix-script-tests.patch: New file. * local.mk (dist_patch_DATA): Register it. * gnu/packages/golang.scm (go-1.16): New variable. Use the patch. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>