Merge branch 'master' into core-updates
This commit is contained in:
		
						commit
						150062f190
					
				
					 58 changed files with 940 additions and 383 deletions
				
			
		| 
						 | 
					@ -44,6 +44,9 @@
 | 
				
			||||||
;; could be renamed or shuffled around in modules over time.  Conversely,
 | 
					;; could be renamed or shuffled around in modules over time.  Conversely,
 | 
				
			||||||
;; 'find-best-packages-by-name' is expected to always have the same semantics.
 | 
					;; 'find-best-packages-by-name' is expected to always have the same semantics.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define guix
 | 
				
			||||||
 | 
					  (first (find-best-packages-by-name "guix" #f)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define libgcrypt
 | 
					(define libgcrypt
 | 
				
			||||||
  (first (find-best-packages-by-name "libgcrypt" #f)))
 | 
					  (first (find-best-packages-by-name "libgcrypt" #f)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -165,8 +168,6 @@ files."
 | 
				
			||||||
    (if (defined? '%localstatedir) %localstatedir (dirname %state-directory)))
 | 
					    (if (defined? '%localstatedir) %localstatedir (dirname %state-directory)))
 | 
				
			||||||
  (define sysconfdir
 | 
					  (define sysconfdir
 | 
				
			||||||
    (if (defined? '%sysconfdir) %sysconfdir (dirname %config-directory)))
 | 
					    (if (defined? '%sysconfdir) %sysconfdir (dirname %config-directory)))
 | 
				
			||||||
  (define sbindir
 | 
					 | 
				
			||||||
    (if (defined? '%sbindir) %sbindir (dirname %guix-register-program)))
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  (define builder
 | 
					  (define builder
 | 
				
			||||||
    #~(begin
 | 
					    #~(begin
 | 
				
			||||||
| 
						 | 
					@ -222,7 +223,7 @@ files."
 | 
				
			||||||
                    #:storedir #$storedir
 | 
					                    #:storedir #$storedir
 | 
				
			||||||
                    #:localstatedir #$localstatedir
 | 
					                    #:localstatedir #$localstatedir
 | 
				
			||||||
                    #:sysconfdir #$sysconfdir
 | 
					                    #:sysconfdir #$sysconfdir
 | 
				
			||||||
                    #:sbindir #$sbindir
 | 
					                    #:sbindir (string-append #$guix "/sbin")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    #:package-name #$%guix-package-name
 | 
					                    #:package-name #$%guix-package-name
 | 
				
			||||||
                    #:package-version #$version
 | 
					                    #:package-version #$version
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2841,6 +2841,19 @@ This has the same purpose as the same-named option in @command{guix
 | 
				
			||||||
build} (@pxref{Additional Build Options, @code{--expression} in
 | 
					build} (@pxref{Additional Build Options, @code{--expression} in
 | 
				
			||||||
@command{guix build}}).
 | 
					@command{guix build}}).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@item --manifest=@var{file}
 | 
				
			||||||
 | 
					@itemx -m @var{file}
 | 
				
			||||||
 | 
					Use the packages contained in the manifest object returned by the Scheme
 | 
				
			||||||
 | 
					code in @var{file}.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					This has a similar purpose as the same-named option in @command{guix
 | 
				
			||||||
 | 
					package} (@pxref{profile-manifest, @option{--manifest}}) and uses the
 | 
				
			||||||
 | 
					same manifest files.  It allows you to define a collection of packages
 | 
				
			||||||
 | 
					once and use it both for creating profiles and for creating archives
 | 
				
			||||||
 | 
					for use on machines that do not have Guix installed.  Note that you can
 | 
				
			||||||
 | 
					specify @emph{either} a manifest file @emph{or} a list of packages,
 | 
				
			||||||
 | 
					but not both.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item --system=@var{system}
 | 
					@item --system=@var{system}
 | 
				
			||||||
@itemx -s @var{system}
 | 
					@itemx -s @var{system}
 | 
				
			||||||
Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of
 | 
					Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of
 | 
				
			||||||
| 
						 | 
					@ -9724,7 +9737,20 @@ man page for more information.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item @code{tty}
 | 
					@item @code{tty}
 | 
				
			||||||
The name of the console this agetty runs on, as a string---e.g.,
 | 
					The name of the console this agetty runs on, as a string---e.g.,
 | 
				
			||||||
@code{"ttyS0"}. This argument is mandatory.
 | 
					@code{"ttyS0"}. This argument is optional, it will default to
 | 
				
			||||||
 | 
					a reasonable default serial port used by the kernel Linux.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					For this, if there is a value for an option @code{agetty.tty} in the kernel
 | 
				
			||||||
 | 
					command line, agetty will extract the device name of the serial port
 | 
				
			||||||
 | 
					from it and use that.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					If not and if there is a value for an option @code{console} with a tty in
 | 
				
			||||||
 | 
					the Linux command line, agetty will extract the device name of the
 | 
				
			||||||
 | 
					serial port from it and use that.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					In both cases, agetty will leave the other serial device settings
 | 
				
			||||||
 | 
					(baud rate etc.) alone---in the hope that Linux pinned them to the
 | 
				
			||||||
 | 
					correct values.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item @code{baud-rate} (default: @code{#f})
 | 
					@item @code{baud-rate} (default: @code{#f})
 | 
				
			||||||
A string containing a comma-separated list of one or more baud rates, in
 | 
					A string containing a comma-separated list of one or more baud rates, in
 | 
				
			||||||
| 
						 | 
					@ -15641,6 +15667,31 @@ A simple services setup for nginx with php can look like this:
 | 
				
			||||||
                 %base-services))
 | 
					                 %base-services))
 | 
				
			||||||
@end example
 | 
					@end example
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@cindex cat-avatar-generator
 | 
				
			||||||
 | 
					The cat avatar generator is a simple service to demonstrate the use of php-fpm
 | 
				
			||||||
 | 
					in @code{Nginx}.  It is used to generate cat avatar from a seed, for instance
 | 
				
			||||||
 | 
					the hash of a user's email address.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@deffn {Scheme Procedure} cat-avatar-generator-serice @
 | 
				
			||||||
 | 
					       [#:cache-dir "/var/cache/cat-avatar-generator"] @
 | 
				
			||||||
 | 
					       [#:package cat-avatar-generator] @
 | 
				
			||||||
 | 
					       [#:configuration (nginx-server-configuration)]
 | 
				
			||||||
 | 
					Returns an nginx-server-configuration that inherits @code{configuration}.  It
 | 
				
			||||||
 | 
					extends the nginx configuration to add a server block that serves @code{package},
 | 
				
			||||||
 | 
					a version of cat-avatar-generator.  During execution, cat-avatar-generator will
 | 
				
			||||||
 | 
					be able to use @code{cache-dir} as its cache directory.
 | 
				
			||||||
 | 
					@end deffn
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					A simple setup for cat-avatar-generator can look like this:
 | 
				
			||||||
 | 
					@example
 | 
				
			||||||
 | 
					(services (cons* (cat-avatar-generator-service
 | 
				
			||||||
 | 
					                  #:configuration
 | 
				
			||||||
 | 
					                  (nginx-server-configuration
 | 
				
			||||||
 | 
					                    (server-name '("example.com"))))
 | 
				
			||||||
 | 
					                 ...
 | 
				
			||||||
 | 
					                 %base-services))
 | 
				
			||||||
 | 
					@end example
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@node Certificate Services
 | 
					@node Certificate Services
 | 
				
			||||||
@subsubsection Certificate Services
 | 
					@subsubsection Certificate Services
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -601,7 +601,6 @@ dist_patch_DATA =						\
 | 
				
			||||||
  %D%/packages/patches/crawl-upgrade-saves.patch		\
 | 
					  %D%/packages/patches/crawl-upgrade-saves.patch		\
 | 
				
			||||||
  %D%/packages/patches/crda-optional-gcrypt.patch		\
 | 
					  %D%/packages/patches/crda-optional-gcrypt.patch		\
 | 
				
			||||||
  %D%/packages/patches/crossmap-allow-system-pysam.patch	\
 | 
					  %D%/packages/patches/crossmap-allow-system-pysam.patch	\
 | 
				
			||||||
  %D%/packages/patches/crypto++-fix-dos-in-asn.1-decoders.patch \
 | 
					 | 
				
			||||||
  %D%/packages/patches/clucene-contribs-lib.patch               \
 | 
					  %D%/packages/patches/clucene-contribs-lib.patch               \
 | 
				
			||||||
  %D%/packages/patches/cube-nocheck.patch			\
 | 
					  %D%/packages/patches/cube-nocheck.patch			\
 | 
				
			||||||
  %D%/packages/patches/cursynth-wave-rand.patch			\
 | 
					  %D%/packages/patches/cursynth-wave-rand.patch			\
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -72,7 +72,7 @@
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("gettext" ,gettext-minimal)
 | 
					     `(("gettext" ,gettext-minimal)
 | 
				
			||||||
       ("perl" ,perl)))
 | 
					       ("perl" ,perl)))
 | 
				
			||||||
    (home-page "http://savannah.nongnu.org/projects/acl")
 | 
					    (home-page "https://savannah.nongnu.org/projects/acl")
 | 
				
			||||||
    (synopsis
 | 
					    (synopsis
 | 
				
			||||||
     "Library and tools for manipulating access control lists")
 | 
					     "Library and tools for manipulating access control lists")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1184,7 +1184,7 @@ network, which causes enabled computers to power on.")
 | 
				
			||||||
       #:tests? #f                                ; no 'check' target
 | 
					       #:tests? #f                                ; no 'check' target
 | 
				
			||||||
       #:make-flags (list (string-append "prefix="
 | 
					       #:make-flags (list (string-append "prefix="
 | 
				
			||||||
                                         (assoc-ref %outputs "out")))))
 | 
					                                         (assoc-ref %outputs "out")))))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/dmidecode/")
 | 
					    (home-page "https://www.nongnu.org/dmidecode/")
 | 
				
			||||||
    (synopsis "Read hardware information from the BIOS")
 | 
					    (synopsis "Read hardware information from the BIOS")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Dmidecode reports information about your system's hardware as described
 | 
					     "Dmidecode reports information about your system's hardware as described
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -71,7 +71,7 @@
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("gettext" ,gettext-minimal)))
 | 
					     `(("gettext" ,gettext-minimal)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    (home-page "http://savannah.nongnu.org/projects/attr/")
 | 
					    (home-page "https://savannah.nongnu.org/projects/attr/")
 | 
				
			||||||
    (synopsis "Library and tools for manipulating extended attributes")
 | 
					    (synopsis "Library and tools for manipulating extended attributes")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Portable library and tools for manipulating extended attributes.")
 | 
					     "Portable library and tools for manipulating extended attributes.")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1591,7 +1591,7 @@ to be plugged into a wide range of audio synthesis and recording packages.")
 | 
				
			||||||
       ("libxml2" ,libxml2)))
 | 
					       ("libxml2" ,libxml2)))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("pkg-config" ,pkg-config)))
 | 
					     `(("pkg-config" ,pkg-config)))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/lash/")
 | 
					    (home-page "https://www.nongnu.org/lash/")
 | 
				
			||||||
    (synopsis "Audio application session manager")
 | 
					    (synopsis "Audio application session manager")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "LASH is a session management system for audio applications.  It allows
 | 
					     "LASH is a session management system for audio applications.  It allows
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -77,22 +77,32 @@ DNS-SD (for \"DNS-Based Service Discovery\") protocols.")
 | 
				
			||||||
(define-public nss-mdns
 | 
					(define-public nss-mdns
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "nss-mdns")
 | 
					    (name "nss-mdns")
 | 
				
			||||||
    (version "0.11")
 | 
					    (version "0.12")
 | 
				
			||||||
 | 
					    (home-page "https://github.com/lathiat/nss-mdns")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append "https://github.com/lathiat/nss-mdns"
 | 
					              (uri (string-append home-page "/releases/download/v" version "/"
 | 
				
			||||||
                                  "/releases/download/v" version "/"
 | 
					 | 
				
			||||||
                                  name "-" version ".tar.gz"))
 | 
					                                  name "-" version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "14jwy6mklzgjz3mfmw67mxhszrw9d3d3yjjhg87j4crci6m19i39"))))
 | 
					                "1p2vj9fz4kzrjrj81ipf4qwgnr2n7a8cbzw4bpk18xyqhdx8h775"))
 | 
				
			||||||
 | 
					              (patches
 | 
				
			||||||
 | 
					               (list (origin
 | 
				
			||||||
 | 
					                       ;; See
 | 
				
			||||||
 | 
					                       ;; <https://github.com/lathiat/nss-mdns/issues/26#issuecomment-364781799>.
 | 
				
			||||||
 | 
					                       (uri (string-append
 | 
				
			||||||
 | 
					                             home-page
 | 
				
			||||||
 | 
					                             "/commit/31ccbec3b4f054e590c7c880d8a8a50cfc97127d.patch"))
 | 
				
			||||||
 | 
					                       (sha256
 | 
				
			||||||
 | 
					                        (base32
 | 
				
			||||||
 | 
					                         "0b1jmhnkpsczbph4ala7x3rafwxdg93277s30iaxh37jnvgjnhsd"))
 | 
				
			||||||
 | 
					                       (method url-fetch))))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     ;; The Avahi daemon socket is expected by src/Makefile.am to be at
 | 
					     ;; The Avahi daemon socket is expected by src/Makefile.am to be at
 | 
				
			||||||
     ;; "$(localstatedir)/run/avahi-daemon/socket", so set $(localstatedir)
 | 
					     ;; "$(localstatedir)/run/avahi-daemon/socket", so set $(localstatedir)
 | 
				
			||||||
     ;; appropriately.
 | 
					     ;; appropriately.
 | 
				
			||||||
     '(#:configure-flags '("--localstatedir=/var")))
 | 
					     '(#:configure-flags '("--localstatedir=/var")))
 | 
				
			||||||
    (home-page "https://github.com/lathiat/nss-mdns")
 | 
					 | 
				
			||||||
    (synopsis "Multicast DNS Name Service Switch (@dfn{NSS}) plug-in")
 | 
					    (synopsis "Multicast DNS Name Service Switch (@dfn{NSS}) plug-in")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Nss-mdns is a plug-in for the GNU C Library's Name Service Switch
 | 
					     "Nss-mdns is a plug-in for the GNU C Library's Name Service Switch
 | 
				
			||||||
| 
						 | 
					@ -100,28 +110,3 @@ DNS-SD (for \"DNS-Based Service Discovery\") protocols.")
 | 
				
			||||||
most often used in home and other small networks without a local name server,
 | 
					most often used in home and other small networks without a local name server,
 | 
				
			||||||
to resolve host names in the @samp{.local} top-level domain.")
 | 
					to resolve host names in the @samp{.local} top-level domain.")
 | 
				
			||||||
    (license lgpl2.1+)))
 | 
					    (license lgpl2.1+)))
 | 
				
			||||||
 | 
					 | 
				
			||||||
(define-public nss-mdns-0.10
 | 
					 | 
				
			||||||
  ;; Kept here to work around in bug in 0.11: <https://bugs.gnu.org/30396> and
 | 
					 | 
				
			||||||
  ;; <https://github.com/lathiat/nss-mdns/issues/26>.
 | 
					 | 
				
			||||||
  (package
 | 
					 | 
				
			||||||
    (inherit nss-mdns)
 | 
					 | 
				
			||||||
    (version "0.10")
 | 
					 | 
				
			||||||
    (source (origin
 | 
					 | 
				
			||||||
              (method url-fetch)
 | 
					 | 
				
			||||||
              (uri (list
 | 
					 | 
				
			||||||
                    (string-append
 | 
					 | 
				
			||||||
                     "mirror://debian/pool/main/n/nss-mdns/nss-mdns_"
 | 
					 | 
				
			||||||
                     version ".orig.tar.gz")
 | 
					 | 
				
			||||||
                    "http://pkgs.fedoraproject.org/repo/pkgs/nss-mdns/nss-mdns-0.10.tar.gz/03938f17646efbb50aa70ba5f99f51d7/nss-mdns-0.10.tar.gz"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    ;; This used to be the canonical URL but it vanished.
 | 
					 | 
				
			||||||
                    ;; See <http://bugs.gnu.org/18704>.
 | 
					 | 
				
			||||||
                    ;; (string-append
 | 
					 | 
				
			||||||
                    ;;  "http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-"
 | 
					 | 
				
			||||||
                    ;;  version ".tar.gz")
 | 
					 | 
				
			||||||
                    ))
 | 
					 | 
				
			||||||
              (sha256
 | 
					 | 
				
			||||||
               (base32
 | 
					 | 
				
			||||||
                "0vgs6j0qsl0mwzh5a0m0bykr7x6bx79vnbyn0r3q289rghp3qs0y"))
 | 
					 | 
				
			||||||
              (file-name (string-append "nss-mdns-" version ".tar.gz"))))))
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -100,7 +100,7 @@
 | 
				
			||||||
             #t)))))
 | 
					             #t)))))
 | 
				
			||||||
    (native-inputs `(("avr-binutils" ,avr-binutils)
 | 
					    (native-inputs `(("avr-binutils" ,avr-binutils)
 | 
				
			||||||
                     ("avr-gcc" ,avr-gcc)))
 | 
					                     ("avr-gcc" ,avr-gcc)))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/avr-libc/")
 | 
					    (home-page "https://www.nongnu.org/avr-libc/")
 | 
				
			||||||
    (synopsis "The AVR C Library")
 | 
					    (synopsis "The AVR C Library")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "AVR Libc is a project whose goal is to provide a high quality C library
 | 
					     "AVR Libc is a project whose goal is to provide a high quality C library
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -358,7 +358,7 @@ errors.")
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:python ,python-2
 | 
					     `(#:python ,python-2
 | 
				
			||||||
       #:tests? #f))
 | 
					       #:tests? #f))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/rdiff-backup/")
 | 
					    (home-page "https://www.nongnu.org/rdiff-backup/")
 | 
				
			||||||
    (synopsis "Local/remote mirroring+incremental backup")
 | 
					    (synopsis "Local/remote mirroring+incremental backup")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Rdiff-backup backs up one directory to another, possibly over a network.
 | 
					     "Rdiff-backup backs up one directory to another, possibly over a network.
 | 
				
			||||||
| 
						 | 
					@ -438,7 +438,7 @@ rsnapshot uses hard links to deduplicate identical files.")
 | 
				
			||||||
       ("lzo" ,lzo)
 | 
					       ("lzo" ,lzo)
 | 
				
			||||||
       ("bzip2" ,bzip2)
 | 
					       ("bzip2" ,bzip2)
 | 
				
			||||||
       ("zlib" ,zlib)))
 | 
					       ("zlib" ,zlib)))
 | 
				
			||||||
    (home-page "http://nongnu.org/libchop/")
 | 
					    (home-page "https://nongnu.org/libchop/")
 | 
				
			||||||
    (synopsis "Tools & library for data backup and distributed storage")
 | 
					    (synopsis "Tools & library for data backup and distributed storage")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Libchop is a set of utilities and library for data backup and
 | 
					     "Libchop is a set of utilities and library for data backup and
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -34,7 +34,7 @@
 | 
				
			||||||
(define-public fio
 | 
					(define-public fio
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "fio")
 | 
					    (name "fio")
 | 
				
			||||||
    (version "3.3")
 | 
					    (version "3.4")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append
 | 
					              (uri (string-append
 | 
				
			||||||
| 
						 | 
					@ -42,7 +42,7 @@
 | 
				
			||||||
                       "fio-" version ".tar.bz2"))
 | 
					                       "fio-" version ".tar.bz2"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "0mrilkm7qdn6fgzlprqp7w48bwwm362rmwxqirbzqmi54k3mj3ar"))))
 | 
					                "01dqvg5mgb4fh1jqqmi179k2rb517p4h4sr3mhlnd0alk1x12w8a"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     '(#:test-target "test"
 | 
					     '(#:test-target "test"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2074,7 +2074,7 @@ identify enrichments with functional annotations of the genome.")
 | 
				
			||||||
(define-public diamond
 | 
					(define-public diamond
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "diamond")
 | 
					    (name "diamond")
 | 
				
			||||||
    (version "0.9.17")
 | 
					    (version "0.9.18")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append
 | 
					              (uri (string-append
 | 
				
			||||||
| 
						 | 
					@ -2083,7 +2083,7 @@ identify enrichments with functional annotations of the genome.")
 | 
				
			||||||
              (file-name (string-append name "-" version ".tar.gz"))
 | 
					              (file-name (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "1p3fd1ad7hg2w09w3sjk4pxqx0p0gaqys8ipg3f4adg77mn9m9yd"))))
 | 
					                "1vi2nddmy7knrv8gsprwqp6a40k63n3f2dfvx22ipjhrg9xir96f"))))
 | 
				
			||||||
    (build-system cmake-build-system)
 | 
					    (build-system cmake-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     '(#:tests? #f ; no "check" target
 | 
					     '(#:tests? #f ; no "check" target
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -187,8 +187,8 @@ their dependencies.")
 | 
				
			||||||
      (license l:gpl3+))))
 | 
					      (license l:gpl3+))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public cuirass
 | 
					(define-public cuirass
 | 
				
			||||||
  (let ((commit "9cfea9fe2e3ca6a3d1b832a6ec217426ec973c93")
 | 
					  (let ((commit "4ab2f2c3f084ffd9d0f77134cc1af0f8cf0e13be")
 | 
				
			||||||
        (revision "10"))
 | 
					        (revision "12"))
 | 
				
			||||||
    (package
 | 
					    (package
 | 
				
			||||||
      (name "cuirass")
 | 
					      (name "cuirass")
 | 
				
			||||||
      (version (string-append "0.0.1-" revision "." (string-take commit 7)))
 | 
					      (version (string-append "0.0.1-" revision "." (string-take commit 7)))
 | 
				
			||||||
| 
						 | 
					@ -200,7 +200,7 @@ their dependencies.")
 | 
				
			||||||
                (file-name (string-append name "-" version))
 | 
					                (file-name (string-append name "-" version))
 | 
				
			||||||
                (sha256
 | 
					                (sha256
 | 
				
			||||||
                 (base32
 | 
					                 (base32
 | 
				
			||||||
                  "177klidmsw12kjk9dzawc0bqcwqlplgx45m87qpgjfx3cnk28i2b"))))
 | 
					                  "1r97z5lkzg6vx014rfmv1pp3x3bl1shb6wkcgnlncwqf56a9bzi1"))))
 | 
				
			||||||
      (build-system gnu-build-system)
 | 
					      (build-system gnu-build-system)
 | 
				
			||||||
      (arguments
 | 
					      (arguments
 | 
				
			||||||
       '(#:modules ((guix build utils)
 | 
					       '(#:modules ((guix build utils)
 | 
				
			||||||
| 
						 | 
					@ -231,6 +231,7 @@ their dependencies.")
 | 
				
			||||||
                      (sqlite (assoc-ref inputs "guile-sqlite3"))
 | 
					                      (sqlite (assoc-ref inputs "guile-sqlite3"))
 | 
				
			||||||
                      (git    (assoc-ref inputs "guile-git"))
 | 
					                      (git    (assoc-ref inputs "guile-git"))
 | 
				
			||||||
                      (bytes  (assoc-ref inputs "guile-bytestructures"))
 | 
					                      (bytes  (assoc-ref inputs "guile-bytestructures"))
 | 
				
			||||||
 | 
					                      (fibers (assoc-ref inputs "guile-fibers"))
 | 
				
			||||||
                      (guix   (assoc-ref inputs "guix"))
 | 
					                      (guix   (assoc-ref inputs "guix"))
 | 
				
			||||||
                      (guile  (assoc-ref %build-inputs "guile"))
 | 
					                      (guile  (assoc-ref %build-inputs "guile"))
 | 
				
			||||||
                      (effective (read-line
 | 
					                      (effective (read-line
 | 
				
			||||||
| 
						 | 
					@ -245,6 +246,8 @@ their dependencies.")
 | 
				
			||||||
                                             effective ":"
 | 
					                                             effective ":"
 | 
				
			||||||
                                             sqlite "/share/guile/site/"
 | 
					                                             sqlite "/share/guile/site/"
 | 
				
			||||||
                                             effective ":"
 | 
					                                             effective ":"
 | 
				
			||||||
 | 
					                                             fibers "/share/guile/site/"
 | 
				
			||||||
 | 
					                                             effective ":"
 | 
				
			||||||
                                             guix "/share/guile/site/"
 | 
					                                             guix "/share/guile/site/"
 | 
				
			||||||
                                             effective)))
 | 
					                                             effective)))
 | 
				
			||||||
                 ;; Make sure 'cuirass' can find the 'evaluate' command, as
 | 
					                 ;; Make sure 'cuirass' can find the 'evaluate' command, as
 | 
				
			||||||
| 
						 | 
					@ -256,6 +259,7 @@ their dependencies.")
 | 
				
			||||||
                 #t))))))
 | 
					                 #t))))))
 | 
				
			||||||
      (inputs
 | 
					      (inputs
 | 
				
			||||||
       `(("guile" ,guile-2.2)
 | 
					       `(("guile" ,guile-2.2)
 | 
				
			||||||
 | 
					         ("guile-fibers" ,guile-fibers)
 | 
				
			||||||
         ("guile-json" ,guile-json)
 | 
					         ("guile-json" ,guile-json)
 | 
				
			||||||
         ("guile-sqlite3" ,guile-sqlite3)
 | 
					         ("guile-sqlite3" ,guile-sqlite3)
 | 
				
			||||||
         ("guile-git" ,guile-git)
 | 
					         ("guile-git" ,guile-git)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -153,7 +153,7 @@ the @code{zlib} source.")
 | 
				
			||||||
               "0iginbz2m15hcsa3x4y7v3mhk54gr1r7m3ghx0pg4n46vv2snmpi"))))
 | 
					               "0iginbz2m15hcsa3x4y7v3mhk54gr1r7m3ghx0pg4n46vv2snmpi"))))
 | 
				
			||||||
   (build-system gnu-build-system)
 | 
					   (build-system gnu-build-system)
 | 
				
			||||||
   (inputs `(("zlib" ,zlib)))
 | 
					   (inputs `(("zlib" ,zlib)))
 | 
				
			||||||
   (home-page "http://savannah.nongnu.org/projects/fastjar")
 | 
					   (home-page "https://savannah.nongnu.org/projects/fastjar")
 | 
				
			||||||
   (synopsis "Replacement for Sun's 'jar' utility")
 | 
					   (synopsis "Replacement for Sun's 'jar' utility")
 | 
				
			||||||
   (description
 | 
					   (description
 | 
				
			||||||
    "FastJar is an attempt to create a much faster replacement for Sun's 'jar'
 | 
					    "FastJar is an attempt to create a much faster replacement for Sun's 'jar'
 | 
				
			||||||
| 
						 | 
					@ -330,7 +330,7 @@ compatible with bzip2 – both at file format and command line level.")
 | 
				
			||||||
(define-public pbzip2
 | 
					(define-public pbzip2
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "pbzip2")
 | 
					    (name "pbzip2")
 | 
				
			||||||
    (version "1.1.12")
 | 
					    (version "1.1.13")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
             (method url-fetch)
 | 
					             (method url-fetch)
 | 
				
			||||||
             (uri (string-append "https://launchpad.net/pbzip2/"
 | 
					             (uri (string-append "https://launchpad.net/pbzip2/"
 | 
				
			||||||
| 
						 | 
					@ -338,14 +338,14 @@ compatible with bzip2 – both at file format and command line level.")
 | 
				
			||||||
                                 "/+download/" name "-" version ".tar.gz"))
 | 
					                                 "/+download/" name "-" version ".tar.gz"))
 | 
				
			||||||
             (sha256
 | 
					             (sha256
 | 
				
			||||||
              (base32
 | 
					              (base32
 | 
				
			||||||
               "1vk6065dv3a47p86vmp8hv3n1ygd9hraz0gq89gvzlx7lmcb6fsp"))))
 | 
					               "1rnvgcdixjzbrmcr1nv9b6ccrjfrhryaj7jwz28yxxv6lam3xlcg"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("bzip2" ,bzip2)))
 | 
					     `(("bzip2" ,bzip2)))
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:tests? #f ; no tests
 | 
					     `(#:tests? #f                      ; no tests
 | 
				
			||||||
       #:phases (modify-phases %standard-phases
 | 
					       #:phases (modify-phases %standard-phases
 | 
				
			||||||
                  (delete 'configure))
 | 
					                  (delete 'configure))  ; no configure script
 | 
				
			||||||
       #:make-flags (list (string-append "PREFIX=" %output))))
 | 
					       #:make-flags (list (string-append "PREFIX=" %output))))
 | 
				
			||||||
    (home-page "http://compression.ca/pbzip2/")
 | 
					    (home-page "http://compression.ca/pbzip2/")
 | 
				
			||||||
    (synopsis "Parallel bzip2 implementation")
 | 
					    (synopsis "Parallel bzip2 implementation")
 | 
				
			||||||
| 
						 | 
					@ -452,7 +452,7 @@ Python strings.")
 | 
				
			||||||
(define-public lzop
 | 
					(define-public lzop
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "lzop")
 | 
					    (name "lzop")
 | 
				
			||||||
    (version "1.03")
 | 
					    (version "1.04")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
| 
						 | 
					@ -460,10 +460,10 @@ Python strings.")
 | 
				
			||||||
                           version ".tar.gz"))
 | 
					                           version ".tar.gz"))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32
 | 
					        (base32
 | 
				
			||||||
         "1jdjvc4yjndf7ihmlcsyln2rbnbaxa86q4jskmkmm7ylfy65nhn1"))))
 | 
					         "0h9gb8q7y54m9mvy3jvsmxf21yx8fc3ylzh418hgbbv0i8mbcwky"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (inputs `(("lzo" ,lzo)))
 | 
					    (inputs `(("lzo" ,lzo)))
 | 
				
			||||||
    (home-page "http://www.lzop.org/")
 | 
					    (home-page "https://www.lzop.org/")
 | 
				
			||||||
    (synopsis "Compress or expand files")
 | 
					    (synopsis "Compress or expand files")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Lzop is a file compressor which is very similar to gzip.  Lzop uses the
 | 
					     "Lzop is a file compressor which is very similar to gzip.  Lzop uses the
 | 
				
			||||||
| 
						 | 
					@ -484,7 +484,7 @@ some compression ratio).")
 | 
				
			||||||
              (base32
 | 
					              (base32
 | 
				
			||||||
               "1abbch762gv8rjr579q3qyyk6c80plklbv2mw4x0vg71dgsw9bgz"))))
 | 
					               "1abbch762gv8rjr579q3qyyk6c80plklbv2mw4x0vg71dgsw9bgz"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (home-page "http://www.nongnu.org/lzip/lzip.html")
 | 
					    (home-page "https://www.nongnu.org/lzip/lzip.html")
 | 
				
			||||||
    (synopsis "Lossless data compressor based on the LZMA algorithm")
 | 
					    (synopsis "Lossless data compressor based on the LZMA algorithm")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Lzip is a lossless data compressor with a user interface similar to the
 | 
					     "Lzip is a lossless data compressor with a user interface similar to the
 | 
				
			||||||
| 
						 | 
					@ -496,16 +496,16 @@ archiving.  Lzip is a clean implementation of the LZMA algorithm.")
 | 
				
			||||||
(define-public lziprecover
 | 
					(define-public lziprecover
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "lziprecover")
 | 
					    (name "lziprecover")
 | 
				
			||||||
    (version "1.19")
 | 
					    (version "1.20")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append "mirror://savannah/lzip/" name "/"
 | 
					              (uri (string-append "mirror://savannah/lzip/" name "/"
 | 
				
			||||||
                                  name "-" version ".tar.gz"))
 | 
					                                  name "-" version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "0z5fbkm0qprypjf7kxkqganniibj0zml13zvfkrchnjafcmmzyld"))))
 | 
					                "0fpnmdxayvd1ff0rk9606dvr431ji6b1v71km4ww244rih1rmmzz"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (home-page "http://www.nongnu.org/lzip/lziprecover.html")
 | 
					    (home-page "https://www.nongnu.org/lzip/lziprecover.html")
 | 
				
			||||||
    (synopsis "Recover and decompress data from damaged lzip files")
 | 
					    (synopsis "Recover and decompress data from damaged lzip files")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Lziprecover is a data recovery tool and decompressor for files in the lzip
 | 
					     "Lziprecover is a data recovery tool and decompressor for files in the lzip
 | 
				
			||||||
| 
						 | 
					@ -1899,7 +1899,7 @@ archive can be reverted.")
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("perl" ,perl)
 | 
					     `(("perl" ,perl)
 | 
				
			||||||
       ("file" ,file)))
 | 
					       ("file" ,file)))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/atool/")
 | 
					    (home-page "https://www.nongnu.org/atool/")
 | 
				
			||||||
    (synopsis  "Universal tool to manage file archives of various types")
 | 
					    (synopsis  "Universal tool to manage file archives of various types")
 | 
				
			||||||
    (description "The main command is @command{aunpack} which extracts files
 | 
					    (description "The main command is @command{aunpack} which extracts files
 | 
				
			||||||
from an archive.  The other commands provided are @command{apack} (to create
 | 
					from an archive.  The other commands provided are @command{apack} (to create
 | 
				
			||||||
| 
						 | 
					@ -1980,7 +1980,7 @@ algorithms in Java.")
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:configure-flags
 | 
					     `(#:configure-flags
 | 
				
			||||||
       (list "CC=gcc")))
 | 
					       (list "CC=gcc")))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/lzip/lunzip.html")
 | 
					    (home-page "https://www.nongnu.org/lzip/lunzip.html")
 | 
				
			||||||
    (synopsis "Small, stand-alone lzip decompressor")
 | 
					    (synopsis "Small, stand-alone lzip decompressor")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Lunzip is a decompressor for files in the lzip compression format (.lz),
 | 
					     "Lunzip is a decompressor for files in the lzip compression format (.lz),
 | 
				
			||||||
| 
						 | 
					@ -1995,19 +1995,19 @@ Lunzip is intended to be fully compatible with the regular lzip package.")
 | 
				
			||||||
(define-public clzip
 | 
					(define-public clzip
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "clzip")
 | 
					    (name "clzip")
 | 
				
			||||||
    (version "1.9")
 | 
					    (version "1.10")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
       (uri (string-append "mirror://savannah/lzip/"
 | 
					       (uri (string-append "mirror://savannah/lzip/"
 | 
				
			||||||
                           name "/" name "-" version ".tar.gz"))
 | 
					                           name "/" name "-" version ".tar.gz"))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32 "1brvsnpihzj81cf4wk2x5bnr2qldlq0wncpdbzxmzvxapm1cq2yc"))))
 | 
					        (base32 "03xcmhl3dya4jrwmsqh09ikimpb36fr3vkh2bwfzz1sbcns0cdg3"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:configure-flags
 | 
					     `(#:configure-flags
 | 
				
			||||||
       (list "CC=gcc")))
 | 
					       (list "CC=gcc")))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/lzip/clzip.html")
 | 
					    (home-page "https://www.nongnu.org/lzip/clzip.html")
 | 
				
			||||||
    (synopsis "Small, stand-alone lzip compressor and decompressor")
 | 
					    (synopsis "Small, stand-alone lzip compressor and decompressor")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Clzip is a compressor and decompressor for files in the lzip compression
 | 
					     "Clzip is a compressor and decompressor for files in the lzip compression
 | 
				
			||||||
| 
						 | 
					@ -2021,14 +2021,14 @@ Clzip is intended to be fully compatible with the regular lzip package.")
 | 
				
			||||||
(define-public lzlib
 | 
					(define-public lzlib
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "lzlib")
 | 
					    (name "lzlib")
 | 
				
			||||||
    (version "1.9")
 | 
					    (version "1.10")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
       (uri (string-append "mirror://savannah/lzip/"
 | 
					       (uri (string-append "mirror://savannah/lzip/"
 | 
				
			||||||
                           name "/" name "-" version ".tar.gz"))
 | 
					                           name "/" name "-" version ".tar.gz"))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32 "13mssf3hrcnmd4ijbqnxfk0zgj1q5lvpxxkm1hmrbl1h73czhwi4"))))
 | 
					        (base32 "0hqhnj2lzqacdbmmnpy91lsm1rd9zlngs1q6s9pyahsv1a0bfshx"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    ;; The included minilzip binary is only ~16 smaller than the ‘real’ lzip.
 | 
					    ;; The included minilzip binary is only ~16 smaller than the ‘real’ lzip.
 | 
				
			||||||
    ;; It's used during the test suite, but don't be tempted to install it.
 | 
					    ;; It's used during the test suite, but don't be tempted to install it.
 | 
				
			||||||
| 
						 | 
					@ -2036,7 +2036,7 @@ Clzip is intended to be fully compatible with the regular lzip package.")
 | 
				
			||||||
     `(#:configure-flags
 | 
					     `(#:configure-flags
 | 
				
			||||||
       (list "CC=gcc"
 | 
					       (list "CC=gcc"
 | 
				
			||||||
             "--enable-shared")))       ; only static (.a) is built by default
 | 
					             "--enable-shared")))       ; only static (.a) is built by default
 | 
				
			||||||
    (home-page "http://www.nongnu.org/lzip/lzlib.html")
 | 
					    (home-page "https://www.nongnu.org/lzip/lzlib.html")
 | 
				
			||||||
    (synopsis "Lzip data compression C library")
 | 
					    (synopsis "Lzip data compression C library")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Lzlib is a C library for in-memory LZMA compression and decompression in
 | 
					     "Lzlib is a C library for in-memory LZMA compression and decompression in
 | 
				
			||||||
| 
						 | 
					@ -2049,18 +2049,18 @@ corrupted input.")
 | 
				
			||||||
(define-public plzip
 | 
					(define-public plzip
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "plzip")
 | 
					    (name "plzip")
 | 
				
			||||||
    (version "1.6")
 | 
					    (version "1.7")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
       (uri (string-append "mirror://savannah/lzip/"
 | 
					       (uri (string-append "mirror://savannah/lzip/"
 | 
				
			||||||
                           name "/" name "-" version ".tar.gz"))
 | 
					                           name "/" name "-" version ".tar.gz"))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32 "0z2cs6vn4xl65wakd013xl3sdfpg8dr0cvcjwc2slh8y9bz7j7ax"))))
 | 
					        (base32 "1dzjp9r7krwpsn224bhcqbzd5aj5b4556sdi9yzl2bzbk3fjrqlm"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("lzlib" ,lzlib)))
 | 
					     `(("lzlib" ,lzlib)))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/lzip/plzip.html")
 | 
					    (home-page "https://www.nongnu.org/lzip/plzip.html")
 | 
				
			||||||
    (synopsis "Parallel lossless data compressor for the lzip format")
 | 
					    (synopsis "Parallel lossless data compressor for the lzip format")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Plzip is a massively parallel (multi-threaded) lossless data compressor
 | 
					     "Plzip is a massively parallel (multi-threaded) lossless data compressor
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -583,7 +583,7 @@ data on your platform, so the seed itself will be as random as possible.
 | 
				
			||||||
(define-public crypto++
 | 
					(define-public crypto++
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "crypto++")
 | 
					    (name "crypto++")
 | 
				
			||||||
    (version "5.6.5")
 | 
					    (version "6.0.0")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch/zipbomb)
 | 
					              (method url-fetch/zipbomb)
 | 
				
			||||||
              (uri (string-append "https://cryptopp.com/cryptopp"
 | 
					              (uri (string-append "https://cryptopp.com/cryptopp"
 | 
				
			||||||
| 
						 | 
					@ -591,9 +591,7 @@ data on your platform, so the seed itself will be as random as possible.
 | 
				
			||||||
                                  ".zip"))
 | 
					                                  ".zip"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "0d1cqdz369ivi082k59025wvxzywvkizw7i0pf5h0a1izs3g8pm7"))
 | 
					                "1nidm6xbdza5cbgf5md2zznmaq692rfyjasycwipl6rzdfwjvb34"))))
 | 
				
			||||||
              (patches
 | 
					 | 
				
			||||||
               (search-patches "crypto++-fix-dos-in-asn.1-decoders.patch"))))
 | 
					 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:make-flags
 | 
					     `(#:make-flags
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -23,7 +23,7 @@
 | 
				
			||||||
;;; Copyright © 2017 Jelle Licht <jlicht@fsfe.org>
 | 
					;;; Copyright © 2017 Jelle Licht <jlicht@fsfe.org>
 | 
				
			||||||
;;; Copyright © 2017 Adriano Peluso <catonano@gmail.com>
 | 
					;;; Copyright © 2017 Adriano Peluso <catonano@gmail.com>
 | 
				
			||||||
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 | 
					;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 | 
				
			||||||
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
					;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
				
			||||||
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
 | 
					;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
 | 
				
			||||||
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
 | 
					;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
 | 
				
			||||||
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
 | 
					;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
 | 
				
			||||||
| 
						 | 
					@ -1273,7 +1273,7 @@ columns, primary keys, unique constraints and relationships.")
 | 
				
			||||||
(define-public perl-dbd-pg
 | 
					(define-public perl-dbd-pg
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "perl-dbd-pg")
 | 
					    (name "perl-dbd-pg")
 | 
				
			||||||
    (version "3.7.0")
 | 
					    (version "3.7.4")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
| 
						 | 
					@ -1281,7 +1281,7 @@ columns, primary keys, unique constraints and relationships.")
 | 
				
			||||||
                           "DBD-Pg-" version ".tar.gz"))
 | 
					                           "DBD-Pg-" version ".tar.gz"))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32
 | 
					        (base32
 | 
				
			||||||
         "0nb4wmkhq1q9f4g42sxy1m3d0xjqd3plqkxpmzni43ygr5ch8vp3"))))
 | 
					         "0gkqlvbmzbdm0g4k328nlkjdg3wrjm5i2n9jxj1i8sqxkm79rylz"))))
 | 
				
			||||||
    (build-system perl-build-system)
 | 
					    (build-system perl-build-system)
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("perl-dbi" ,perl-dbi)))
 | 
					     `(("perl-dbi" ,perl-dbi)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -443,16 +443,16 @@ served by AS112.  Stub and forward zones are supported.")
 | 
				
			||||||
(define-public yadifa
 | 
					(define-public yadifa
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "yadifa")
 | 
					    (name "yadifa")
 | 
				
			||||||
    (version "2.3.7")
 | 
					    (version "2.3.8")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (let ((build "7543"))
 | 
					     (let ((build "7713"))
 | 
				
			||||||
       (origin
 | 
					       (origin
 | 
				
			||||||
         (method url-fetch)
 | 
					         (method url-fetch)
 | 
				
			||||||
         (uri
 | 
					         (uri
 | 
				
			||||||
          (string-append "http://cdn.yadifa.eu/sites/default/files/releases/"
 | 
					          (string-append "http://cdn.yadifa.eu/sites/default/files/releases/"
 | 
				
			||||||
                         name "-" version "-" build ".tar.gz"))
 | 
					                         name "-" version "-" build ".tar.gz"))
 | 
				
			||||||
         (sha256
 | 
					         (sha256
 | 
				
			||||||
          (base32 "0j4zj7h72ni3bbqbm1632z0vx8b9fjdrn4n1yx4yyzkpchsipwff")))))
 | 
					          (base32 "15xhzg4crjcxascwpz6y8qpqcgypzv2p9bspdskp4nx1x1y4316c")))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("which" ,which)))
 | 
					     `(("which" ,which)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -335,7 +335,7 @@ editor (without an X toolkit)" )
 | 
				
			||||||
             #t)))))
 | 
					             #t)))))
 | 
				
			||||||
    (inputs `(("guile" ,guile-2.0)))
 | 
					    (inputs `(("guile" ,guile-2.0)))
 | 
				
			||||||
    (native-inputs `(("emacs" ,emacs-minimal)))
 | 
					    (native-inputs `(("emacs" ,emacs-minimal)))
 | 
				
			||||||
    (home-page "http://nongnu.org/geiser/")
 | 
					    (home-page "https://nongnu.org/geiser/")
 | 
				
			||||||
    (synopsis "Collection of Emacs modes for Guile and Racket hacking")
 | 
					    (synopsis "Collection of Emacs modes for Guile and Racket hacking")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Geiser is a collection of Emacs major and minor modes that conspire with
 | 
					     "Geiser is a collection of Emacs major and minor modes that conspire with
 | 
				
			||||||
| 
						 | 
					@ -1027,7 +1027,7 @@ within a specified width.  It is useful for displaying long track titles.")
 | 
				
			||||||
                 (symlink "bbdb-loaddefs.el" "bbdb-autoloads.el")))
 | 
					                 (symlink "bbdb-loaddefs.el" "bbdb-autoloads.el")))
 | 
				
			||||||
             #t)))))
 | 
					             #t)))))
 | 
				
			||||||
    (native-inputs `(("emacs" ,emacs-minimal)))
 | 
					    (native-inputs `(("emacs" ,emacs-minimal)))
 | 
				
			||||||
    (home-page "http://savannah.nongnu.org/projects/bbdb/")
 | 
					    (home-page "https://savannah.nongnu.org/projects/bbdb/")
 | 
				
			||||||
    (synopsis "Contact management utility for Emacs")
 | 
					    (synopsis "Contact management utility for Emacs")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "BBDB is the Insidious Big Brother Database for GNU Emacs.  It provides
 | 
					     "BBDB is the Insidious Big Brother Database for GNU Emacs.  It provides
 | 
				
			||||||
| 
						 | 
					@ -4633,7 +4633,7 @@ extensibility.")
 | 
				
			||||||
    ;; With `guix lint' the home-page URI returns a small page saying
 | 
					    ;; With `guix lint' the home-page URI returns a small page saying
 | 
				
			||||||
    ;; that your browser does not handle frames. This triggers the "URI
 | 
					    ;; that your browser does not handle frames. This triggers the "URI
 | 
				
			||||||
    ;; returns suspiciously small file" warning.
 | 
					    ;; returns suspiciously small file" warning.
 | 
				
			||||||
    (home-page "http://www.nongnu.org/m17n/")
 | 
					    (home-page "https://www.nongnu.org/m17n/")
 | 
				
			||||||
    (synopsis "Multilingual text processing library (database)")
 | 
					    (synopsis "Multilingual text processing library (database)")
 | 
				
			||||||
    (description "The m17n library realizes multilingualization of
 | 
					    (description "The m17n library realizes multilingualization of
 | 
				
			||||||
many aspects of applications.  The m17n library represents
 | 
					many aspects of applications.  The m17n library represents
 | 
				
			||||||
| 
						 | 
					@ -4669,7 +4669,7 @@ This package contains the library database.")
 | 
				
			||||||
    ;; With `guix lint' the home-page URI returns a small page saying
 | 
					    ;; With `guix lint' the home-page URI returns a small page saying
 | 
				
			||||||
    ;; that your browser does not handle frames. This triggers the "URI
 | 
					    ;; that your browser does not handle frames. This triggers the "URI
 | 
				
			||||||
    ;; returns suspiciously small file" warning.
 | 
					    ;; returns suspiciously small file" warning.
 | 
				
			||||||
    (home-page "http://www.nongnu.org/m17n/")
 | 
					    (home-page "https://www.nongnu.org/m17n/")
 | 
				
			||||||
    (synopsis "Multilingual text processing library (runtime)")
 | 
					    (synopsis "Multilingual text processing library (runtime)")
 | 
				
			||||||
    (description "The m17n library realizes multilingualization of
 | 
					    (description "The m17n library realizes multilingualization of
 | 
				
			||||||
many aspects of applications.  The m17n library represents
 | 
					many aspects of applications.  The m17n library represents
 | 
				
			||||||
| 
						 | 
					@ -7059,3 +7059,91 @@ navigation with the grails mode.")
 | 
				
			||||||
@code{org-tree-slide-mode} to enter the slideshow mode, and then @kbd{C->} and
 | 
					@code{org-tree-slide-mode} to enter the slideshow mode, and then @kbd{C->} and
 | 
				
			||||||
@kbd{C-<} to jump to the next and previous slide.")
 | 
					@kbd{C-<} to jump to the next and previous slide.")
 | 
				
			||||||
      (license license:gpl3+))))
 | 
					      (license license:gpl3+))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public emacs-scratch-el
 | 
				
			||||||
 | 
					  (let ((commit "2cdf2b841ce7a0987093f65b0cc431947549f897")
 | 
				
			||||||
 | 
					        (revision "1"))
 | 
				
			||||||
 | 
					    (package
 | 
				
			||||||
 | 
					      (name "emacs-scratch-el")
 | 
				
			||||||
 | 
					      (version (git-version "1.2" revision commit))
 | 
				
			||||||
 | 
					      (source (origin
 | 
				
			||||||
 | 
					                (method git-fetch)
 | 
				
			||||||
 | 
					                (uri (git-reference
 | 
				
			||||||
 | 
					                      (url "https://github.com/ieure/scratch-el.git")
 | 
				
			||||||
 | 
					                      (commit commit)))
 | 
				
			||||||
 | 
					                (file-name (git-file-name name version))
 | 
				
			||||||
 | 
					                (sha256
 | 
				
			||||||
 | 
					                 (base32
 | 
				
			||||||
 | 
					                  "0wscsndynjmnliajqaz28r1ww81j8wh84zwaaswx51abhwgl0idf"))))
 | 
				
			||||||
 | 
					      (build-system emacs-build-system)
 | 
				
			||||||
 | 
					      (native-inputs
 | 
				
			||||||
 | 
					       `(("texinfo" ,texinfo)))
 | 
				
			||||||
 | 
					      (arguments
 | 
				
			||||||
 | 
					       '(#:phases
 | 
				
			||||||
 | 
					         (modify-phases %standard-phases
 | 
				
			||||||
 | 
					           (add-after 'install 'install-doc
 | 
				
			||||||
 | 
					             (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
 | 
					               (unless (invoke "makeinfo" "scratch.texi")
 | 
				
			||||||
 | 
					                 (error "makeinfo failed"))
 | 
				
			||||||
 | 
					               (install-file "scratch.info"
 | 
				
			||||||
 | 
					                             (string-append (assoc-ref outputs "out")
 | 
				
			||||||
 | 
					                                            "/share/info"))
 | 
				
			||||||
 | 
					               #t)))))
 | 
				
			||||||
 | 
					      (home-page "https://github.com/ieure/scratch-el/")
 | 
				
			||||||
 | 
					      (synopsis "Create scratch buffers with the same mode as current buffer")
 | 
				
			||||||
 | 
					      (description "Scratch is an extension to Emacs that enables one to create
 | 
				
			||||||
 | 
					scratch buffers that are in the same mode as the current buffer.  This is
 | 
				
			||||||
 | 
					notably useful when working on code in some language; you may grab code into a
 | 
				
			||||||
 | 
					scratch buffer, and, by virtue of this extension, do so using the Emacs
 | 
				
			||||||
 | 
					formatting rules for that language.")
 | 
				
			||||||
 | 
					      (license license:bsd-2))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public epipe
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "epipe")
 | 
				
			||||||
 | 
					    (version "0.1.0")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (string-append "https://github.com/cute-jumper/epipe/archive/"
 | 
				
			||||||
 | 
					                           version ".tar.gz"))
 | 
				
			||||||
 | 
					       (file-name (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32
 | 
				
			||||||
 | 
					         "05a036852g4j63k1mhvyfrcsgkl9lczayi7x61570ysw3cli5wp5"))))
 | 
				
			||||||
 | 
					    (build-system trivial-build-system)
 | 
				
			||||||
 | 
					    (inputs
 | 
				
			||||||
 | 
					     `(("bash" ,bash)
 | 
				
			||||||
 | 
					       ("perl" ,perl)))
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     `(("tar" ,tar)
 | 
				
			||||||
 | 
					       ("gzip" ,gzip)))
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:modules
 | 
				
			||||||
 | 
					       ((guix build utils))
 | 
				
			||||||
 | 
					       #:builder
 | 
				
			||||||
 | 
					       (begin
 | 
				
			||||||
 | 
					         (use-modules (guix build utils))
 | 
				
			||||||
 | 
					         ;; Extract source
 | 
				
			||||||
 | 
					         (setenv "PATH" (string-append
 | 
				
			||||||
 | 
					                         (assoc-ref %build-inputs "tar") "/bin" ":"
 | 
				
			||||||
 | 
					                         (assoc-ref %build-inputs "gzip") "/bin"))
 | 
				
			||||||
 | 
					         (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
 | 
				
			||||||
 | 
					         (chdir (string-append ,name "-" ,version))
 | 
				
			||||||
 | 
					         ;; Patch shebangs
 | 
				
			||||||
 | 
					         (substitute* "epipe"
 | 
				
			||||||
 | 
					           (("/usr/bin/env bash")
 | 
				
			||||||
 | 
					            (string-append (assoc-ref %build-inputs "bash") "/bin/bash")))
 | 
				
			||||||
 | 
					         (patch-shebang "epipe.pl"
 | 
				
			||||||
 | 
					                        (list (string-append (assoc-ref %build-inputs "perl")
 | 
				
			||||||
 | 
					                                             "/bin")))
 | 
				
			||||||
 | 
					         ;; Installation
 | 
				
			||||||
 | 
					         (for-each (lambda (file)
 | 
				
			||||||
 | 
					                     (install-file file (string-append %output "/bin")))
 | 
				
			||||||
 | 
					                   '("epipe" "epipe.pl"))
 | 
				
			||||||
 | 
					         #t)))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/cute-jumper/epipe")
 | 
				
			||||||
 | 
					    (synopsis "Pipe to the @code{emacsclient}")
 | 
				
			||||||
 | 
					    (description "@code{epipe} provides an utility to use your editor in
 | 
				
			||||||
 | 
					the pipeline, featuring the support for running @code{emacsclient}.")
 | 
				
			||||||
 | 
					    (license license:gpl3+)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,6 +2,7 @@
 | 
				
			||||||
;;; Copyright © 2016 Steve Sprang <scs@stevesprang.com>
 | 
					;;; Copyright © 2016 Steve Sprang <scs@stevesprang.com>
 | 
				
			||||||
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
 | 
					;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
 | 
				
			||||||
;;; Copyright © 2016, 2017 Pjotr Prins <pjotr.guix@thebird.nl>
 | 
					;;; Copyright © 2016, 2017 Pjotr Prins <pjotr.guix@thebird.nl>
 | 
				
			||||||
 | 
					;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -36,7 +37,7 @@
 | 
				
			||||||
(define-public erlang
 | 
					(define-public erlang
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "erlang")
 | 
					    (name "erlang")
 | 
				
			||||||
    (version "20.1.7")
 | 
					    (version "20.2.3")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              ;; The tarball from http://erlang.org/download contains many
 | 
					              ;; The tarball from http://erlang.org/download contains many
 | 
				
			||||||
| 
						 | 
					@ -47,7 +48,7 @@
 | 
				
			||||||
              (file-name (string-append name "-" version ".tar.gz"))
 | 
					              (file-name (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "00pmngdyh1h088anmx6fbk085i93ajgk92rz7qsyhfc0lx0sm0a9"))
 | 
					                "0s9g4ijdbqq21k4cqggz074d3fiimah942qisv2kgizhlivpw2nm"))
 | 
				
			||||||
              (patches (search-patches "erlang-man-path.patch"))))
 | 
					              (patches (search-patches "erlang-man-path.patch"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
| 
						 | 
					@ -63,7 +64,7 @@
 | 
				
			||||||
                               (version-major+minor version) ".tar.gz"))
 | 
					                               (version-major+minor version) ".tar.gz"))
 | 
				
			||||||
           (sha256
 | 
					           (sha256
 | 
				
			||||||
            (base32
 | 
					            (base32
 | 
				
			||||||
             "0ikvdpn4z7az6szg176l1r2yxhgs3msa3wgb3gmy45jkz0pzik05"))))))
 | 
					             "1pyb8wbk7znsyni8d1k4dj1m01lr191dcrrzisli1z27ks7hh3lm"))))))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("ncurses" ,ncurses)
 | 
					     `(("ncurses" ,ncurses)
 | 
				
			||||||
       ("openssl" ,openssl)
 | 
					       ("openssl" ,openssl)
 | 
				
			||||||
| 
						 | 
					@ -94,9 +95,9 @@
 | 
				
			||||||
         (add-after 'unpack 'remove-timestamps
 | 
					         (add-after 'unpack 'remove-timestamps
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (let ((source-date-epoch
 | 
					             (let ((source-date-epoch
 | 
				
			||||||
                     (time-utc->date
 | 
					                    (time-utc->date
 | 
				
			||||||
                       (make-time time-utc 0 (string->number
 | 
					                     (make-time time-utc 0 (string->number
 | 
				
			||||||
                                               (getenv "SOURCE_DATE_EPOCH"))))))
 | 
					                                            (getenv "SOURCE_DATE_EPOCH"))))))
 | 
				
			||||||
               (substitute* "lib/reltool/src/reltool_target.erl"
 | 
					               (substitute* "lib/reltool/src/reltool_target.erl"
 | 
				
			||||||
                 (("Date = date\\(\\),")
 | 
					                 (("Date = date\\(\\),")
 | 
				
			||||||
                  (string-append "Date = "
 | 
					                  (string-append "Date = "
 | 
				
			||||||
| 
						 | 
					@ -115,8 +116,8 @@
 | 
				
			||||||
               (substitute* "lib/dialyzer/test/small_SUITE_data/src/gs_make.erl"
 | 
					               (substitute* "lib/dialyzer/test/small_SUITE_data/src/gs_make.erl"
 | 
				
			||||||
                 (("tuple_to_list\\(date\\(\\)\\),tuple_to_list\\(time\\(\\)\\)")
 | 
					                 (("tuple_to_list\\(date\\(\\)\\),tuple_to_list\\(time\\(\\)\\)")
 | 
				
			||||||
                  (date->string
 | 
					                  (date->string
 | 
				
			||||||
                    source-date-epoch
 | 
					                   source-date-epoch
 | 
				
			||||||
                    "tuple_to_list({~Y,~m,~d}), tuple_to_list({~H,~M,~S})")))
 | 
					                   "tuple_to_list({~Y,~m,~d}), tuple_to_list({~H,~M,~S})")))
 | 
				
			||||||
               (substitute* "lib/snmp/src/compile/snmpc_mib_to_hrl.erl"
 | 
					               (substitute* "lib/snmp/src/compile/snmpc_mib_to_hrl.erl"
 | 
				
			||||||
                 (("\\{Y,Mo,D\\} = date\\(\\),")
 | 
					                 (("\\{Y,Mo,D\\} = date\\(\\),")
 | 
				
			||||||
                  (date->string source-date-epoch
 | 
					                  (date->string source-date-epoch
 | 
				
			||||||
| 
						 | 
					@ -124,7 +125,8 @@
 | 
				
			||||||
               (substitute* "lib/snmp/src/compile/snmpc_mib_to_hrl.erl"
 | 
					               (substitute* "lib/snmp/src/compile/snmpc_mib_to_hrl.erl"
 | 
				
			||||||
                 (("\\{H,Mi,S\\} = time\\(\\),")
 | 
					                 (("\\{H,Mi,S\\} = time\\(\\),")
 | 
				
			||||||
                  (date->string source-date-epoch
 | 
					                  (date->string source-date-epoch
 | 
				
			||||||
                                "{H,Mi,S} = {~H,~M,~S},"))))))
 | 
					                                "{H,Mi,S} = {~H,~M,~S},")))
 | 
				
			||||||
 | 
					               #t)))
 | 
				
			||||||
         (add-after 'patch-source-shebangs 'patch-source-env
 | 
					         (add-after 'patch-source-shebangs 'patch-source-env
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (let ((escripts
 | 
					             (let ((escripts
 | 
				
			||||||
| 
						 | 
					@ -140,31 +142,37 @@
 | 
				
			||||||
                       "make/verify_runtime_dependencies"
 | 
					                       "make/verify_runtime_dependencies"
 | 
				
			||||||
                       "make/emd2exml.in"))))
 | 
					                       "make/emd2exml.in"))))
 | 
				
			||||||
               (substitute* escripts
 | 
					               (substitute* escripts
 | 
				
			||||||
                 (("/usr/bin/env") (which "env"))))))
 | 
					                 (("/usr/bin/env") (which "env")))
 | 
				
			||||||
 | 
					               #t)))
 | 
				
			||||||
         (add-before 'configure 'set-erl-top
 | 
					         (add-before 'configure 'set-erl-top
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (setenv "ERL_TOP" (getcwd))))
 | 
					             (setenv "ERL_TOP" (getcwd))
 | 
				
			||||||
 | 
					             #t))
 | 
				
			||||||
         (add-after 'patch-source-env 'autoconf
 | 
					         (add-after 'patch-source-env 'autoconf
 | 
				
			||||||
           (lambda _ (zero? (system* "./otp_build" "autoconf"))))
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (invoke "./otp_build" "autoconf")
 | 
				
			||||||
 | 
					             #t))
 | 
				
			||||||
         (add-after 'install 'patch-erl
 | 
					         (add-after 'install 'patch-erl
 | 
				
			||||||
           ;; This only works after install.
 | 
					           ;; This only works after install.
 | 
				
			||||||
           (lambda _
 | 
					           (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
             (substitute* (string-append (assoc-ref %outputs "out") "/bin/erl")
 | 
					             (let* ((out (assoc-ref outputs "out")))
 | 
				
			||||||
               (("sed") (which "sed")))))
 | 
					               (substitute* (string-append out "/bin/erl")
 | 
				
			||||||
 | 
					                 (("sed") (which "sed")))
 | 
				
			||||||
 | 
					               #t)))
 | 
				
			||||||
         (add-after 'install 'install-doc
 | 
					         (add-after 'install 'install-doc
 | 
				
			||||||
           (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
				
			||||||
             (let* ((out (assoc-ref outputs "out"))
 | 
					             (let* ((out (assoc-ref outputs "out"))
 | 
				
			||||||
                    (manpages (assoc-ref inputs "erlang-manpages"))
 | 
					                    (manpages (assoc-ref inputs "erlang-manpages"))
 | 
				
			||||||
                    (share (string-append out "/share/")))
 | 
					                    (share (string-append out "/share/")))
 | 
				
			||||||
             (mkdir-p share)
 | 
					               (mkdir-p share)
 | 
				
			||||||
             (mkdir-p (string-append share "/misc/erlang"))
 | 
					               (mkdir-p (string-append share "/misc/erlang"))
 | 
				
			||||||
             (with-directory-excursion share
 | 
					               (with-directory-excursion share
 | 
				
			||||||
               (and
 | 
					                 (invoke "tar" "xvf" manpages)
 | 
				
			||||||
                 (zero? (system* "tar" "xvf" manpages))
 | 
					 | 
				
			||||||
                 (rename-file "COPYRIGHT"
 | 
					                 (rename-file "COPYRIGHT"
 | 
				
			||||||
                              (string-append share "/misc/erlang/COPYRIGHT"))
 | 
					                              (string-append share "/misc/erlang/COPYRIGHT"))
 | 
				
			||||||
                 ;; Delete superfluous file.
 | 
					                 ;; Delete superfluous file.
 | 
				
			||||||
                 (delete-file "PR.template")))))))))
 | 
					                 (delete-file "PR.template"))
 | 
				
			||||||
 | 
					               #t))))))
 | 
				
			||||||
    (home-page "http://erlang.org/")
 | 
					    (home-page "http://erlang.org/")
 | 
				
			||||||
    (synopsis "The Erlang programming language")
 | 
					    (synopsis "The Erlang programming language")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,10 +31,12 @@
 | 
				
			||||||
  #:use-module (gnu packages)
 | 
					  #:use-module (gnu packages)
 | 
				
			||||||
  #:use-module (guix build-system cmake)
 | 
					  #:use-module (guix build-system cmake)
 | 
				
			||||||
  #:use-module (guix build-system gnu)
 | 
					  #:use-module (guix build-system gnu)
 | 
				
			||||||
 | 
					  #:use-module (guix build-system python)
 | 
				
			||||||
  #:use-module (gnu packages bison)
 | 
					  #:use-module (gnu packages bison)
 | 
				
			||||||
  #:use-module (gnu packages compression)
 | 
					  #:use-module (gnu packages compression)
 | 
				
			||||||
  #:use-module (gnu packages flex)
 | 
					  #:use-module (gnu packages flex)
 | 
				
			||||||
  #:use-module (gnu packages elf)
 | 
					  #:use-module (gnu packages elf)
 | 
				
			||||||
 | 
					  #:use-module (gnu packages pciutils)
 | 
				
			||||||
  #:use-module (gnu packages pkg-config)
 | 
					  #:use-module (gnu packages pkg-config)
 | 
				
			||||||
  #:use-module (gnu packages libusb)
 | 
					  #:use-module (gnu packages libusb)
 | 
				
			||||||
  #:use-module (gnu packages libftdi)
 | 
					  #:use-module (gnu packages libftdi)
 | 
				
			||||||
| 
						 | 
					@ -138,7 +140,7 @@ brick your device.")
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("bison" ,bison)
 | 
					     `(("bison" ,bison)
 | 
				
			||||||
       ("flex" ,flex)))
 | 
					       ("flex" ,flex)))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/avrdude/")
 | 
					    (home-page "https://www.nongnu.org/avrdude/")
 | 
				
			||||||
    (synopsis "AVR downloader and uploader")
 | 
					    (synopsis "AVR downloader and uploader")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "AVRDUDE is a utility to download/upload/manipulate the ROM and
 | 
					     "AVRDUDE is a utility to download/upload/manipulate the ROM and
 | 
				
			||||||
| 
						 | 
					@ -330,3 +332,105 @@ USB and interacts with low-level software running on the device, known as Loke.
 | 
				
			||||||
Loke and Heimdall communicate via the custom Samsung-developed protocol typically
 | 
					Loke and Heimdall communicate via the custom Samsung-developed protocol typically
 | 
				
			||||||
referred to as the \"Odin 3 protocol\".")
 | 
					referred to as the \"Odin 3 protocol\".")
 | 
				
			||||||
    (license license:expat)))
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public ifdtool
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "ifdtool")
 | 
				
			||||||
 | 
					    (version "4.7")
 | 
				
			||||||
 | 
					    (source (origin
 | 
				
			||||||
 | 
					              (method git-fetch)
 | 
				
			||||||
 | 
					              (uri (git-reference
 | 
				
			||||||
 | 
					                    (url "https://review.coreboot.org/p/coreboot")
 | 
				
			||||||
 | 
					                    (commit version)))
 | 
				
			||||||
 | 
					              (file-name (git-file-name name version))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32
 | 
				
			||||||
 | 
					                "0nw555i0fm5kljha9h47bk70ykbwv8ddfk6qhz6kfqb79vzhy4h2"))))
 | 
				
			||||||
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:make-flags
 | 
				
			||||||
 | 
					       (list "CC=gcc"
 | 
				
			||||||
 | 
					             "INSTALL=install"
 | 
				
			||||||
 | 
					             (string-append "PREFIX=" (assoc-ref %outputs "out")))
 | 
				
			||||||
 | 
					       #:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					        (add-after 'unpack 'chdir
 | 
				
			||||||
 | 
					          (lambda _
 | 
				
			||||||
 | 
					            (chdir "util/ifdtool")
 | 
				
			||||||
 | 
					            #t))
 | 
				
			||||||
 | 
					        (delete 'configure)
 | 
				
			||||||
 | 
					        (delete 'check))))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/corna/me_cleaner/")
 | 
				
			||||||
 | 
					    (synopsis "Intel Firmware Descriptor dumper")
 | 
				
			||||||
 | 
					    (description "This package provides @command{ifdtool}, a program to
 | 
				
			||||||
 | 
					dump Intel Firmware Descriptor data of an image file.")
 | 
				
			||||||
 | 
					    (license license:gpl2)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public intelmetool
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "intelmetool")
 | 
				
			||||||
 | 
					    (version "4.7")
 | 
				
			||||||
 | 
					    (source (origin
 | 
				
			||||||
 | 
					              (method git-fetch)
 | 
				
			||||||
 | 
					              (uri (git-reference
 | 
				
			||||||
 | 
					                    (url "https://review.coreboot.org/p/coreboot")
 | 
				
			||||||
 | 
					                    (commit version)))
 | 
				
			||||||
 | 
					              (file-name (git-file-name name version))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32
 | 
				
			||||||
 | 
					                "0nw555i0fm5kljha9h47bk70ykbwv8ddfk6qhz6kfqb79vzhy4h2"))))
 | 
				
			||||||
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
 | 
					    (inputs
 | 
				
			||||||
 | 
					     `(("pciutils" ,pciutils)
 | 
				
			||||||
 | 
					       ("zlib" ,zlib)))
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:make-flags
 | 
				
			||||||
 | 
					       (list "CC=gcc"
 | 
				
			||||||
 | 
					             "INSTALL=install"
 | 
				
			||||||
 | 
					             (string-append "PREFIX=" (assoc-ref %outputs "out")))
 | 
				
			||||||
 | 
					       #:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					        (add-after 'unpack 'chdir
 | 
				
			||||||
 | 
					          (lambda _
 | 
				
			||||||
 | 
					            (chdir "util/intelmetool")
 | 
				
			||||||
 | 
					            #t))
 | 
				
			||||||
 | 
					        (delete 'configure)
 | 
				
			||||||
 | 
					        (delete 'check))))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/zamaudio/intelmetool")
 | 
				
			||||||
 | 
					    (synopsis "Intel Management Engine tools")
 | 
				
			||||||
 | 
					    (description "This package provides tools for working with Intel
 | 
				
			||||||
 | 
					Management Engine (ME).  You need to @code{sudo rmmod mei_me} and
 | 
				
			||||||
 | 
					@code{sudo rmmod mei} before using this tool.  Also pass
 | 
				
			||||||
 | 
					@code{iomem=relaxed} to the Linux kernel command line.")
 | 
				
			||||||
 | 
					    (license license:gpl2)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public me-cleaner
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "me-cleaner")
 | 
				
			||||||
 | 
					    (version "1.1")
 | 
				
			||||||
 | 
					    (source (origin
 | 
				
			||||||
 | 
					              (method url-fetch)
 | 
				
			||||||
 | 
					              (uri (string-append "https://github.com/corna/me_cleaner/"
 | 
				
			||||||
 | 
					                                  "archive/v" version ".tar.gz"))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32
 | 
				
			||||||
 | 
					                "1pgwdqy0jly80nhxmlmyibs343497yjzs6dwfbkcw0l1gjm8i5hw"))
 | 
				
			||||||
 | 
					              (file-name (string-append name "-" version ".tar.gz"))))
 | 
				
			||||||
 | 
					    (build-system python-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					 (add-after 'unpack 'create-setup.py
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (call-with-output-file "setup.py"
 | 
				
			||||||
 | 
					               (lambda (port)
 | 
				
			||||||
 | 
					                 (format port "\
 | 
				
			||||||
 | 
					from setuptools import setup
 | 
				
			||||||
 | 
					setup(name='me_cleaner', version='~a', scripts=['me_cleaner.py'])
 | 
				
			||||||
 | 
					" ,version)))
 | 
				
			||||||
 | 
					             #t)))))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/corna/me_cleaner")
 | 
				
			||||||
 | 
					    (synopsis "Intel ME cleaner")
 | 
				
			||||||
 | 
					    (description "This package provides tools for disabling Intel
 | 
				
			||||||
 | 
					ME as far as possible (it only edits ME firmware image files).")
 | 
				
			||||||
 | 
					    (license license:gpl3+)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -441,7 +441,7 @@ resolution.")
 | 
				
			||||||
     `(("pkg-config" ,pkg-config)))
 | 
					     `(("pkg-config" ,pkg-config)))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     `(("freetype" ,freetype)))
 | 
					     `(("freetype" ,freetype)))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/m17n/")
 | 
					    (home-page "https://www.nongnu.org/m17n/")
 | 
				
			||||||
    (synopsis "Library for handling OpenType Font")
 | 
					    (synopsis "Library for handling OpenType Font")
 | 
				
			||||||
    (description "This library can read Open Type Layout Tables from an OTF
 | 
					    (description "This library can read Open Type Layout Tables from an OTF
 | 
				
			||||||
file.  Currently these tables are supported; head, name, cmap, GDEF, GSUB, and
 | 
					file.  Currently these tables are supported; head, name, cmap, GDEF, GSUB, and
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -240,7 +240,7 @@ PCM data.")
 | 
				
			||||||
              ("ncurses" ,ncurses)
 | 
					              ("ncurses" ,ncurses)
 | 
				
			||||||
              ("sdl" ,sdl)
 | 
					              ("sdl" ,sdl)
 | 
				
			||||||
              ("zlib" ,zlib)))
 | 
					              ("zlib" ,zlib)))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/gzochi/")
 | 
					    (home-page "https://www.nongnu.org/gzochi/")
 | 
				
			||||||
    (synopsis "Scalable middleware for multiplayer games")
 | 
					    (synopsis "Scalable middleware for multiplayer games")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "gzochi is a framework for developing massively multiplayer online games.
 | 
					     "gzochi is a framework for developing massively multiplayer online games.
 | 
				
			||||||
| 
						 | 
					@ -386,7 +386,7 @@ support.")
 | 
				
			||||||
(define-public tiled
 | 
					(define-public tiled
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "tiled")
 | 
					    (name "tiled")
 | 
				
			||||||
    (version "1.1.1")
 | 
					    (version "1.1.2")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append "https://github.com/bjorn/tiled/archive/v"
 | 
					              (uri (string-append "https://github.com/bjorn/tiled/archive/v"
 | 
				
			||||||
| 
						 | 
					@ -394,7 +394,7 @@ support.")
 | 
				
			||||||
              (file-name (string-append name "-" version ".tar.gz"))
 | 
					              (file-name (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "102vw13iw1kbjj6h2sm8gl1jfvmqgq0zddd6hdmqagza5b6w32k3"))))
 | 
					                "0l4wc10d10fi0a5spbi318kjfzlizmycpr4wwlq04sk3b5kra0w0"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("qtbase" ,qtbase)
 | 
					     `(("qtbase" ,qtbase)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4726,7 +4726,7 @@ The Flag.  You can even design your own maps!")
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("pkg-config" ,pkg-config)
 | 
					     `(("pkg-config" ,pkg-config)
 | 
				
			||||||
       ("imagemagick" ,imagemagick)))
 | 
					       ("imagemagick" ,imagemagick)))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/enigma")
 | 
					    (home-page "https://www.nongnu.org/enigma")
 | 
				
			||||||
    (synopsis "Puzzle game with a dexterity component")
 | 
					    (synopsis "Puzzle game with a dexterity component")
 | 
				
			||||||
    (description "Enigma is a puzzle game with 550 unique levels.  The object
 | 
					    (description "Enigma is a puzzle game with 550 unique levels.  The object
 | 
				
			||||||
of the game is to find and uncover pairs of identically colored ‘Oxyd’ stones.
 | 
					of the game is to find and uncover pairs of identically colored ‘Oxyd’ stones.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,7 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
 | 
					;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
 | 
				
			||||||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 | 
					;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 | 
				
			||||||
 | 
					;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -30,7 +31,7 @@
 | 
				
			||||||
(define-public gkrellm
 | 
					(define-public gkrellm
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "gkrellm")
 | 
					    (name "gkrellm")
 | 
				
			||||||
    (version "2.3.5")
 | 
					    (version "2.3.10")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
      (method url-fetch)
 | 
					      (method url-fetch)
 | 
				
			||||||
| 
						 | 
					@ -38,7 +39,7 @@
 | 
				
			||||||
                          version ".tar.bz2"))
 | 
					                          version ".tar.bz2"))
 | 
				
			||||||
      (sha256
 | 
					      (sha256
 | 
				
			||||||
       (base32
 | 
					       (base32
 | 
				
			||||||
        "12rc6zaa7kb60b9744lbrlfkxxfniprm6x0mispv63h4kh75navh"))))
 | 
					        "0rnpzjr0ys0ypm078y63q4aplcgdr5nshjzhmz330n6dmnxci7lb"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("gettext" ,gettext-minimal)
 | 
					     `(("gettext" ,gettext-minimal)
 | 
				
			||||||
| 
						 | 
					@ -48,13 +49,14 @@
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("pkg-config" ,pkg-config)))
 | 
					     `(("pkg-config" ,pkg-config)))
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:tests? #f ; there is no check target
 | 
					     `(#:tests? #f                      ; there is no check target
 | 
				
			||||||
       #:phases (modify-phases %standard-phases (delete 'configure))
 | 
					       #:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (delete 'configure))           ; no configure script
 | 
				
			||||||
       #:make-flags
 | 
					       #:make-flags
 | 
				
			||||||
       (let ((out (assoc-ref %outputs "out")))
 | 
					       (let ((out (assoc-ref %outputs "out")))
 | 
				
			||||||
         (list (string-append "INSTALLROOT=" out)
 | 
					         (list (string-append "INSTALLROOT=" out)
 | 
				
			||||||
               "CC=gcc"
 | 
					               "CC=gcc"))))
 | 
				
			||||||
               "X11_LIBS = -lX11 -lSM -lICE -lgmodule-2.0"))))
 | 
					 | 
				
			||||||
    (home-page "http://gkrellm.srcbox.net/")
 | 
					    (home-page "http://gkrellm.srcbox.net/")
 | 
				
			||||||
    (synopsis "System monitors")
 | 
					    (synopsis "System monitors")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,7 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
 | 
					;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
 | 
				
			||||||
 | 
					;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -101,7 +102,8 @@ to easily create cross-compiled binaries.")
 | 
				
			||||||
               ;; The path to wmsetbg in Guix requires 67 extra characters.
 | 
					               ;; The path to wmsetbg in Guix requires 67 extra characters.
 | 
				
			||||||
               (substitute* "src/defaults.c"
 | 
					               (substitute* "src/defaults.c"
 | 
				
			||||||
                 (("len = strlen\\(text\\) \\+ 40;")
 | 
					                 (("len = strlen\\(text\\) \\+ 40;")
 | 
				
			||||||
                  (string-append "len = strlen(text) + 107;"))))))
 | 
					                  (string-append "len = strlen(text) + 107;")))
 | 
				
			||||||
 | 
					               #t)))
 | 
				
			||||||
         (add-after 'install 'install-xsession
 | 
					         (add-after 'install 'install-xsession
 | 
				
			||||||
           (lambda* (#:key outputs #:allow-other-keys)
 | 
					           (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
             (let* ((out (assoc-ref outputs "out"))
 | 
					             (let* ((out (assoc-ref outputs "out"))
 | 
				
			||||||
| 
						 | 
					@ -119,7 +121,7 @@ to easily create cross-compiled binaries.")
 | 
				
			||||||
                          (string-map (match-lambda
 | 
					                          (string-map (match-lambda
 | 
				
			||||||
                                        (#\newline #\space)
 | 
					                                        (#\newline #\space)
 | 
				
			||||||
                                        (chr chr))
 | 
					                                        (chr chr))
 | 
				
			||||||
                                      ,synopsis) %output))))
 | 
					                                      ,synopsis) out))))
 | 
				
			||||||
             #t))
 | 
					             #t))
 | 
				
			||||||
         (add-after 'install-xsession 'wrap
 | 
					         (add-after 'install-xsession 'wrap
 | 
				
			||||||
            (lambda* (#:key outputs #:allow-other-keys)
 | 
					            (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
| 
						 | 
					@ -128,7 +130,8 @@ to easily create cross-compiled binaries.")
 | 
				
			||||||
                ;; In turn, 'wmaker.inst' wants to invoke 'wmmenugen'
 | 
					                ;; In turn, 'wmaker.inst' wants to invoke 'wmmenugen'
 | 
				
			||||||
                ;; etc., so make sure everything is in $PATH.
 | 
					                ;; etc., so make sure everything is in $PATH.
 | 
				
			||||||
                (wrap-program (string-append bin "/wmaker.inst")
 | 
					                (wrap-program (string-append bin "/wmaker.inst")
 | 
				
			||||||
                  `("PATH" ":" prefix (,bin)))))))))
 | 
					                  `("PATH" ":" prefix (,bin)))
 | 
				
			||||||
 | 
					                #t))))))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("libxmu" ,libxmu)
 | 
					     `(("libxmu" ,libxmu)
 | 
				
			||||||
       ("libxft" ,libxft)
 | 
					       ("libxft" ,libxft)
 | 
				
			||||||
| 
						 | 
					@ -154,7 +157,7 @@ interface.  It is fast, feature rich, easy to configure, and easy to use.")
 | 
				
			||||||
(define-public wmbattery
 | 
					(define-public wmbattery
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "wmbattery")
 | 
					    (name "wmbattery")
 | 
				
			||||||
    (version "2.50")
 | 
					    (version "2.51")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append
 | 
					              (uri (string-append
 | 
				
			||||||
| 
						 | 
					@ -162,22 +165,16 @@ interface.  It is fast, feature rich, easy to configure, and easy to use.")
 | 
				
			||||||
                    version ".orig.tar.gz"))
 | 
					                    version ".orig.tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "0hi6bivv3xd2k68w08krndfl68wdx7nmc2wjzsmcd4q3qgwgyk44"))
 | 
					                "084a3irxbmgms4bqaga80mlx9wgvlkx6d2w0ns939yrpfzg87laj"))))
 | 
				
			||||||
              (modules '((guix build utils)))
 | 
					 | 
				
			||||||
              (snippet
 | 
					 | 
				
			||||||
               ;; Fix memory leak:
 | 
					 | 
				
			||||||
               ;; <https://lists.gnu.org/archive/html/guix-devel/2016-05/msg00466.html>.
 | 
					 | 
				
			||||||
               '(substitute* "upower.c"
 | 
					 | 
				
			||||||
                  (("up = up_client_new\\(\\);")
 | 
					 | 
				
			||||||
                   (string-append "if (!up)\n"
 | 
					 | 
				
			||||||
                                  "                up = up_client_new();"))))))
 | 
					 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:tests? #f              ; no "check" target
 | 
					     `(#:tests? #f              ; no "check" target
 | 
				
			||||||
       #:phases
 | 
					       #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (add-after 'unpack 'autoconf
 | 
					         (add-after 'unpack 'autoconf
 | 
				
			||||||
           (lambda _ (zero? (system* "autoreconf" "-vfi")))))))
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (invoke "autoreconf" "-vfi")
 | 
				
			||||||
 | 
					             #t)))))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("glib" ,glib)
 | 
					     `(("glib" ,glib)
 | 
				
			||||||
       ("libx11" ,libx11)
 | 
					       ("libx11" ,libx11)
 | 
				
			||||||
| 
						 | 
					@ -188,7 +185,7 @@ interface.  It is fast, feature rich, easy to configure, and easy to use.")
 | 
				
			||||||
     `(("autoconf" ,autoconf)
 | 
					     `(("autoconf" ,autoconf)
 | 
				
			||||||
       ("automake" ,automake)
 | 
					       ("automake" ,automake)
 | 
				
			||||||
       ("pkg-config" ,pkg-config)))
 | 
					       ("pkg-config" ,pkg-config)))
 | 
				
			||||||
    (home-page "http://windowmaker.org/dockapps/?name=wmbattery")
 | 
					    (home-page "http://www.dockapps.net/wmbattery")
 | 
				
			||||||
    (synopsis "Display laptop battery info")
 | 
					    (synopsis "Display laptop battery info")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Wmbattery displays the status of your laptop's battery in a small icon.
 | 
					     "Wmbattery displays the status of your laptop's battery in a small icon.
 | 
				
			||||||
| 
						 | 
					@ -226,7 +223,7 @@ other compatible window managers.")
 | 
				
			||||||
(define-public wmcpuload
 | 
					(define-public wmcpuload
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "wmcpuload")
 | 
					    (name "wmcpuload")
 | 
				
			||||||
    (version "1.0.1")
 | 
					    (version "1.1.1")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append
 | 
					              (uri (string-append
 | 
				
			||||||
| 
						 | 
					@ -234,7 +231,7 @@ other compatible window managers.")
 | 
				
			||||||
                    name "_" version ".orig.tar.gz"))
 | 
					                    name "_" version ".orig.tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "0irlns4cvxy2mnicx75bya166hdxq7h8bphds3ligijcl9fzgs6n"))))
 | 
					                "1334y0axnxydwv05d172f405iljrfakg4kcyg9kmn46v6ywv424g"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("libx11" ,libx11)
 | 
					     `(("libx11" ,libx11)
 | 
				
			||||||
| 
						 | 
					@ -242,7 +239,7 @@ other compatible window managers.")
 | 
				
			||||||
       ("libxpm" ,libxpm)))
 | 
					       ("libxpm" ,libxpm)))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("pkg-config" ,pkg-config)))
 | 
					     `(("pkg-config" ,pkg-config)))
 | 
				
			||||||
    (home-page "http://windowmaker.org/dockapps/?name=wmcpuload")
 | 
					    (home-page "http://www.dockapps.net/wmcpuload")
 | 
				
			||||||
    (synopsis "Monitor CPU usage")
 | 
					    (synopsis "Monitor CPU usage")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Wmcpuload displays the current CPU usage, expressed as a percentile and a
 | 
					     "Wmcpuload displays the current CPU usage, expressed as a percentile and a
 | 
				
			||||||
| 
						 | 
					@ -269,7 +266,9 @@ on.")
 | 
				
			||||||
     `(#:phases
 | 
					     `(#:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (add-after 'unpack 'autoconf
 | 
					         (add-after 'unpack 'autoconf
 | 
				
			||||||
           (lambda _ (zero? (system* "autoreconf" "-vfi")))))))
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (invoke "autoreconf" "-vfi")
 | 
				
			||||||
 | 
					             #t)))))
 | 
				
			||||||
    ;; wmclock requires autoreconf to generate its configure script.
 | 
					    ;; wmclock requires autoreconf to generate its configure script.
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("libx11" ,libx11)
 | 
					     `(("libx11" ,libx11)
 | 
				
			||||||
| 
						 | 
					@ -279,7 +278,7 @@ on.")
 | 
				
			||||||
     `(("autoconf" ,autoconf)
 | 
					     `(("autoconf" ,autoconf)
 | 
				
			||||||
       ("automake" ,automake)
 | 
					       ("automake" ,automake)
 | 
				
			||||||
       ("pkg-config" ,pkg-config)))
 | 
					       ("pkg-config" ,pkg-config)))
 | 
				
			||||||
    (home-page "http://windowmaker.org/dockapps/?name=wmclock")
 | 
					    (home-page "http://www.dockapps.net/wmclock")
 | 
				
			||||||
    (synopsis "Display the date and time")
 | 
					    (synopsis "Display the date and time")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "wmclock is an applet for Window Maker which displays the date and time in
 | 
					     "wmclock is an applet for Window Maker which displays the date and time in
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -46,7 +46,7 @@
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Libntlm is a library that implements NTLM authentication.")
 | 
					     "Libntlm is a library that implements NTLM authentication.")
 | 
				
			||||||
    (license license:lgpl2.1+)
 | 
					    (license license:lgpl2.1+)
 | 
				
			||||||
    (home-page "http://www.nongnu.org/libntlm/")))
 | 
					    (home-page "https://www.nongnu.org/libntlm/")))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public gss
 | 
					(define-public gss
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -806,7 +806,7 @@ application suites.")
 | 
				
			||||||
     `(("cairo" ,cairo)))
 | 
					     `(("cairo" ,cairo)))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("pkg-config" ,pkg-config)))
 | 
					     `(("pkg-config" ,pkg-config)))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/guile-cairo/")
 | 
					    (home-page "https://www.nongnu.org/guile-cairo/")
 | 
				
			||||||
    (synopsis "Cairo bindings for GNU Guile")
 | 
					    (synopsis "Cairo bindings for GNU Guile")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Guile-Cairo wraps the Cairo graphics library for Guile Scheme.
 | 
					     "Guile-Cairo wraps the Cairo graphics library for Guile Scheme.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -588,7 +588,7 @@ document syntax.
 | 
				
			||||||
Guile-Reader’s approach is similar to Common Lisp’s “read table”, but
 | 
					Guile-Reader’s approach is similar to Common Lisp’s “read table”, but
 | 
				
			||||||
hopefully more powerful and flexible (for instance, one may instantiate as
 | 
					hopefully more powerful and flexible (for instance, one may instantiate as
 | 
				
			||||||
many readers as needed).")
 | 
					many readers as needed).")
 | 
				
			||||||
    (home-page "http://www.nongnu.org/guile-reader/")
 | 
					    (home-page "https://www.nongnu.org/guile-reader/")
 | 
				
			||||||
    (license license:gpl3+)))
 | 
					    (license license:gpl3+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public guile2.0-reader
 | 
					(define-public guile2.0-reader
 | 
				
			||||||
| 
						 | 
					@ -799,7 +799,7 @@ $(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n"))
 | 
				
			||||||
             #t)))))
 | 
					             #t)))))
 | 
				
			||||||
    (native-inputs `(("pkg-config" ,pkg-config)))
 | 
					    (native-inputs `(("pkg-config" ,pkg-config)))
 | 
				
			||||||
    (inputs `(("guile" ,guile-2.2)))
 | 
					    (inputs `(("guile" ,guile-2.2)))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/guile-lib/")
 | 
					    (home-page "https://www.nongnu.org/guile-lib/")
 | 
				
			||||||
    (synopsis "Collection of useful Guile Scheme modules")
 | 
					    (synopsis "Collection of useful Guile Scheme modules")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Guile-Lib is intended as an accumulation place for pure-scheme Guile
 | 
					     "Guile-Lib is intended as an accumulation place for pure-scheme Guile
 | 
				
			||||||
| 
						 | 
					@ -842,7 +842,7 @@ for Guile\".")
 | 
				
			||||||
                     (string-append all "/@GUILE_EFFECTIVE_VERSION@")))))))
 | 
					                     (string-append all "/@GUILE_EFFECTIVE_VERSION@")))))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (native-inputs `(("guile" ,guile-2.2)))
 | 
					    (native-inputs `(("guile" ,guile-2.2)))
 | 
				
			||||||
    (home-page "http://savannah.nongnu.org/projects/guile-json/")
 | 
					    (home-page "https://savannah.nongnu.org/projects/guile-json/")
 | 
				
			||||||
    (synopsis "JSON module for Guile")
 | 
					    (synopsis "JSON module for Guile")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Guile-JSON supports parsing and building JSON documents according to the
 | 
					     "Guile-JSON supports parsing and building JSON documents according to the
 | 
				
			||||||
| 
						 | 
					@ -1190,8 +1190,8 @@ Guile's foreign function interface.")
 | 
				
			||||||
  (deprecated-package "guile2.2-gdbm-ffi" guile-gdbm-ffi))
 | 
					  (deprecated-package "guile2.2-gdbm-ffi" guile-gdbm-ffi))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public guile-sqlite3
 | 
					(define-public guile-sqlite3
 | 
				
			||||||
  (let ((commit "1cd1dec96a9999db48c0ff45bab907efc637247f")
 | 
					  (let ((commit "10c13a7e02ab1655c8a758e560cafc9d6eff26f4")
 | 
				
			||||||
        (revision "3"))
 | 
					        (revision "4"))
 | 
				
			||||||
    (package
 | 
					    (package
 | 
				
			||||||
      (name "guile-sqlite3")
 | 
					      (name "guile-sqlite3")
 | 
				
			||||||
      (version (git-version "0.0" revision commit))
 | 
					      (version (git-version "0.0" revision commit))
 | 
				
			||||||
| 
						 | 
					@ -1207,7 +1207,7 @@ Guile's foreign function interface.")
 | 
				
			||||||
                      (commit commit)))
 | 
					                      (commit commit)))
 | 
				
			||||||
                (sha256
 | 
					                (sha256
 | 
				
			||||||
                 (base32
 | 
					                 (base32
 | 
				
			||||||
                  "0vvdgwcshrgl6dfz5cxf0l9bl44nkgah0ph3vv464d55nd8qh4b6"))
 | 
					                  "0nhhswpd7nb2f0gfr55fzcc2xm3l2xx4rbljsd1clrm8fj2d7q9d"))
 | 
				
			||||||
                (file-name (string-append name "-" version "-checkout"))
 | 
					                (file-name (string-append name "-" version "-checkout"))
 | 
				
			||||||
                (modules '((guix build utils)))
 | 
					                (modules '((guix build utils)))
 | 
				
			||||||
                (snippet
 | 
					                (snippet
 | 
				
			||||||
| 
						 | 
					@ -1350,7 +1350,7 @@ above command-line parameters.")
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("guile" ,guile-2.0)))
 | 
					     `(("guile" ,guile-2.0)))
 | 
				
			||||||
    (home-page "http://savannah.nongnu.org/projects/guile-redis/")
 | 
					    (home-page "https://savannah.nongnu.org/projects/guile-redis/")
 | 
				
			||||||
    (synopsis "Redis client library for Guile")
 | 
					    (synopsis "Redis client library for Guile")
 | 
				
			||||||
    (description "Guile-redis provides a Scheme interface to the Redis
 | 
					    (description "Guile-redis provides a Scheme interface to the Redis
 | 
				
			||||||
key-value cache and store.")
 | 
					key-value cache and store.")
 | 
				
			||||||
| 
						 | 
					@ -1520,7 +1520,7 @@ wrappers for inter-language calls.  It currently only supports generating Guile
 | 
				
			||||||
wrappers for C functions.  Given a definition of the types and prototypes for
 | 
					wrappers for C functions.  Given a definition of the types and prototypes for
 | 
				
			||||||
a given C interface, G-Wrap will automatically generate the C code that
 | 
					a given C interface, G-Wrap will automatically generate the C code that
 | 
				
			||||||
provides access to that interface and its types from the Scheme level.")
 | 
					provides access to that interface and its types from the Scheme level.")
 | 
				
			||||||
    (home-page "http://www.nongnu.org/g-wrap/index.html")
 | 
					    (home-page "https://www.nongnu.org/g-wrap/index.html")
 | 
				
			||||||
    (license license:lgpl2.1+)))
 | 
					    (license license:lgpl2.1+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public guile-dbi
 | 
					(define-public guile-dbi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -115,7 +115,7 @@ irssi, but graphical.")
 | 
				
			||||||
(define-public irssi
 | 
					(define-public irssi
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "irssi")
 | 
					    (name "irssi")
 | 
				
			||||||
    (version "1.1.0")
 | 
					    (version "1.1.1")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
             (method url-fetch)
 | 
					             (method url-fetch)
 | 
				
			||||||
             (uri (string-append "https://github.com/irssi/irssi/"
 | 
					             (uri (string-append "https://github.com/irssi/irssi/"
 | 
				
			||||||
| 
						 | 
					@ -123,7 +123,7 @@ irssi, but graphical.")
 | 
				
			||||||
                                 version ".tar.xz"))
 | 
					                                 version ".tar.xz"))
 | 
				
			||||||
             (sha256
 | 
					             (sha256
 | 
				
			||||||
              (base32
 | 
					              (base32
 | 
				
			||||||
               "00jz5mf2cwzfig0qcs3y4jpp5v8icvwf239k5chr2qq47lbsp6qh"))))
 | 
					               "1gx1flfh4a09nb3b5pvf0ygnbl7rry3l4gph8wij29dsl7khfj3q"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:phases
 | 
					     `(#:phases
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6190,7 +6190,7 @@ the system under test at the same time.")
 | 
				
			||||||
(define-public java-fasterxml-jackson-annotations
 | 
					(define-public java-fasterxml-jackson-annotations
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "java-fasterxml-jackson-annotations")
 | 
					    (name "java-fasterxml-jackson-annotations")
 | 
				
			||||||
    (version "2.9.2")
 | 
					    (version "2.9.4")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append "https://github.com/FasterXML/"
 | 
					              (uri (string-append "https://github.com/FasterXML/"
 | 
				
			||||||
| 
						 | 
					@ -6198,7 +6198,7 @@ the system under test at the same time.")
 | 
				
			||||||
                                  "jackson-annotations-" version ".tar.gz"))
 | 
					                                  "jackson-annotations-" version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "0b4wdxjxfbl3gkilylfdbl7fzimfpyih676jiwdf19i4056j8lqw"))))
 | 
					                "0mr95xd0da6a4g95zvrl1ryk5n5zv2rc696w3xnsr5hxk2gicfc4"))))
 | 
				
			||||||
    (build-system ant-build-system)
 | 
					    (build-system ant-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:jar-name "jackson-annotations.jar"
 | 
					     `(#:jar-name "jackson-annotations.jar"
 | 
				
			||||||
| 
						 | 
					@ -6216,7 +6216,7 @@ not included are ones that require dependency to the Databind package.")
 | 
				
			||||||
(define-public java-fasterxml-jackson-core
 | 
					(define-public java-fasterxml-jackson-core
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "java-fasterxml-jackson-core")
 | 
					    (name "java-fasterxml-jackson-core")
 | 
				
			||||||
    (version "2.9.2")
 | 
					    (version "2.9.4")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append "https://github.com/FasterXML/"
 | 
					              (uri (string-append "https://github.com/FasterXML/"
 | 
				
			||||||
| 
						 | 
					@ -6224,7 +6224,7 @@ not included are ones that require dependency to the Databind package.")
 | 
				
			||||||
                                  "jackson-core-" version ".tar.gz"))
 | 
					                                  "jackson-core-" version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "0q2d6qnylyxj5jh0sam1b095b5486f7ipzhxgwcgbm254ls7fqc1"))))
 | 
					                "159hsnk17jr1gyzkf01cxvsn45srnk37g949r7364qlsr527gjgd"))))
 | 
				
			||||||
    (build-system ant-build-system)
 | 
					    (build-system ant-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:jar-name "jackson-core.jar"
 | 
					     `(#:jar-name "jackson-core.jar"
 | 
				
			||||||
| 
						 | 
					@ -6273,7 +6273,7 @@ not included are ones that require dependency to the Databind package.")
 | 
				
			||||||
(define-public java-fasterxml-jackson-databind
 | 
					(define-public java-fasterxml-jackson-databind
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "java-fasterxml-jackson-databind")
 | 
					    (name "java-fasterxml-jackson-databind")
 | 
				
			||||||
    (version "2.9.2")
 | 
					    (version "2.9.4")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append "https://github.com/FasterXML/"
 | 
					              (uri (string-append "https://github.com/FasterXML/"
 | 
				
			||||||
| 
						 | 
					@ -6281,7 +6281,7 @@ not included are ones that require dependency to the Databind package.")
 | 
				
			||||||
                                  "jackson-databind-" version ".tar.gz"))
 | 
					                                  "jackson-databind-" version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "1d5ns8ypqhdy8d94i8q560ip9kka6q8lhnk6q7nfh2g9mr22cc4w"))))
 | 
					                "1zd2cw4z6kdkbx8za96xh9pyicv2a2l7y0rkcx2fqd8hv6d47s08"))))
 | 
				
			||||||
    (build-system ant-build-system)
 | 
					    (build-system ant-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:jar-name "jackson-databind.jar"
 | 
					     `(#:jar-name "jackson-databind.jar"
 | 
				
			||||||
| 
						 | 
					@ -6316,7 +6316,7 @@ configuration.")
 | 
				
			||||||
(define-public java-fasterxml-jackson-modules-base-jaxb
 | 
					(define-public java-fasterxml-jackson-modules-base-jaxb
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "java-fasterxml-jackson-modules-base-jaxb")
 | 
					    (name "java-fasterxml-jackson-modules-base-jaxb")
 | 
				
			||||||
    (version "2.9.2")
 | 
					    (version "2.9.4")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append "https://github.com/FasterXML/"
 | 
					              (uri (string-append "https://github.com/FasterXML/"
 | 
				
			||||||
| 
						 | 
					@ -6324,7 +6324,7 @@ configuration.")
 | 
				
			||||||
                                  "jackson-modules-base-" version ".tar.gz"))
 | 
					                                  "jackson-modules-base-" version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "0kc19n5a188g4vpyay44xfb7qcabcbfnwzhx1g84lg0sac8lf0ng"))))
 | 
					                "1wws95xi8sppp6b0k2vvjdjyynl20r1a4dwrhai08lzlria6blp5"))))
 | 
				
			||||||
    (build-system ant-build-system)
 | 
					    (build-system ant-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:jar-name "jackson-modules-base-jaxb.jar"
 | 
					     `(#:jar-name "jackson-modules-base-jaxb.jar"
 | 
				
			||||||
| 
						 | 
					@ -6386,7 +6386,7 @@ configuration.")
 | 
				
			||||||
(define-public java-fasterxml-jackson-dataformat-yaml
 | 
					(define-public java-fasterxml-jackson-dataformat-yaml
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "java-fasterxml-jackson-dataformat-yaml")
 | 
					    (name "java-fasterxml-jackson-dataformat-yaml")
 | 
				
			||||||
    (version "2.9.2")
 | 
					    (version "2.9.4")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append "https://github.com/FasterXML/"
 | 
					              (uri (string-append "https://github.com/FasterXML/"
 | 
				
			||||||
| 
						 | 
					@ -6394,7 +6394,7 @@ configuration.")
 | 
				
			||||||
                                  "jackson-dataformats-text-" version ".tar.gz"))
 | 
					                                  "jackson-dataformats-text-" version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "1x7c7v201jpb8ynjsmmq7jj7hyqzzp39jvpr053ggdndm022yzc7"))))
 | 
					                "1hikl06khaxbg439avf442qifcadap8w0lx13f0nnhp2vh3dkbz7"))))
 | 
				
			||||||
    (build-system ant-build-system)
 | 
					    (build-system ant-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:jar-name "jackson-dataformat-yaml.jar"
 | 
					     `(#:jar-name "jackson-dataformat-yaml.jar"
 | 
				
			||||||
| 
						 | 
					@ -6495,7 +6495,7 @@ interface and high-performance Typed Access API.")
 | 
				
			||||||
(define-public java-fasterxml-jackson-dataformat-xml
 | 
					(define-public java-fasterxml-jackson-dataformat-xml
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "java-fasterxml-jackson-dataformat-xml")
 | 
					    (name "java-fasterxml-jackson-dataformat-xml")
 | 
				
			||||||
    (version "2.9.2")
 | 
					    (version "2.9.4")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append "https://github.com/FasterXML/"
 | 
					              (uri (string-append "https://github.com/FasterXML/"
 | 
				
			||||||
| 
						 | 
					@ -6503,7 +6503,7 @@ interface and high-performance Typed Access API.")
 | 
				
			||||||
                                  "jackson-dataformat-xml-" version ".tar.gz"))
 | 
					                                  "jackson-dataformat-xml-" version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "1j1qanvcdh6afagr67zqrlypjkf0n6wr1qzpbvkw79lii72j6pbr"))))
 | 
					                "111fkkl90w31jbf30kgj82qdcxlw4sxppki7i198liw0ck1jcavq"))))
 | 
				
			||||||
    (build-system ant-build-system)
 | 
					    (build-system ant-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:jar-name "jackson-dataformat-xml.jar"
 | 
					     `(#:jar-name "jackson-dataformat-xml.jar"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -329,6 +329,41 @@ illustrators, matte and texture artists, and the VFX industry.  Notable
 | 
				
			||||||
features include brush stabilizers, brush engines and wrap-around mode.")
 | 
					features include brush stabilizers, brush engines and wrap-around mode.")
 | 
				
			||||||
    (license license:gpl2+)))
 | 
					    (license license:gpl2+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public kholidays
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "kholidays")
 | 
				
			||||||
 | 
					    (version "17.12.1")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (string-append
 | 
				
			||||||
 | 
					             "mirror://kde/stable/applications/" version "/src/"
 | 
				
			||||||
 | 
					             name "-" version ".tar.xz"))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32 "0595d7wbnz8kyq1bnivdrp20lwdp8ykvdll1fmb0fgm4q24z0cl8"))))
 | 
				
			||||||
 | 
					    (build-system cmake-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-before 'check 'check-setup
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             ;; blacklist a failing test function TODO: make it pass
 | 
				
			||||||
 | 
					             (with-output-to-file "autotests/BLACKLIST"
 | 
				
			||||||
 | 
					               (lambda _
 | 
				
			||||||
 | 
					                 (display "[testDefaultRegions]\n*\n")))
 | 
				
			||||||
 | 
					             #t)))))
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     `(("extra-cmake-modules" ,extra-cmake-modules)
 | 
				
			||||||
 | 
					       ("qttools" ,qttools)))
 | 
				
			||||||
 | 
					    (inputs
 | 
				
			||||||
 | 
					     `(("qtbase" ,qtbase)
 | 
				
			||||||
 | 
					       ("qtdeclarative" ,qtdeclarative)))
 | 
				
			||||||
 | 
					    (home-page "https://cgit.kde.org/kholidays.git")
 | 
				
			||||||
 | 
					    (synopsis "Library for regional holiday information")
 | 
				
			||||||
 | 
					    (description "This library provides a C++ API that determines holiday and
 | 
				
			||||||
 | 
					other special events for a geographical region.")
 | 
				
			||||||
 | 
					    (license license:lgpl2.0+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public libkomparediff2
 | 
					(define-public libkomparediff2
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "libkomparediff2")
 | 
					    (name "libkomparediff2")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -165,6 +165,12 @@ and freshness without requiring additional information from the user.")
 | 
				
			||||||
             (sha256
 | 
					             (sha256
 | 
				
			||||||
              (base32
 | 
					              (base32
 | 
				
			||||||
               "196mkfax5y3yqm3gz7jhqhnkjwrvr2m4a8nc9k41l0511ldzsk9x"))))))
 | 
					               "196mkfax5y3yqm3gz7jhqhnkjwrvr2m4a8nc9k41l0511ldzsk9x"))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      (properties
 | 
				
			||||||
 | 
					       ;; Some of the tests take a very long time on ARMv7.  See
 | 
				
			||||||
 | 
					       ;; <https://lists.gnu.org/archive/html/guix-devel/2018-02/msg00312.html>.
 | 
				
			||||||
 | 
					       `((max-silent-time . ,(* 3600 3))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      (home-page "http://wiki.dlang.org/LDC")
 | 
					      (home-page "http://wiki.dlang.org/LDC")
 | 
				
			||||||
      (synopsis "LLVM compiler for the D programming language")
 | 
					      (synopsis "LLVM compiler for the D programming language")
 | 
				
			||||||
      (description
 | 
					      (description
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -41,7 +41,7 @@
 | 
				
			||||||
     ;; expected to fail).
 | 
					     ;; expected to fail).
 | 
				
			||||||
     ;; Report them upstream.
 | 
					     ;; Report them upstream.
 | 
				
			||||||
     '(#:tests? #f))
 | 
					     '(#:tests? #f))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/libunwind")
 | 
					    (home-page "https://www.nongnu.org/libunwind")
 | 
				
			||||||
    (synopsis "Determining the call chain of a program")
 | 
					    (synopsis "Determining the call chain of a program")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "The primary goal of this project is to define a portable and efficient C
 | 
					     "The primary goal of this project is to define a portable and efficient C
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -907,14 +907,14 @@ Zerofree requires the file system to be unmounted or mounted read-only.")
 | 
				
			||||||
(define-public strace
 | 
					(define-public strace
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "strace")
 | 
					    (name "strace")
 | 
				
			||||||
    (version "4.20")
 | 
					    (version "4.21")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
             (method url-fetch)
 | 
					             (method url-fetch)
 | 
				
			||||||
             (uri (string-append "mirror://sourceforge/strace/strace/" version
 | 
					             (uri (string-append "https://github.com/strace/strace/releases/"
 | 
				
			||||||
                                 "/strace-" version ".tar.xz"))
 | 
					                                 "download/v" version "/strace-" version ".tar.xz"))
 | 
				
			||||||
             (sha256
 | 
					             (sha256
 | 
				
			||||||
              (base32
 | 
					              (base32
 | 
				
			||||||
               "08y5b07vb8jc7ak5xc3x2kx1ly6xiwv1gnppcqjs81kks66i9wsv"))))
 | 
					               "0dsw6xcfrmygidp1dj2ch8cl8icrar7789snkb2r8gh78kdqhxjw"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     '(#:phases
 | 
					     '(#:phases
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -124,4 +124,4 @@ TeX macros because Lout is a high-level, purely functional language, the
 | 
				
			||||||
outcome of an eight-year research project that went back to the
 | 
					outcome of an eight-year research project that went back to the
 | 
				
			||||||
beginning.")
 | 
					beginning.")
 | 
				
			||||||
    (license gpl3+)
 | 
					    (license gpl3+)
 | 
				
			||||||
    (home-page "http://savannah.nongnu.org/projects/lout/"))))
 | 
					    (home-page "https://savannah.nongnu.org/projects/lout/"))))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -332,5 +332,5 @@ interface for the Music Player Daemon.")
 | 
				
			||||||
    (description "Sonata is an elegant graphical client for the Music Player
 | 
					    (description "Sonata is an elegant graphical client for the Music Player
 | 
				
			||||||
Daemon (MPD).  It supports playlists, multiple profiles (connecting to different
 | 
					Daemon (MPD).  It supports playlists, multiple profiles (connecting to different
 | 
				
			||||||
MPD servers, search and multimedia key support.")
 | 
					MPD servers, search and multimedia key support.")
 | 
				
			||||||
    (home-page "http://www.nongnu.org/sonata/")
 | 
					    (home-page "https://www.nongnu.org/sonata/")
 | 
				
			||||||
    (license license:gpl3+)))
 | 
					    (license license:gpl3+)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1403,14 +1403,14 @@ does not use SSH and requires a pre-shared symmetric key.")
 | 
				
			||||||
(define-public quagga
 | 
					(define-public quagga
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "quagga")
 | 
					    (name "quagga")
 | 
				
			||||||
    (version "1.2.2")
 | 
					    (version "1.2.3")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append "mirror://savannah/quagga/quagga-"
 | 
					              (uri (string-append "mirror://savannah/quagga/quagga-"
 | 
				
			||||||
                                  version ".tar.gz"))
 | 
					                                  version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "0c99rjjc62xl5kwvx2pwyvs0709vbwax1qydqbqf6r7fpvr24bjj"))
 | 
					                "0cddxip9gd579parx64n6d7iq937ikrb8qxgvjxjm406l43hjb7f"))
 | 
				
			||||||
              (patches
 | 
					              (patches
 | 
				
			||||||
               (search-patches "quagga-reproducible-build.patch"))))
 | 
					               (search-patches "quagga-reproducible-build.patch"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
| 
						 | 
					@ -1428,7 +1428,7 @@ acts as an abstraction layer to the underlying Unix kernel and presents the
 | 
				
			||||||
Zserv API over a Unix or TCP stream to Quagga clients.  It is these Zserv
 | 
					Zserv API over a Unix or TCP stream to Quagga clients.  It is these Zserv
 | 
				
			||||||
clients which typically implement a routing protocol and communicate routing
 | 
					clients which typically implement a routing protocol and communicate routing
 | 
				
			||||||
updates to the zebra daemon.")
 | 
					updates to the zebra daemon.")
 | 
				
			||||||
    (home-page "http://www.nongnu.org/quagga/")
 | 
					    (home-page "https://www.nongnu.org/quagga/")
 | 
				
			||||||
    (license license:gpl2+)))
 | 
					    (license license:gpl2+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public thc-ipv6
 | 
					(define-public thc-ipv6
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,65 +0,0 @@
 | 
				
			||||||
From 3d9181d7bdd8e491f745dbc9e34bd20b6f6da069 Mon Sep 17 00:00:00 2001
 | 
					 | 
				
			||||||
From: Gergely Nagy <ngg@tresorit.com>
 | 
					 | 
				
			||||||
Date: Wed, 14 Dec 2016 13:19:01 +0100
 | 
					 | 
				
			||||||
Subject: [PATCH] Fix possible DoS in ASN.1 decoders (CVE-2016-9939)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
---
 | 
					 | 
				
			||||||
 asn.cpp | 10 ++++++++++
 | 
					 | 
				
			||||||
 asn.h   |  2 ++
 | 
					 | 
				
			||||||
 2 files changed, 12 insertions(+)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
diff --git a/asn.cpp b/asn.cpp
 | 
					 | 
				
			||||||
index 297ff010..2e923ef7 100644
 | 
					 | 
				
			||||||
--- a/asn.cpp
 | 
					 | 
				
			||||||
+++ b/asn.cpp
 | 
					 | 
				
			||||||
@@ -123,6 +123,8 @@ size_t BERDecodeOctetString(BufferedTransformation &bt, SecByteBlock &str)
 | 
					 | 
				
			||||||
 	size_t bc;
 | 
					 | 
				
			||||||
 	if (!BERLengthDecode(bt, bc))
 | 
					 | 
				
			||||||
 		BERDecodeError();
 | 
					 | 
				
			||||||
+	if (bc > bt.MaxRetrievable())
 | 
					 | 
				
			||||||
+		BERDecodeError();
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 	str.New(bc);
 | 
					 | 
				
			||||||
 	if (bc != bt.Get(str, bc))
 | 
					 | 
				
			||||||
@@ -139,6 +141,8 @@ size_t BERDecodeOctetString(BufferedTransformation &bt, BufferedTransformation &
 | 
					 | 
				
			||||||
 	size_t bc;
 | 
					 | 
				
			||||||
 	if (!BERLengthDecode(bt, bc))
 | 
					 | 
				
			||||||
 		BERDecodeError();
 | 
					 | 
				
			||||||
+	if (bc > bt.MaxRetrievable())
 | 
					 | 
				
			||||||
+		BERDecodeError();
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 	bt.TransferTo(str, bc);
 | 
					 | 
				
			||||||
 	return bc;
 | 
					 | 
				
			||||||
@@ -161,6 +165,8 @@ size_t BERDecodeTextString(BufferedTransformation &bt, std::string &str, byte as
 | 
					 | 
				
			||||||
 	size_t bc;
 | 
					 | 
				
			||||||
 	if (!BERLengthDecode(bt, bc))
 | 
					 | 
				
			||||||
 		BERDecodeError();
 | 
					 | 
				
			||||||
+	if (bc > bt.MaxRetrievable())
 | 
					 | 
				
			||||||
+		BERDecodeError();
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 	SecByteBlock temp(bc);
 | 
					 | 
				
			||||||
 	if (bc != bt.Get(temp, bc))
 | 
					 | 
				
			||||||
@@ -188,6 +194,10 @@ size_t BERDecodeBitString(BufferedTransformation &bt, SecByteBlock &str, unsigne
 | 
					 | 
				
			||||||
 	size_t bc;
 | 
					 | 
				
			||||||
 	if (!BERLengthDecode(bt, bc))
 | 
					 | 
				
			||||||
 		BERDecodeError();
 | 
					 | 
				
			||||||
+	if (bc == 0)
 | 
					 | 
				
			||||||
+		BERDecodeError();
 | 
					 | 
				
			||||||
+	if (bc > bt.MaxRetrievable())
 | 
					 | 
				
			||||||
+		BERDecodeError();
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 	byte unused;
 | 
					 | 
				
			||||||
 	if (!bt.Get(unused))
 | 
					 | 
				
			||||||
diff --git a/asn.h b/asn.h
 | 
					 | 
				
			||||||
index ed9de52c..33f0dd09 100644
 | 
					 | 
				
			||||||
--- a/asn.h
 | 
					 | 
				
			||||||
+++ b/asn.h
 | 
					 | 
				
			||||||
@@ -498,6 +498,8 @@ void BERDecodeUnsigned(BufferedTransformation &in, T &w, byte asnTag = INTEGER,
 | 
					 | 
				
			||||||
 	bool definite = BERLengthDecode(in, bc);
 | 
					 | 
				
			||||||
 	if (!definite)
 | 
					 | 
				
			||||||
 		BERDecodeError();
 | 
					 | 
				
			||||||
+	if (bc > in.MaxRetrievable())
 | 
					 | 
				
			||||||
+		BERDecodeError();
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 	SecByteBlock buf(bc);
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
| 
						 | 
					@ -2049,14 +2049,14 @@ CSS tidy.  Also supports URL rewriting in CSS files.")
 | 
				
			||||||
(define-public python-elasticsearch
 | 
					(define-public python-elasticsearch
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "python-elasticsearch")
 | 
					    (name "python-elasticsearch")
 | 
				
			||||||
    (version "1.0.0")
 | 
					    (version "6.1.1")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
      (origin
 | 
					      (origin
 | 
				
			||||||
        (method url-fetch)
 | 
					        (method url-fetch)
 | 
				
			||||||
        (uri (pypi-uri "elasticsearch" version))
 | 
					        (uri (pypi-uri "elasticsearch" version))
 | 
				
			||||||
        (sha256
 | 
					        (sha256
 | 
				
			||||||
         (base32
 | 
					         (base32
 | 
				
			||||||
          "1sdw1r05cw7ihnmng8ra9v968fj7bq6sji8i1dikymsnkcpgc69g"))))
 | 
					          "1kjxl45yvvgfb5fmamx0kfsfg9pzphiqrwbkns3s28r1w7ya74cd"))))
 | 
				
			||||||
    (build-system python-build-system)
 | 
					    (build-system python-build-system)
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("python-mock" ,python-mock)
 | 
					     `(("python-mock" ,python-mock)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,7 +19,7 @@
 | 
				
			||||||
;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com>
 | 
					;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com>
 | 
				
			||||||
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
 | 
					;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
 | 
				
			||||||
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
 | 
					;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
 | 
				
			||||||
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
 | 
					;;; Copyright © 2016, 2018 Hartmut Goebel <h.goebel@crazy-compilers.com>
 | 
				
			||||||
;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
 | 
					;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
 | 
				
			||||||
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
 | 
					;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
 | 
				
			||||||
;;; Copyright © 2016, 2017 Troy Sankey <sankeytms@gmail.com>
 | 
					;;; Copyright © 2016, 2017 Troy Sankey <sankeytms@gmail.com>
 | 
				
			||||||
| 
						 | 
					@ -112,6 +112,7 @@
 | 
				
			||||||
  #:use-module (gnu packages shells)
 | 
					  #:use-module (gnu packages shells)
 | 
				
			||||||
  #:use-module (gnu packages ssh)
 | 
					  #:use-module (gnu packages ssh)
 | 
				
			||||||
  #:use-module (gnu packages statistics)
 | 
					  #:use-module (gnu packages statistics)
 | 
				
			||||||
 | 
					  #:use-module (gnu packages terminals)
 | 
				
			||||||
  #:use-module (gnu packages tex)
 | 
					  #:use-module (gnu packages tex)
 | 
				
			||||||
  #:use-module (gnu packages texinfo)
 | 
					  #:use-module (gnu packages texinfo)
 | 
				
			||||||
  #:use-module (gnu packages time)
 | 
					  #:use-module (gnu packages time)
 | 
				
			||||||
| 
						 | 
					@ -7446,14 +7447,14 @@ document.")
 | 
				
			||||||
(define-public python-botocore
 | 
					(define-public python-botocore
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
   (name "python-botocore")
 | 
					   (name "python-botocore")
 | 
				
			||||||
   (version "1.8.36")
 | 
					   (version "1.8.43")
 | 
				
			||||||
   (source
 | 
					   (source
 | 
				
			||||||
    (origin
 | 
					    (origin
 | 
				
			||||||
     (method url-fetch)
 | 
					     (method url-fetch)
 | 
				
			||||||
     (uri (pypi-uri "botocore" version))
 | 
					     (uri (pypi-uri "botocore" version))
 | 
				
			||||||
     (sha256
 | 
					     (sha256
 | 
				
			||||||
      (base32
 | 
					      (base32
 | 
				
			||||||
       "0xd607qd9vkwpsvp552nqnrxppnx2n1rzh9kk9shz48ldpyy1jdj"))))
 | 
					       "12cqpbnz3vfv41mp9admvciw7bc7hz57sjpqs2bxaw9wnfmbw5lg"))))
 | 
				
			||||||
   (build-system python-build-system)
 | 
					   (build-system python-build-system)
 | 
				
			||||||
   (arguments
 | 
					   (arguments
 | 
				
			||||||
    ;; FIXME: Many tests are failing.
 | 
					    ;; FIXME: Many tests are failing.
 | 
				
			||||||
| 
						 | 
					@ -12732,3 +12733,92 @@ and other tools.")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public python2-typing
 | 
					(define-public python2-typing
 | 
				
			||||||
  (package-with-python2 python-typing))
 | 
					  (package-with-python2 python-typing))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public bpython
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "bpython")
 | 
				
			||||||
 | 
					    (version "0.17")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (pypi-uri "bpython" version))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32
 | 
				
			||||||
 | 
					         "1mbah208jhd7bsfaa17fwpi55f7fvif0ghjwgrjmpmx8w1vqab9l"))))
 | 
				
			||||||
 | 
					    (build-system python-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-after 'unpack 'remove-failing-test
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             ;; Remove failing test. FIXME: make it pass
 | 
				
			||||||
 | 
					             (delete-file "bpython/test/test_args.py")
 | 
				
			||||||
 | 
					             #t))
 | 
				
			||||||
 | 
					         (add-after 'wrap 'add-aliases
 | 
				
			||||||
 | 
					           ;; for symmetry to bpython2, add symlinks bypthon3, bpdb3, etc.
 | 
				
			||||||
 | 
					           (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
 | 
					             (let ((out (assoc-ref outputs "out")))
 | 
				
			||||||
 | 
					               (for-each
 | 
				
			||||||
 | 
					                (lambda (old new)
 | 
				
			||||||
 | 
					                  (symlink old (string-append out "/bin/" new)))
 | 
				
			||||||
 | 
					                '("bpython" "bpython-curses" "bpython-urwid" "bpdb")
 | 
				
			||||||
 | 
					                '("bpython3" "bpython3-curses" "bpython3-urwid" "bpdb3")))
 | 
				
			||||||
 | 
					             #t)))))
 | 
				
			||||||
 | 
					    (propagated-inputs
 | 
				
			||||||
 | 
					     `(("python-pygments" ,python-pygments)
 | 
				
			||||||
 | 
					       ("python-requests", python-requests)
 | 
				
			||||||
 | 
					       ("python-babel" ,python-babel) ; optional, for internationalization
 | 
				
			||||||
 | 
					       ("python-curtsies" ,python-curtsies) ; >= 0.1.18
 | 
				
			||||||
 | 
					       ("python-greenlet" ,python-greenlet)
 | 
				
			||||||
 | 
					       ("python-urwid" ,python-urwid) ; for bpython-urwid only
 | 
				
			||||||
 | 
					       ("python-six" ,python-six)))
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     `(("python-sphinx" ,python-sphinx)
 | 
				
			||||||
 | 
					       ("python-mock" ,python-mock)))
 | 
				
			||||||
 | 
					    (home-page "https://bpython-interpreter.org/")
 | 
				
			||||||
 | 
					    (synopsis "Fancy interface to the Python interpreter")
 | 
				
			||||||
 | 
					    (description "Bpython is a fancy interface to the Python
 | 
				
			||||||
 | 
					interpreter. bpython's main features are
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@enumerate
 | 
				
			||||||
 | 
					@item in-line syntax highlighting,
 | 
				
			||||||
 | 
					@item readline-like autocomplete with suggestions displayed as you type,
 | 
				
			||||||
 | 
					@item expected parameter list for any Python function,
 | 
				
			||||||
 | 
					@item \"rewind\" function to pop the last line of code from memory and
 | 
				
			||||||
 | 
					      re-evaluate,
 | 
				
			||||||
 | 
					@item send the code you've entered off to a pastebin,
 | 
				
			||||||
 | 
					@item save the code you've entered to a file, and
 | 
				
			||||||
 | 
					@item auto-indentation.
 | 
				
			||||||
 | 
					@end enumerate")
 | 
				
			||||||
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public bpython2
 | 
				
			||||||
 | 
					  (let ((base (package-with-python2
 | 
				
			||||||
 | 
					               (strip-python2-variant bpython))))
 | 
				
			||||||
 | 
					    (package (inherit base)
 | 
				
			||||||
 | 
					      (name "bpython2")
 | 
				
			||||||
 | 
					      (arguments
 | 
				
			||||||
 | 
					       `(#:python ,python-2
 | 
				
			||||||
 | 
					         #:phases
 | 
				
			||||||
 | 
					         (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-after 'unpack 'remove-failing-test
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             ;; Remove failing test. FIXME: make it pass
 | 
				
			||||||
 | 
					             (delete-file "bpython/test/test_args.py")
 | 
				
			||||||
 | 
					             ;; Disable failing test-cases (renaming inhibits they are
 | 
				
			||||||
 | 
					             ;; discovered)
 | 
				
			||||||
 | 
					             (substitute* "bpython/test/test_curtsies_repl.py"
 | 
				
			||||||
 | 
					               (("^(\\s*def )(test_get_last_word_with_prev_line\\W)" _ a b)
 | 
				
			||||||
 | 
					                (string-append a "xxx_off_" b))
 | 
				
			||||||
 | 
					               (("^(\\s*def )(test_complex\\W)" _ a b)
 | 
				
			||||||
 | 
					                (string-append a "xxx_off_" b)))
 | 
				
			||||||
 | 
					             #t))
 | 
				
			||||||
 | 
					           (add-before 'build 'rename-scripts
 | 
				
			||||||
 | 
					             ;; rename the scripts to bypthon2, bpdb2, etc.
 | 
				
			||||||
 | 
					             (lambda _
 | 
				
			||||||
 | 
					               (substitute* "setup.py"
 | 
				
			||||||
 | 
					                 (("^(\\s+'bpdb)(\\s+=.*',?)\\s*?$" _ name rest)
 | 
				
			||||||
 | 
					                  (string-append name "2" rest "\n"))
 | 
				
			||||||
 | 
					                 (("^(\\s+'bpython)(-\\S+)?(\\s+=.*',?)\\s*?$" _ name sub rest)
 | 
				
			||||||
 | 
					                  (string-append name "2" (or sub "") rest "\n")))
 | 
				
			||||||
 | 
					               #t))))))))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -82,7 +82,7 @@
 | 
				
			||||||
     `(("perl",perl)
 | 
					     `(("perl",perl)
 | 
				
			||||||
       ("pkg-config" ,pkg-config)
 | 
					       ("pkg-config" ,pkg-config)
 | 
				
			||||||
       ("ratpoison.desktop" ,ratpoison.desktop)))
 | 
					       ("ratpoison.desktop" ,ratpoison.desktop)))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/ratpoison/")
 | 
					    (home-page "https://www.nongnu.org/ratpoison/")
 | 
				
			||||||
    (synopsis "Simple mouse-free tiling window manager")
 | 
					    (synopsis "Simple mouse-free tiling window manager")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Ratpoison is a simple window manager with no fat library
 | 
					     "Ratpoison is a simple window manager with no fat library
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -77,7 +77,7 @@
 | 
				
			||||||
    (propagated-inputs `(("guile-reader" ,guile2.0-reader)
 | 
					    (propagated-inputs `(("guile-reader" ,guile2.0-reader)
 | 
				
			||||||
                         ("guile-lib" ,guile2.0-lib)))
 | 
					                         ("guile-lib" ,guile2.0-lib)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    (home-page "http://www.nongnu.org/skribilo/")
 | 
					    (home-page "https://www.nongnu.org/skribilo/")
 | 
				
			||||||
    (synopsis "Document production tool written in Guile Scheme")
 | 
					    (synopsis "Document production tool written in Guile Scheme")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Skribilo is a free document production tool that takes a structured
 | 
					     "Skribilo is a free document production tool that takes a structured
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -162,7 +162,7 @@ multiplayer games.")
 | 
				
			||||||
   (license license:gpl2+)
 | 
					   (license license:gpl2+)
 | 
				
			||||||
   ;; (plus OpenSSL linking exception)
 | 
					   ;; (plus OpenSSL linking exception)
 | 
				
			||||||
   ;; http://git.savannah.gnu.org/cgit/exosip.git/plain/LICENSE.OpenSSL
 | 
					   ;; http://git.savannah.gnu.org/cgit/exosip.git/plain/LICENSE.OpenSSL
 | 
				
			||||||
    (home-page "http://savannah.nongnu.org/projects/exosip")))
 | 
					    (home-page "https://savannah.nongnu.org/projects/exosip")))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public sipwitch
 | 
					(define-public sipwitch
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,6 +9,7 @@
 | 
				
			||||||
;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
 | 
					;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
 | 
				
			||||||
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
 | 
					;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
 | 
				
			||||||
;;; Copyright © 2017 Petter <petter@mykolab.ch>
 | 
					;;; Copyright © 2017 Petter <petter@mykolab.ch>
 | 
				
			||||||
 | 
					;;; Copyright © 2018 Hartmut Goebel <h.goebel@crazy-compilers.com>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -38,6 +39,7 @@
 | 
				
			||||||
  #:use-module (guix packages)
 | 
					  #:use-module (guix packages)
 | 
				
			||||||
  #:use-module (gnu packages)
 | 
					  #:use-module (gnu packages)
 | 
				
			||||||
  #:use-module (gnu packages autotools)
 | 
					  #:use-module (gnu packages autotools)
 | 
				
			||||||
 | 
					  #:use-module (gnu packages check)
 | 
				
			||||||
  #:use-module (gnu packages docbook)
 | 
					  #:use-module (gnu packages docbook)
 | 
				
			||||||
  #:use-module (gnu packages freedesktop)
 | 
					  #:use-module (gnu packages freedesktop)
 | 
				
			||||||
  #:use-module (gnu packages gettext)
 | 
					  #:use-module (gnu packages gettext)
 | 
				
			||||||
| 
						 | 
					@ -667,3 +669,111 @@ with terminals in Go.")
 | 
				
			||||||
terminal or piped input.")
 | 
					terminal or piped input.")
 | 
				
			||||||
      (home-page "https://github.com/howeyc/gopass")
 | 
					      (home-page "https://github.com/howeyc/gopass")
 | 
				
			||||||
      (license license:isc))))
 | 
					      (license license:isc))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public python-pyte
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "python-pyte")
 | 
				
			||||||
 | 
					    (version "0.7.0")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (pypi-uri "pyte" version))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32
 | 
				
			||||||
 | 
					         "1an54hvyjm8gncx8cgabz9mkpgjkdb0bkyjlkh7g7f94nr3wnfl7"))))
 | 
				
			||||||
 | 
					    (build-system python-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     '(#:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-after 'unpack 'remove-failing-test
 | 
				
			||||||
 | 
					           ;; TODO: Reenable when the `captured` files required by this test
 | 
				
			||||||
 | 
					           ;; are included in the archive.
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (delete-file "tests/test_input_output.py")
 | 
				
			||||||
 | 
					             #t)))))
 | 
				
			||||||
 | 
					    (propagated-inputs
 | 
				
			||||||
 | 
					     `(("python-wcwidth", python-wcwidth)))
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     `(("python-pytest-runner" ,python-pytest-runner)
 | 
				
			||||||
 | 
					       ("python-pytest" ,python-pytest)))
 | 
				
			||||||
 | 
					    (home-page "https://pyte.readthedocs.io/")
 | 
				
			||||||
 | 
					    (synopsis "Simple VTXXX-compatible terminal emulator")
 | 
				
			||||||
 | 
					    (description "@code{pyte} is an in-memory VTxxx-compatible terminal
 | 
				
			||||||
 | 
					emulator.  @var{VTxxx} stands for a series of video terminals, developed by
 | 
				
			||||||
 | 
					DEC between 1970 and 1995.  The first and probably most famous one was the
 | 
				
			||||||
 | 
					VT100 terminal, which is now a de-facto standard for all virtual terminal
 | 
				
			||||||
 | 
					emulators.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pyte is a fork of vt102, which was an incomplete pure Python implementation
 | 
				
			||||||
 | 
					of VT100 terminal.")
 | 
				
			||||||
 | 
					    (license license:lgpl3+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public python2-pyte
 | 
				
			||||||
 | 
					  (package-with-python2 python-pyte))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public python-blessings
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "python-blessings")
 | 
				
			||||||
 | 
					    (version "1.6.1")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (pypi-uri "blessings" version))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32
 | 
				
			||||||
 | 
					         "1smngy65p8mi62lgm04icasx22v976szhs2aq95y2ljmi1srb4bl"))))
 | 
				
			||||||
 | 
					    (build-system python-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     ;; TODO: For py3, 2to2 is used to convert the code, but test-suite fails
 | 
				
			||||||
 | 
					     `(#:tests? #f))
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     `(("python-nose" ,python-nose)))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/erikrose/blessings")
 | 
				
			||||||
 | 
					    (synopsis "Python module to manage terminal color, styling, and
 | 
				
			||||||
 | 
					positioning")
 | 
				
			||||||
 | 
					    (description "Blessings is a pythonic API to manipulate terminal color,
 | 
				
			||||||
 | 
					styling, and positioning.  It provides similar features to curses but avoids
 | 
				
			||||||
 | 
					some of curses’s limitations: it does not require clearing the whole screen
 | 
				
			||||||
 | 
					for little changes, provides a scroll-back buffer after the program exits, and
 | 
				
			||||||
 | 
					avoids styling altogether when the output is redirected to something other
 | 
				
			||||||
 | 
					than a terminal.")
 | 
				
			||||||
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public python2-blessings
 | 
				
			||||||
 | 
					  (package-with-python2 python-blessings))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public python-curtsies
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "python-curtsies")
 | 
				
			||||||
 | 
					    (version "0.2.11")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (pypi-uri "curtsies" version))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32
 | 
				
			||||||
 | 
					         "1vljmw3sy6lrqahhpyg4gk13mzcx3mwhvg8s41698ms3cpgkjipc"))))
 | 
				
			||||||
 | 
					    (build-system python-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (replace 'check
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (invoke "nosetests" "-v"))))))
 | 
				
			||||||
 | 
					    (propagated-inputs
 | 
				
			||||||
 | 
					     `(("python-blessings" ,python-blessings)
 | 
				
			||||||
 | 
					       ("python-wcwidth", python-wcwidth)))
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     `(("python-mock" ,python-mock)
 | 
				
			||||||
 | 
					       ("python-pyte" ,python-pyte)
 | 
				
			||||||
 | 
					       ("python-nose" ,python-nose)))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/thomasballinger/curtsies")
 | 
				
			||||||
 | 
					    (synopsis "Library for curses-like terminal interaction with colored
 | 
				
			||||||
 | 
					strings")
 | 
				
			||||||
 | 
					    (description "Curtsies is a Python library for interacting with the
 | 
				
			||||||
 | 
					terminal.  It features string-like objects which carry formatting information,
 | 
				
			||||||
 | 
					per-line fullscreen terminal rendering, and keyboard input event reporting.")
 | 
				
			||||||
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public python2-curtsies
 | 
				
			||||||
 | 
					  (package-with-python2 python-curtsies))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -151,7 +151,7 @@ is on expressing the content semantically, avoiding physical markup commands.")
 | 
				
			||||||
     ;; texi2html.pl to avoid the warnings seems non-trivial, so we simply
 | 
					     ;; texi2html.pl to avoid the warnings seems non-trivial, so we simply
 | 
				
			||||||
     ;; disable the tests.
 | 
					     ;; disable the tests.
 | 
				
			||||||
     '(#:tests? #f))
 | 
					     '(#:tests? #f))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/texi2html/")
 | 
					    (home-page "https://www.nongnu.org/texi2html/")
 | 
				
			||||||
    (synopsis "Convert Texinfo to HTML")
 | 
					    (synopsis "Convert Texinfo to HTML")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Texi2HTML is a Perl script which converts Texinfo source files to HTML
 | 
					     "Texi2HTML is a Perl script which converts Texinfo source files to HTML
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1010,7 +1010,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
 | 
				
			||||||
(define-public mpv
 | 
					(define-public mpv
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "mpv")
 | 
					    (name "mpv")
 | 
				
			||||||
    (version "0.28.1")
 | 
					    (version "0.28.2")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append
 | 
					              (uri (string-append
 | 
				
			||||||
| 
						 | 
					@ -1018,7 +1018,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
 | 
				
			||||||
                    ".tar.gz"))
 | 
					                    ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "1i1czric6dhbwvyxamzrnwjwsznrn9cpzp6m0m6aahiwpbfbl282"))
 | 
					                "15fp4sa5glqhgidd54vs6knf9dp809wszzsqiqz5nyri4ph19nma"))
 | 
				
			||||||
              (file-name (string-append name "-" version ".tar.gz"))))
 | 
					              (file-name (string-append name "-" version ".tar.gz"))))
 | 
				
			||||||
    (build-system waf-build-system)
 | 
					    (build-system waf-build-system)
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,6 +24,7 @@
 | 
				
			||||||
;;; Copyright © 2017 Petter <petter@mykolab.ch>
 | 
					;;; Copyright © 2017 Petter <petter@mykolab.ch>
 | 
				
			||||||
;;; Copyright © 2017 Pierre Langlois <pierre.langlois@gmx.com>
 | 
					;;; Copyright © 2017 Pierre Langlois <pierre.langlois@gmx.com>
 | 
				
			||||||
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
 | 
					;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
 | 
				
			||||||
 | 
					;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -6296,3 +6297,46 @@ features include:
 | 
				
			||||||
@item logging with multiple log levels.
 | 
					@item logging with multiple log levels.
 | 
				
			||||||
@end enumerate\n")
 | 
					@end enumerate\n")
 | 
				
			||||||
    (license l:expat)))
 | 
					    (license l:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public cat-avatar-generator
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "cat-avatar-generator")
 | 
				
			||||||
 | 
					    (version "1")
 | 
				
			||||||
 | 
					    (source (origin
 | 
				
			||||||
 | 
					              (method git-fetch)
 | 
				
			||||||
 | 
					              (uri (git-reference
 | 
				
			||||||
 | 
					                     (url "https://framagit.org/Deevad/cat-avatar-generator.git")
 | 
				
			||||||
 | 
					                     (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
 | 
				
			||||||
 | 
					              (file-name (string-append name "-" version))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32
 | 
				
			||||||
 | 
					                "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
 | 
				
			||||||
 | 
					    (build-system trivial-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:modules ((guix build utils)
 | 
				
			||||||
 | 
					                  (srfi srfi-1)
 | 
				
			||||||
 | 
					                  (srfi srfi-26))
 | 
				
			||||||
 | 
					       #:builder
 | 
				
			||||||
 | 
					       (begin
 | 
				
			||||||
 | 
					         (use-modules (guix build utils)
 | 
				
			||||||
 | 
					                      (srfi srfi-1)
 | 
				
			||||||
 | 
					                      (srfi srfi-26))
 | 
				
			||||||
 | 
					         (let ((source (assoc-ref %build-inputs "source"))
 | 
				
			||||||
 | 
					               (php-dir (string-append %output "/share/web/" ,name "/")))
 | 
				
			||||||
 | 
					           ;; The cache directory must not be in the store, but in a writable
 | 
				
			||||||
 | 
					           ;; location.  The webserver will give us this location.
 | 
				
			||||||
 | 
					           (copy-recursively source php-dir)
 | 
				
			||||||
 | 
					           (substitute* (string-append php-dir "/cat-avatar-generator.php")
 | 
				
			||||||
 | 
					             (("\\$cachepath = .*")
 | 
				
			||||||
 | 
					              "if(isset($_SERVER['CACHE_DIR']))
 | 
				
			||||||
 | 
					$cachepath = $_SERVER['CACHE_DIR'];
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
					die('You need to set the CACHE_DIR variable first.');"))))))
 | 
				
			||||||
 | 
					    (home-page "https://framagit.org/Deevad/cat-avatar-generator")
 | 
				
			||||||
 | 
					    (synopsis "Random avatar generator")
 | 
				
			||||||
 | 
					    (description "Cat avatar generator is a generator of cat pictures optimised
 | 
				
			||||||
 | 
					to generate random avatars, or defined avatar from a \"seed\".  This is a
 | 
				
			||||||
 | 
					derivation by David Revoy from the original MonsterID by Andreas Gohr.")
 | 
				
			||||||
 | 
					    ;; expat for the code, CC-BY 4.0 for the artwork
 | 
				
			||||||
 | 
					    (license (list l:expat
 | 
				
			||||||
 | 
					                   l:cc-by4.0))))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -722,7 +722,7 @@ transparent text on your screen.")
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("libx11" ,libx11)
 | 
					     `(("libx11" ,libx11)
 | 
				
			||||||
       ("guile" ,guile-2.0)))
 | 
					       ("guile" ,guile-2.0)))
 | 
				
			||||||
    (home-page "http://www.nongnu.org/xbindkeys/")
 | 
					    (home-page "https://www.nongnu.org/xbindkeys/")
 | 
				
			||||||
    (synopsis "Associate a combination of keys with a shell command")
 | 
					    (synopsis "Associate a combination of keys with a shell command")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "XBindKeys is a program that allows you to launch shell commands with
 | 
					     "XBindKeys is a program that allows you to launch shell commands with
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -792,7 +792,7 @@ inhibit interface which allows applications to prevent automatic sleep.")
 | 
				
			||||||
(define-public ristretto
 | 
					(define-public ristretto
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "ristretto")
 | 
					    (name "ristretto")
 | 
				
			||||||
    (version "0.8.0")
 | 
					    (version "0.8.2")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append "http://archive.xfce.org/src/apps/ristretto/"
 | 
					              (uri (string-append "http://archive.xfce.org/src/apps/ristretto/"
 | 
				
			||||||
| 
						 | 
					@ -800,7 +800,7 @@ inhibit interface which allows applications to prevent automatic sleep.")
 | 
				
			||||||
                                  name "-" version ".tar.bz2"))
 | 
					                                  name "-" version ".tar.bz2"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "0a7kwhx51fd2kqh7l7kp13wcn39d2fjkwnn9rfd1k9ydrqj56qki"))))
 | 
					                "1f01d47kd85kjd1k4bzpcck4cb40qpjm5fzirzwdsxzwlrybgwzq"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("intltool" ,intltool)
 | 
					     `(("intltool" ,intltool)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -389,7 +389,7 @@ decoding .opus files.")
 | 
				
			||||||
(define opusfile
 | 
					(define opusfile
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "opusfile")
 | 
					    (name "opusfile")
 | 
				
			||||||
    (version "0.9")
 | 
					    (version "0.10")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (string-append
 | 
					              (uri (string-append
 | 
				
			||||||
| 
						 | 
					@ -397,7 +397,7 @@ decoding .opus files.")
 | 
				
			||||||
                    ".tar.gz"))
 | 
					                    ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "0yg9whb9y6ja3d5dmscg5a29hxj7qj0asw8smisjf4hbwh0bapzp"))))
 | 
					                "0bs1376sd131qdh7198jp64vv5d17az5wyy4y7srrvw7p8k3bq28"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     `(("opus" ,opus)))
 | 
					     `(("opus" ,opus)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -131,10 +131,8 @@ service switch (NSS) with support for @code{.local} host name resolution.")
 | 
				
			||||||
                                            (const %avahi-accounts))
 | 
					                                            (const %avahi-accounts))
 | 
				
			||||||
                         (service-extension activation-service-type
 | 
					                         (service-extension activation-service-type
 | 
				
			||||||
                                            (const %avahi-activation))
 | 
					                                            (const %avahi-activation))
 | 
				
			||||||
 | 
					 | 
				
			||||||
                         ;; Use 0.10 due to <https://bugs.gnu.org/30396>.
 | 
					 | 
				
			||||||
                         (service-extension nscd-service-type
 | 
					                         (service-extension nscd-service-type
 | 
				
			||||||
                                            (const (list nss-mdns-0.10)))
 | 
					                                            (const (list nss-mdns)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                         ;; Provide 'avahi-browse', 'avahi-resolve', etc. in
 | 
					                         ;; Provide 'avahi-browse', 'avahi-resolve', etc. in
 | 
				
			||||||
                         ;; the system profile.
 | 
					                         ;; the system profile.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -817,7 +817,7 @@ the message of the day, among other things."
 | 
				
			||||||
  agetty-configuration?
 | 
					  agetty-configuration?
 | 
				
			||||||
  (agetty           agetty-configuration-agetty   ;<package>
 | 
					  (agetty           agetty-configuration-agetty   ;<package>
 | 
				
			||||||
                    (default util-linux))
 | 
					                    (default util-linux))
 | 
				
			||||||
  (tty              agetty-configuration-tty)     ;string
 | 
					  (tty              agetty-configuration-tty)     ;string | #f
 | 
				
			||||||
  (term             agetty-term                   ;string | #f
 | 
					  (term             agetty-term                   ;string | #f
 | 
				
			||||||
                    (default #f))
 | 
					                    (default #f))
 | 
				
			||||||
  (baud-rate        agetty-baud-rate              ;string | #f
 | 
					  (baud-rate        agetty-baud-rate              ;string | #f
 | 
				
			||||||
| 
						 | 
					@ -890,6 +890,40 @@ the message of the day, among other things."
 | 
				
			||||||
;;;                 (default #f))
 | 
					;;;                 (default #f))
 | 
				
			||||||
  )
 | 
					  )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define (default-serial-port)
 | 
				
			||||||
 | 
					  "Return a gexp that determines a reasonable default serial port
 | 
				
			||||||
 | 
					to use as the tty.  This is primarily useful for headless systems."
 | 
				
			||||||
 | 
					  #~(begin
 | 
				
			||||||
 | 
					      ;; console=device,options
 | 
				
			||||||
 | 
					      ;; device: can be tty0, ttyS0, lp0, ttyUSB0 (serial).
 | 
				
			||||||
 | 
					      ;; options: BBBBPNF. P n|o|e, N number of bits,
 | 
				
			||||||
 | 
					      ;; F flow control (r RTS)
 | 
				
			||||||
 | 
					      (let* ((not-comma (char-set-complement (char-set #\,)))
 | 
				
			||||||
 | 
					             (command (linux-command-line))
 | 
				
			||||||
 | 
					             (agetty-specs (find-long-options "agetty.tty" command))
 | 
				
			||||||
 | 
					             (console-specs (filter (lambda (spec)
 | 
				
			||||||
 | 
					                                     (and (string-prefix? "tty" spec)
 | 
				
			||||||
 | 
					                                          (not (or
 | 
				
			||||||
 | 
					                                                (string-prefix? "tty0" spec)
 | 
				
			||||||
 | 
					                                                (string-prefix? "tty1" spec)
 | 
				
			||||||
 | 
					                                                (string-prefix? "tty2" spec)
 | 
				
			||||||
 | 
					                                                (string-prefix? "tty3" spec)
 | 
				
			||||||
 | 
					                                                (string-prefix? "tty4" spec)
 | 
				
			||||||
 | 
					                                                (string-prefix? "tty5" spec)
 | 
				
			||||||
 | 
					                                                (string-prefix? "tty6" spec)
 | 
				
			||||||
 | 
					                                                (string-prefix? "tty7" spec)
 | 
				
			||||||
 | 
					                                                (string-prefix? "tty8" spec)
 | 
				
			||||||
 | 
					                                                (string-prefix? "tty9" spec)))))
 | 
				
			||||||
 | 
					                                    (find-long-options "console" command)))
 | 
				
			||||||
 | 
					             (specs (append agetty-specs console-specs)))
 | 
				
			||||||
 | 
					        (match specs
 | 
				
			||||||
 | 
					         (() #f)
 | 
				
			||||||
 | 
					         ((spec _ ...)
 | 
				
			||||||
 | 
					          ;; Extract device name from first spec.
 | 
				
			||||||
 | 
					          (match (string-tokenize spec not-comma)
 | 
				
			||||||
 | 
					           ((device-name _ ...)
 | 
				
			||||||
 | 
					            device-name)))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define agetty-shepherd-service
 | 
					(define agetty-shepherd-service
 | 
				
			||||||
  (match-lambda
 | 
					  (match-lambda
 | 
				
			||||||
    (($ <agetty-configuration> agetty tty term baud-rate auto-login
 | 
					    (($ <agetty-configuration> agetty tty term baud-rate auto-login
 | 
				
			||||||
| 
						 | 
					@ -900,8 +934,9 @@ the message of the day, among other things."
 | 
				
			||||||
        erase-characters kill-characters chdir delay nice extra-options)
 | 
					        erase-characters kill-characters chdir delay nice extra-options)
 | 
				
			||||||
     (list
 | 
					     (list
 | 
				
			||||||
       (shepherd-service
 | 
					       (shepherd-service
 | 
				
			||||||
 | 
					         (modules '((ice-9 match) (gnu build linux-boot)))
 | 
				
			||||||
         (documentation "Run agetty on a tty.")
 | 
					         (documentation "Run agetty on a tty.")
 | 
				
			||||||
         (provision (list (symbol-append 'term- (string->symbol tty))))
 | 
					         (provision (list (symbol-append 'term- (string->symbol (or tty "auto")))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
         ;; Since the login prompt shows the host name, wait for the 'host-name'
 | 
					         ;; Since the login prompt shows the host name, wait for the 'host-name'
 | 
				
			||||||
         ;; service to be done.  Also wait for udev essentially so that the tty
 | 
					         ;; service to be done.  Also wait for udev essentially so that the tty
 | 
				
			||||||
| 
						 | 
					@ -909,113 +944,119 @@ the message of the day, among other things."
 | 
				
			||||||
         ;; mingetty-shepherd-service).
 | 
					         ;; mingetty-shepherd-service).
 | 
				
			||||||
         (requirement '(user-processes host-name udev))
 | 
					         (requirement '(user-processes host-name udev))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
         (start #~(make-forkexec-constructor
 | 
					         (start #~(let ((tty #$(default-serial-port)))
 | 
				
			||||||
                    (list #$(file-append util-linux "/sbin/agetty")
 | 
					                    (if tty
 | 
				
			||||||
                          #$@extra-options
 | 
					                        (make-forkexec-constructor
 | 
				
			||||||
                          #$@(if eight-bits?
 | 
					                         (list #$(file-append util-linux "/sbin/agetty")
 | 
				
			||||||
                                 #~("--8bits")
 | 
					                               #$@extra-options
 | 
				
			||||||
                                 #~())
 | 
					                               #$@(if eight-bits?
 | 
				
			||||||
                          #$@(if no-reset?
 | 
					                                      #~("--8bits")
 | 
				
			||||||
                                 #~("--noreset")
 | 
					                                      #~())
 | 
				
			||||||
                                 #~())
 | 
					                               #$@(if no-reset?
 | 
				
			||||||
                          #$@(if remote?
 | 
					                                      #~("--noreset")
 | 
				
			||||||
                                 #~("--remote")
 | 
					                                      #~())
 | 
				
			||||||
                                 #~())
 | 
					                               #$@(if remote?
 | 
				
			||||||
                          #$@(if flow-control?
 | 
					                                      #~("--remote")
 | 
				
			||||||
                                 #~("--flow-control")
 | 
					                                      #~())
 | 
				
			||||||
                                 #~())
 | 
					                               #$@(if flow-control?
 | 
				
			||||||
                          #$@(if host
 | 
					                                      #~("--flow-control")
 | 
				
			||||||
                                 #~("--host" #$host)
 | 
					                                      #~())
 | 
				
			||||||
                                 #~())
 | 
					                               #$@(if host
 | 
				
			||||||
                          #$@(if no-issue?
 | 
					                                      #~("--host" #$host)
 | 
				
			||||||
                                 #~("--noissue")
 | 
					                                      #~())
 | 
				
			||||||
                                 #~())
 | 
					                               #$@(if no-issue?
 | 
				
			||||||
                          #$@(if init-string
 | 
					                                      #~("--noissue")
 | 
				
			||||||
                                 #~("--init-string" #$init-string)
 | 
					                                      #~())
 | 
				
			||||||
                                 #~())
 | 
					                               #$@(if init-string
 | 
				
			||||||
                          #$@(if no-clear?
 | 
					                                      #~("--init-string" #$init-string)
 | 
				
			||||||
                                 #~("--noclear")
 | 
					                                      #~())
 | 
				
			||||||
                                 #~())
 | 
					                               #$@(if no-clear?
 | 
				
			||||||
 | 
					                                      #~("--noclear")
 | 
				
			||||||
 | 
					                                      #~())
 | 
				
			||||||
;;; FIXME This doesn't work as expected. According to agetty(8), if this option
 | 
					;;; FIXME This doesn't work as expected. According to agetty(8), if this option
 | 
				
			||||||
;;; is not passed, then the default is 'auto'. However, in my tests, when that
 | 
					;;; is not passed, then the default is 'auto'. However, in my tests, when that
 | 
				
			||||||
;;; option is selected, agetty never presents the login prompt, and the
 | 
					;;; option is selected, agetty never presents the login prompt, and the
 | 
				
			||||||
;;; term-ttyS0 service respawns every few seconds.
 | 
					;;; term-ttyS0 service respawns every few seconds.
 | 
				
			||||||
                          #$@(if local-line
 | 
					                               #$@(if local-line
 | 
				
			||||||
                                 #~(#$(match local-line
 | 
					                                      #~(#$(match local-line
 | 
				
			||||||
                                        ('auto "--local-line=auto")
 | 
					                                             ('auto "--local-line=auto")
 | 
				
			||||||
                                        ('always "--local-line=always")
 | 
					                                             ('always "--local-line=always")
 | 
				
			||||||
                                        ('never "-local-line=never")))
 | 
					                                             ('never "-local-line=never")))
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if extract-baud?
 | 
					                               #$@(if tty
 | 
				
			||||||
                                 #~("--extract-baud")
 | 
					                                      #~()
 | 
				
			||||||
                                 #~())
 | 
					                                      #~("--keep-baud"))
 | 
				
			||||||
                          #$@(if skip-login?
 | 
					                               #$@(if extract-baud?
 | 
				
			||||||
                                 #~("--skip-login")
 | 
					                                      #~("--extract-baud")
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if no-newline?
 | 
					                               #$@(if skip-login?
 | 
				
			||||||
                                 #~("--nonewline")
 | 
					                                      #~("--skip-login")
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if login-options
 | 
					                               #$@(if no-newline?
 | 
				
			||||||
                                 #~("--login-options" #$login-options)
 | 
					                                      #~("--nonewline")
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if chroot
 | 
					                               #$@(if login-options
 | 
				
			||||||
                                 #~("--chroot" #$chroot)
 | 
					                                      #~("--login-options" #$login-options)
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if hangup?
 | 
					                               #$@(if chroot
 | 
				
			||||||
                                 #~("--hangup")
 | 
					                                      #~("--chroot" #$chroot)
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if keep-baud?
 | 
					                               #$@(if hangup?
 | 
				
			||||||
                                 #~("--keep-baud")
 | 
					                                      #~("--hangup")
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if timeout
 | 
					                               #$@(if keep-baud?
 | 
				
			||||||
                                 #~("--timeout" #$(number->string timeout))
 | 
					                                      #~("--keep-baud")
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if detect-case?
 | 
					                               #$@(if timeout
 | 
				
			||||||
                                 #~("--detect-case")
 | 
					                                      #~("--timeout" #$(number->string timeout))
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if wait-cr?
 | 
					                               #$@(if detect-case?
 | 
				
			||||||
                                 #~("--wait-cr")
 | 
					                                      #~("--detect-case")
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if no-hints?
 | 
					                               #$@(if wait-cr?
 | 
				
			||||||
                                 #~("--nohints?")
 | 
					                                      #~("--wait-cr")
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if no-hostname?
 | 
					                               #$@(if no-hints?
 | 
				
			||||||
                                 #~("--nohostname")
 | 
					                                      #~("--nohints?")
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if long-hostname?
 | 
					                               #$@(if no-hostname?
 | 
				
			||||||
                                 #~("--long-hostname")
 | 
					                                      #~("--nohostname")
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if erase-characters
 | 
					                               #$@(if long-hostname?
 | 
				
			||||||
                                 #~("--erase-chars" #$erase-characters)
 | 
					                                      #~("--long-hostname")
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if kill-characters
 | 
					                               #$@(if erase-characters
 | 
				
			||||||
                                 #~("--kill-chars" #$kill-characters)
 | 
					                                      #~("--erase-chars" #$erase-characters)
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if chdir
 | 
					                               #$@(if kill-characters
 | 
				
			||||||
                                 #~("--chdir" #$chdir)
 | 
					                                      #~("--kill-chars" #$kill-characters)
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if delay
 | 
					                               #$@(if chdir
 | 
				
			||||||
                                 #~("--delay" #$(number->string delay))
 | 
					                                      #~("--chdir" #$chdir)
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if nice
 | 
					                               #$@(if delay
 | 
				
			||||||
                                 #~("--nice" #$(number->string nice))
 | 
					                                      #~("--delay" #$(number->string delay))
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if auto-login
 | 
					                               #$@(if nice
 | 
				
			||||||
                                 (list "--autologin" auto-login)
 | 
					                                      #~("--nice" #$(number->string nice))
 | 
				
			||||||
                                 '())
 | 
					                                      #~())
 | 
				
			||||||
                          #$@(if login-program
 | 
					                               #$@(if auto-login
 | 
				
			||||||
                                 #~("--login-program" #$login-program)
 | 
					                                      (list "--autologin" auto-login)
 | 
				
			||||||
                                 #~())
 | 
					                                      '())
 | 
				
			||||||
                          #$@(if login-pause?
 | 
					                               #$@(if login-program
 | 
				
			||||||
                                 #~("--login-pause")
 | 
					                                      #~("--login-program" #$login-program)
 | 
				
			||||||
                                 #~())
 | 
					                                      #~())
 | 
				
			||||||
                          #$tty
 | 
					                               #$@(if login-pause?
 | 
				
			||||||
                          #$@(if baud-rate
 | 
					                                      #~("--login-pause")
 | 
				
			||||||
                                 #~(#$baud-rate)
 | 
					                                      #~())
 | 
				
			||||||
                                 #~())
 | 
					                               #$(or tty (default-serial-port))
 | 
				
			||||||
                          #$@(if term
 | 
					                               #$@(if baud-rate
 | 
				
			||||||
                                 #~(#$term)
 | 
					                                      #~(#$baud-rate)
 | 
				
			||||||
                                 #~()))))
 | 
					                                      #~())
 | 
				
			||||||
 | 
					                               #$@(if term
 | 
				
			||||||
 | 
					                                      #~(#$term)
 | 
				
			||||||
 | 
					                                      #~()))))
 | 
				
			||||||
 | 
					                        (const #f))) ; never start.
 | 
				
			||||||
         (stop #~(make-kill-destructor)))))))
 | 
					         (stop #~(make-kill-destructor)))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define agetty-service-type
 | 
					(define agetty-service-type
 | 
				
			||||||
| 
						 | 
					@ -2012,6 +2053,11 @@ This service is not part of @var{%base-services}."
 | 
				
			||||||
                        (cons tty %default-console-font))
 | 
					                        (cons tty %default-console-font))
 | 
				
			||||||
                      '("tty1" "tty2" "tty3" "tty4" "tty5" "tty6")))
 | 
					                      '("tty1" "tty2" "tty3" "tty4" "tty5" "tty6")))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        (agetty-service (agetty-configuration
 | 
				
			||||||
 | 
					                         (extra-options '("-L")) ; no carrier detect
 | 
				
			||||||
 | 
					                         (term "vt100")
 | 
				
			||||||
 | 
					                         (tty #f))) ; automatic
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        (mingetty-service (mingetty-configuration
 | 
					        (mingetty-service (mingetty-configuration
 | 
				
			||||||
                           (tty "tty1")))
 | 
					                           (tty "tty1")))
 | 
				
			||||||
        (mingetty-service (mingetty-configuration
 | 
					        (mingetty-service (mingetty-configuration
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,7 +2,7 @@
 | 
				
			||||||
;;; Copyright © 2015 David Thompson <davet@gnu.org>
 | 
					;;; Copyright © 2015 David Thompson <davet@gnu.org>
 | 
				
			||||||
;;; Copyright © 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 | 
					;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 | 
				
			||||||
;;; Copyright © 2016, 2017 Julien Lepiller <julien@lepiller.eu>
 | 
					;;; Copyright © 2016, 2017, 2018 Julien Lepiller <julien@lepiller.eu>
 | 
				
			||||||
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
 | 
					;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
 | 
				
			||||||
;;; Copyright © 2017 nee <nee-git@hidamari.blue>
 | 
					;;; Copyright © 2017 nee <nee-git@hidamari.blue>
 | 
				
			||||||
;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
 | 
					;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
 | 
				
			||||||
| 
						 | 
					@ -153,7 +153,9 @@
 | 
				
			||||||
            php-fpm-on-demand-process-manager-configuration-process-idle-timeout
 | 
					            php-fpm-on-demand-process-manager-configuration-process-idle-timeout
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            php-fpm-service-type
 | 
					            php-fpm-service-type
 | 
				
			||||||
            nginx-php-location))
 | 
					            nginx-php-location
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            cat-avatar-generator-service))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;;; Commentary:
 | 
					;;; Commentary:
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -870,3 +872,24 @@ a webserver.")
 | 
				
			||||||
          (string-append "fastcgi_pass unix:" socket ";")
 | 
					          (string-append "fastcgi_pass unix:" socket ";")
 | 
				
			||||||
          "fastcgi_index index.php;"
 | 
					          "fastcgi_index index.php;"
 | 
				
			||||||
          (list "include " nginx-package "/share/nginx/conf/fastcgi.conf;")))))
 | 
					          (list "include " nginx-package "/share/nginx/conf/fastcgi.conf;")))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define* (cat-avatar-generator-service
 | 
				
			||||||
 | 
					          #:key
 | 
				
			||||||
 | 
					          (cache-dir "/var/cache/cat-avatar-generator")
 | 
				
			||||||
 | 
					          (package cat-avatar-generator)
 | 
				
			||||||
 | 
					          (configuration (nginx-server-configuration)))
 | 
				
			||||||
 | 
					  (simple-service
 | 
				
			||||||
 | 
					    'cat-http-server nginx-service-type
 | 
				
			||||||
 | 
					    (list (nginx-server-configuration
 | 
				
			||||||
 | 
					            (inherit configuration)
 | 
				
			||||||
 | 
					            (locations
 | 
				
			||||||
 | 
					              (cons
 | 
				
			||||||
 | 
					                (let ((base (nginx-php-location)))
 | 
				
			||||||
 | 
					                  (nginx-location-configuration
 | 
				
			||||||
 | 
					                    (inherit base)
 | 
				
			||||||
 | 
					                    (body (list (string-append "fastcgi_param CACHE_DIR \""
 | 
				
			||||||
 | 
					                                               cache-dir "\";")
 | 
				
			||||||
 | 
					                                (nginx-location-configuration-body base)))))
 | 
				
			||||||
 | 
					                (nginx-server-configuration-locations configuration)))
 | 
				
			||||||
 | 
					            (root #~(string-append #$package
 | 
				
			||||||
 | 
					                                   "/share/web/cat-avatar-generator"))))))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -381,14 +381,6 @@ You have been warned.  Thanks for being so brave.\x1b[0m
 | 
				
			||||||
                     nvi                          ;:wq!
 | 
					                     nvi                          ;:wq!
 | 
				
			||||||
                     %base-packages))))
 | 
					                     %base-packages))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define* (agetty-default-service #:optional (tty "ttyS0"))
 | 
					 | 
				
			||||||
  "Return an agetty-service on the given TTY"
 | 
					 | 
				
			||||||
  (agetty-service (agetty-configuration
 | 
					 | 
				
			||||||
                   (extra-options '("-L"))
 | 
					 | 
				
			||||||
                   (baud-rate "115200")
 | 
					 | 
				
			||||||
                   (term "vt100")
 | 
					 | 
				
			||||||
                   (tty tty))))
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
(define* (embedded-installation-os bootloader bootloader-target tty
 | 
					(define* (embedded-installation-os bootloader bootloader-target tty
 | 
				
			||||||
                                   #:key (extra-modules '()))
 | 
					                                   #:key (extra-modules '()))
 | 
				
			||||||
  "Return an installation os for embedded systems.
 | 
					  "Return an installation os for embedded systems.
 | 
				
			||||||
| 
						 | 
					@ -401,12 +393,13 @@ The bootloader BOOTLOADER is installed to BOOTLOADER-TARGET."
 | 
				
			||||||
                 (bootloader bootloader)
 | 
					                 (bootloader bootloader)
 | 
				
			||||||
                 (target bootloader-target)))
 | 
					                 (target bootloader-target)))
 | 
				
			||||||
    (kernel linux-libre)
 | 
					    (kernel linux-libre)
 | 
				
			||||||
 | 
					    (kernel-arguments
 | 
				
			||||||
 | 
					     (cons (string-append "console=" tty)
 | 
				
			||||||
 | 
					           (operating-system-user-kernel-arguments installation-os)))
 | 
				
			||||||
    (initrd (lambda (fs . rest)
 | 
					    (initrd (lambda (fs . rest)
 | 
				
			||||||
              (apply base-initrd fs
 | 
					              (apply base-initrd fs
 | 
				
			||||||
                     #:extra-modules extra-modules
 | 
					                     #:extra-modules extra-modules
 | 
				
			||||||
                     rest)))
 | 
					                     rest)))))
 | 
				
			||||||
    (services (cons* (agetty-default-service tty)
 | 
					 | 
				
			||||||
                     (operating-system-user-services installation-os)))))
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define beaglebone-black-installation-os
 | 
					(define beaglebone-black-installation-os
 | 
				
			||||||
  (embedded-installation-os u-boot-beaglebone-black-bootloader
 | 
					  (embedded-installation-os u-boot-beaglebone-black-bootloader
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -93,7 +93,7 @@ make sure the caller can modify them later."
 | 
				
			||||||
    (cond ((null? dirs)
 | 
					    (cond ((null? dirs)
 | 
				
			||||||
           ;; The inputs are all files.
 | 
					           ;; The inputs are all files.
 | 
				
			||||||
           (format (current-error-port)
 | 
					           (format (current-error-port)
 | 
				
			||||||
                   "warning: collision encountered: ~{~a ~}~%"
 | 
					                   "~%warning: collision encountered:~%~{~a~%~}"
 | 
				
			||||||
                   files)
 | 
					                   files)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
           (let ((file (first files)))
 | 
					           (let ((file (first files)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2012, 2013, 2018 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
 | 
					;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
 | 
				
			||||||
;;; Copyright © 2016 David Craven <david@craven.ch>
 | 
					;;; Copyright © 2016 David Craven <david@craven.ch>
 | 
				
			||||||
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
 | 
					;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
 | 
				
			||||||
| 
						 | 
					@ -330,10 +330,12 @@ the expected fields of an <origin> object."
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     (assoc-ref meta "description"))
 | 
					     (assoc-ref meta "description"))
 | 
				
			||||||
    (license
 | 
					    (license
 | 
				
			||||||
     (let ((l (assoc-ref meta "license")))
 | 
					     (match (assoc-ref meta "license")
 | 
				
			||||||
       (or (module-ref (resolve-interface '(guix licenses) #:prefix 'license:)
 | 
					       (#f #f)
 | 
				
			||||||
                       (spdx-string->license l))
 | 
					       (l
 | 
				
			||||||
           (license:fsdg-compatible l))))))
 | 
					        (or (module-ref (resolve-interface '(guix licenses) #:prefix 'license:)
 | 
				
			||||||
 | 
					                        (spdx-string->license l))
 | 
				
			||||||
 | 
					            (license:fsdg-compatible l)))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define* (read-lines #:optional (port (current-input-port)))
 | 
					(define* (read-lines #:optional (port (current-input-port)))
 | 
				
			||||||
  "Read lines from PORT and return them as a list."
 | 
					  "Read lines from PORT and return them as a list."
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,6 +2,7 @@
 | 
				
			||||||
;;; Copyright © 2015, 2017 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2015, 2017 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
 | 
					;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
 | 
				
			||||||
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
 | 
					;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
 | 
				
			||||||
 | 
					;;; Copyright © 2018 Konrad Hinsen <konrad.hinsen@fastmail.net>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -292,6 +293,9 @@ the image."
 | 
				
			||||||
         (option '(#\e "expression") #t #f
 | 
					         (option '(#\e "expression") #t #f
 | 
				
			||||||
                 (lambda (opt name arg result)
 | 
					                 (lambda (opt name arg result)
 | 
				
			||||||
                   (alist-cons 'expression arg result)))
 | 
					                   (alist-cons 'expression arg result)))
 | 
				
			||||||
 | 
					         (option '(#\m "manifest") #t #f
 | 
				
			||||||
 | 
					                 (lambda (opt name arg result)
 | 
				
			||||||
 | 
					                   (alist-cons 'manifest arg result)))
 | 
				
			||||||
         (option '(#\s "system") #t #f
 | 
					         (option '(#\s "system") #t #f
 | 
				
			||||||
                 (lambda (opt name arg result)
 | 
					                 (lambda (opt name arg result)
 | 
				
			||||||
                   (alist-cons 'system arg
 | 
					                   (alist-cons 'system arg
 | 
				
			||||||
| 
						 | 
					@ -344,6 +348,8 @@ Create a bundle of PACKAGE.\n"))
 | 
				
			||||||
  -C, --compression=TOOL compress using TOOL--e.g., \"lzip\""))
 | 
					  -C, --compression=TOOL compress using TOOL--e.g., \"lzip\""))
 | 
				
			||||||
  (display (G_ "
 | 
					  (display (G_ "
 | 
				
			||||||
  -S, --symlink=SPEC     create symlinks to the profile according to SPEC"))
 | 
					  -S, --symlink=SPEC     create symlinks to the profile according to SPEC"))
 | 
				
			||||||
 | 
					  (display (G_ "
 | 
				
			||||||
 | 
					  -m, --manifest=FILE    create a pack with the manifest from FILE"))
 | 
				
			||||||
  (display (G_ "
 | 
					  (display (G_ "
 | 
				
			||||||
      --localstatedir    include /var/guix in the resulting pack"))
 | 
					      --localstatedir    include /var/guix in the resulting pack"))
 | 
				
			||||||
  (newline)
 | 
					  (newline)
 | 
				
			||||||
| 
						 | 
					@ -375,10 +381,21 @@ Create a bundle of PACKAGE.\n"))
 | 
				
			||||||
       (read/eval-package-expression exp))
 | 
					       (read/eval-package-expression exp))
 | 
				
			||||||
      (x #f)))
 | 
					      (x #f)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  (define (manifest-from-args opts)
 | 
				
			||||||
 | 
					    (let ((packages      (filter-map maybe-package-argument opts))
 | 
				
			||||||
 | 
					          (manifest-file (assoc-ref opts 'manifest)))
 | 
				
			||||||
 | 
					      (cond
 | 
				
			||||||
 | 
					       ((and manifest-file (not (null? packages)))
 | 
				
			||||||
 | 
					        (leave (G_ "both a manifest and a package list were given~%")))
 | 
				
			||||||
 | 
					       (manifest-file
 | 
				
			||||||
 | 
					        (let ((user-module (make-user-module '((guix profiles) (gnu)))))
 | 
				
			||||||
 | 
					          (load* manifest-file user-module)))
 | 
				
			||||||
 | 
					       (else (packages->manifest packages)))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  (with-error-handling
 | 
					  (with-error-handling
 | 
				
			||||||
    (parameterize ((%graft? (assoc-ref opts 'graft?)))
 | 
					    (parameterize ((%graft? (assoc-ref opts 'graft?)))
 | 
				
			||||||
      (let* ((dry-run?    (assoc-ref opts 'dry-run?))
 | 
					      (let* ((dry-run?    (assoc-ref opts 'dry-run?))
 | 
				
			||||||
             (packages    (filter-map maybe-package-argument opts))
 | 
					             (manifest    (manifest-from-args opts))
 | 
				
			||||||
             (pack-format (assoc-ref opts 'format))
 | 
					             (pack-format (assoc-ref opts 'format))
 | 
				
			||||||
             (name        (string-append (symbol->string pack-format)
 | 
					             (name        (string-append (symbol->string pack-format)
 | 
				
			||||||
                                         "-pack"))
 | 
					                                         "-pack"))
 | 
				
			||||||
| 
						 | 
					@ -397,7 +414,7 @@ Create a bundle of PACKAGE.\n"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          (run-with-store store
 | 
					          (run-with-store store
 | 
				
			||||||
            (mlet* %store-monad ((profile (profile-derivation
 | 
					            (mlet* %store-monad ((profile (profile-derivation
 | 
				
			||||||
                                           (packages->manifest packages)
 | 
					                                           manifest
 | 
				
			||||||
                                           #:target target))
 | 
					                                           #:target target))
 | 
				
			||||||
                                 (drv (build-image name profile
 | 
					                                 (drv (build-image name profile
 | 
				
			||||||
                                                   #:target
 | 
					                                                   #:target
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -79,4 +79,23 @@
 | 
				
			||||||
         (equal? (origin-sha256 (package-source pkg))
 | 
					         (equal? (origin-sha256 (package-source pkg))
 | 
				
			||||||
                 (base32 "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i")))))
 | 
					                 (base32 "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i")))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(test-equal "alist->package with false license"  ;<https://bugs.gnu.org/30470>
 | 
				
			||||||
 | 
					  'license-is-false
 | 
				
			||||||
 | 
					  (let* ((meta '(("name" . "hello")
 | 
				
			||||||
 | 
					                 ("version" . "2.10")
 | 
				
			||||||
 | 
					                 ("source" . (("method" . "url-fetch")
 | 
				
			||||||
 | 
					                              ("uri"    . "mirror://gnu/hello/hello-2.10.tar.gz")
 | 
				
			||||||
 | 
					                              ("sha256" .
 | 
				
			||||||
 | 
					                               (("base32" .
 | 
				
			||||||
 | 
					                                 "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i")))))
 | 
				
			||||||
 | 
					                 ("build-system" . "gnu")
 | 
				
			||||||
 | 
					                 ("home-page" . "https://gnu.org")
 | 
				
			||||||
 | 
					                 ("synopsis" . "Say hi")
 | 
				
			||||||
 | 
					                 ("description" . "This package says hi.")
 | 
				
			||||||
 | 
					                 ("license" . #f))))
 | 
				
			||||||
 | 
					    ;; Note: Use 'or' because comparing with #f otherwise succeeds when
 | 
				
			||||||
 | 
					    ;; there's an exception instead of an actual #f.
 | 
				
			||||||
 | 
					    (or (package-license (alist->package meta))
 | 
				
			||||||
 | 
					        'license-is-false)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(test-end "import-utils")
 | 
					(test-end "import-utils")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue