b1c96f18e7489e4fc945496a56d961bbfc484e44
[jackhill/guix/guix.git] / gnu / packages / package-management.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
3 ;;; Copyright © 2015, 2017, 2020 Ricardo Wurmus <rekado@elephly.net>
4 ;;; Copyright © 2017 Muriithi Frederick Muriuki <fredmanglis@gmail.com>
5 ;;; Copyright © 2017, 2018 Oleg Pykhalov <go.wigust@gmail.com>
6 ;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
7 ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
8 ;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
9 ;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
10 ;;; Copyright © 2018 Sou Bunnbu <iyzsong@member.fsf.org>
11 ;;; Copyright © 2018, 2019 Eric Bavier <bavier@member.fsf.org>
12 ;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
13 ;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
14 ;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
15 ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
16 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
17 ;;;
18 ;;; This file is part of GNU Guix.
19 ;;;
20 ;;; GNU Guix is free software; you can redistribute it and/or modify it
21 ;;; under the terms of the GNU General Public License as published by
22 ;;; the Free Software Foundation; either version 3 of the License, or (at
23 ;;; your option) any later version.
24 ;;;
25 ;;; GNU Guix is distributed in the hope that it will be useful, but
26 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
27 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 ;;; GNU General Public License for more details.
29 ;;;
30 ;;; You should have received a copy of the GNU General Public License
31 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
32
33 (define-module (gnu packages package-management)
34 #:use-module (gnu packages)
35 #:use-module (gnu packages acl)
36 #:use-module (gnu packages attr)
37 #:use-module (gnu packages avahi)
38 #:use-module (gnu packages autotools)
39 #:use-module (gnu packages backup)
40 #:use-module (gnu packages base)
41 #:use-module (gnu packages bash)
42 #:use-module (gnu packages bdw-gc)
43 #:use-module (gnu packages bison)
44 #:use-module (gnu packages boost)
45 #:use-module (gnu packages bootstrap) ;for 'bootstrap-guile-origin'
46 #:use-module (gnu packages check)
47 #:use-module (gnu packages compression)
48 #:use-module (gnu packages cpio)
49 #:use-module (gnu packages crypto)
50 #:use-module (gnu packages curl)
51 #:use-module (gnu packages dbm)
52 #:use-module (gnu packages docbook)
53 #:use-module (gnu packages file)
54 #:use-module (gnu packages gettext)
55 #:use-module (gnu packages glib)
56 #:use-module (gnu packages gnome)
57 #:use-module (gnu packages gnupg)
58 #:use-module (gnu packages graphviz)
59 #:use-module (gnu packages gtk)
60 #:use-module (gnu packages guile)
61 #:use-module (gnu packages guile-xyz)
62 #:use-module (gnu packages hurd)
63 #:use-module (gnu packages libedit)
64 #:use-module (gnu packages linux)
65 #:use-module (gnu packages lisp)
66 #:use-module (gnu packages man)
67 #:use-module (gnu packages nettle)
68 #:use-module (gnu packages networking)
69 #:use-module (gnu packages nss)
70 #:use-module (gnu packages patchutils)
71 #:use-module (gnu packages perl)
72 #:use-module (gnu packages perl-check)
73 #:use-module (gnu packages pkg-config)
74 #:use-module (gnu packages popt)
75 #:use-module (gnu packages python)
76 #:use-module (gnu packages python-web)
77 #:use-module (gnu packages python-xyz)
78 #:use-module (gnu packages serialization)
79 #:use-module (gnu packages sqlite)
80 #:use-module (gnu packages ssh)
81 #:use-module (gnu packages texinfo)
82 #:use-module (gnu packages time)
83 #:use-module (gnu packages tls)
84 #:use-module (gnu packages vim)
85 #:use-module (gnu packages virtualization)
86 #:use-module (gnu packages web)
87 #:use-module (gnu packages xml)
88 #:use-module (gnu packages xorg)
89 #:use-module (guix build-system glib-or-gtk)
90 #:use-module (guix build-system gnu)
91 #:use-module (guix build-system meson)
92 #:use-module (guix build-system python)
93 #:use-module (guix download)
94 #:use-module (guix gexp)
95 #:use-module (guix git-download)
96 #:use-module ((guix licenses) #:prefix license:)
97 #:use-module (guix packages)
98 #:use-module (guix utils)
99 #:use-module (ice-9 match)
100 #:use-module (srfi srfi-1))
101
102 (define (boot-guile-uri arch)
103 "Return the URI for the bootstrap Guile tarball for ARCH."
104 (cond ((string=? "armhf" arch)
105 (string-append "http://alpha.gnu.org/gnu/guix/bootstrap/"
106 arch "-linux"
107 "/20150101/guile-2.0.11.tar.xz"))
108 ((string=? "aarch64" arch)
109 (string-append "http://alpha.gnu.org/gnu/guix/bootstrap/"
110 arch "-linux/20170217/guile-2.0.14.tar.xz"))
111 (else
112 (string-append "http://alpha.gnu.org/gnu/guix/bootstrap/"
113 arch "-linux"
114 "/20131110/guile-2.0.9.tar.xz"))))
115
116 (define-public guix
117 ;; Latest version of Guix, which may or may not correspond to a release.
118 ;; Note: the 'update-guix-package.scm' script expects this definition to
119 ;; start precisely like this.
120 (let ((version "1.1.0")
121 (commit "ab9e30039d9312285ea3f4ed43f81c9c2c0dae08")
122 (revision 9))
123 (package
124 (name "guix")
125
126 (version (if (zero? revision)
127 version
128 (string-append version "-"
129 (number->string revision)
130 "." (string-take commit 7))))
131 (source (origin
132 (method git-fetch)
133 (uri (git-reference
134 (url "https://git.savannah.gnu.org/r/guix.git")
135 (commit commit)))
136 (sha256
137 (base32
138 "0qb2haf5dyq5x1hcjyx58v455lzi6ffa68ldm0615jy25w5phmxq"))
139 (file-name (string-append "guix-" version "-checkout"))))
140 (build-system gnu-build-system)
141 (arguments
142 `(#:configure-flags (list
143 "--localstatedir=/var"
144 "--sysconfdir=/etc"
145 (string-append "--with-bash-completion-dir="
146 (assoc-ref %outputs "out")
147 "/etc/bash_completion.d")
148
149 ;; Set 'DOT_USER_PROGRAM' to the empty string so
150 ;; we don't keep a reference to Graphviz, whose
151 ;; closure is pretty big (too big for the Guix
152 ;; system installation image.)
153 "ac_cv_path_DOT_USER_PROGRAM=dot"
154
155 ;; To avoid problems with the length of shebangs,
156 ;; choose a fixed-width and short directory name
157 ;; for tests.
158 "ac_cv_guix_test_root=/tmp/guix-tests"
159 ,@(if (hurd-target?) '("--with-courage") '()))
160 #:parallel-tests? #f ;work around <http://bugs.gnu.org/21097>
161
162 #:modules ((guix build gnu-build-system)
163 (guix build utils)
164 (srfi srfi-26)
165 (ice-9 popen)
166 (ice-9 rdelim))
167
168 #:phases (modify-phases %standard-phases
169 (replace 'bootstrap
170 (lambda _
171 ;; Make sure 'msgmerge' can modify the PO files.
172 (for-each (lambda (po)
173 (chmod po #o666))
174 (find-files "." "\\.po$"))
175
176 (patch-shebang "build-aux/git-version-gen")
177
178 (call-with-output-file ".tarball-version"
179 (lambda (port)
180 (display ,version port)))
181
182 ;; Install SysV init files to $(prefix)/etc rather
183 ;; than to /etc.
184 (substitute* "nix/local.mk"
185 (("^sysvinitservicedir = .*$")
186 (string-append "sysvinitservicedir = \
187 $(prefix)/etc/init.d\n")))
188
189 (invoke "sh" "bootstrap")))
190 (add-before 'build 'use-host-compressors
191 (lambda* (#:key inputs target #:allow-other-keys)
192 (when target
193 ;; Use host compressors.
194 (let ((bzip2 (assoc-ref inputs "bzip2"))
195 (gzip (assoc-ref inputs "gzip"))
196 (xz (assoc-ref inputs "xz")))
197 (substitute* "guix/config.scm"
198 (("\"[^\"]*/bin/bzip2")
199 (string-append "\"" bzip2 "/bin/bzip2"))
200 (("\"[^\"]*/bin/gzip") gzip
201 (string-append "\"" gzip "/bin/gzip"))
202 (("\"[^\"]*/bin//xz")
203 (string-append "\"" xz "/bin/xz")))))
204 #t))
205 (add-before 'check 'copy-bootstrap-guile
206 (lambda* (#:key system target inputs #:allow-other-keys)
207 ;; Copy the bootstrap guile tarball in the store
208 ;; used by the test suite.
209 (define (intern file recursive?)
210 ;; Note: don't use 'guix download' here because we
211 ;; need to set the 'recursive?' argument.
212 (define base
213 (strip-store-file-name file))
214
215 (define code
216 `(begin
217 (use-modules (guix))
218 (with-store store
219 (let* ((item (add-to-store store ,base
220 ,recursive?
221 "sha256" ,file))
222 (root (string-append "/tmp/gc-root-"
223 (basename item))))
224 ;; Register a root so that the GC tests
225 ;; don't delete those.
226 (symlink item root)
227 (add-indirect-root store root)))))
228
229 (invoke "./test-env" "guile" "-c"
230 (object->string code)))
231
232 (unless target
233 (intern (assoc-ref inputs "boot-guile") #f)
234
235 ;; On x86_64 some tests need the i686 Guile.
236 ,@(if (and (not (%current-target-system))
237 (string=? (%current-system)
238 "x86_64-linux"))
239 '((intern (assoc-ref inputs "boot-guile/i686") #f))
240 '())
241
242 ;; Copy the bootstrap executables.
243 (for-each (lambda (input)
244 (intern (assoc-ref inputs input) #t))
245 '("bootstrap/bash" "bootstrap/mkdir"
246 "bootstrap/tar" "bootstrap/xz")))
247 #t))
248 (add-after 'unpack 'disable-failing-tests
249 ;; XXX FIXME: These tests fail within the build container.
250 (lambda _
251 (substitute* "tests/syscalls.scm"
252 (("^\\(test-(assert|equal) \"(clone|setns|pivot-root)\"" all)
253 (string-append "(test-skip 1)\n" all)))
254 (substitute* "tests/containers.scm"
255 (("^\\(test-(assert|equal)" all)
256 (string-append "(test-skip 1)\n" all)))
257 (when (file-exists? "tests/guix-environment-container.sh")
258 (substitute* "tests/guix-environment-container.sh"
259 (("guix environment --version")
260 "exit 77\n")))
261 #t))
262 (add-before 'check 'set-SHELL
263 (lambda _
264 ;; 'guix environment' tests rely on 'SHELL' having a
265 ;; correct value, so set it.
266 (setenv "SHELL" (which "sh"))
267 #t))
268 (add-after 'install 'wrap-program
269 (lambda* (#:key inputs native-inputs outputs target
270 #:allow-other-keys)
271 ;; Make sure the 'guix' command finds GnuTLS,
272 ;; Guile-JSON, and Guile-Git automatically.
273 (let* ((out (assoc-ref outputs "out"))
274 (guile ,@(if (%current-target-system)
275 '((assoc-ref native-inputs "guile"))
276 '((assoc-ref inputs "guile"))))
277 (gcrypt (assoc-ref inputs "guile-gcrypt"))
278 (json (assoc-ref inputs "guile-json"))
279 (sqlite (assoc-ref inputs "guile-sqlite3"))
280 (git (assoc-ref inputs "guile-git"))
281 (bs (assoc-ref inputs
282 "guile-bytestructures"))
283 (ssh (assoc-ref inputs "guile-ssh"))
284 (gnutls (assoc-ref inputs "gnutls"))
285 (locales (assoc-ref inputs "glibc-utf8-locales"))
286 (deps (list gcrypt json sqlite gnutls
287 git bs ssh))
288 (effective
289 (read-line
290 (open-pipe* OPEN_READ
291 (string-append guile "/bin/guile")
292 "-c" "(display (effective-version))")))
293 (path (string-join
294 (map (cut string-append <>
295 "/share/guile/site/"
296 effective)
297 (delete #f deps))
298 ":"))
299 (gopath (string-join
300 (map (cut string-append <>
301 "/lib/guile/" effective
302 "/site-ccache")
303 (delete #f deps))
304 ":"))
305 (locpath (string-append locales "/lib/locale")))
306
307 (wrap-program (string-append out "/bin/guix")
308 `("GUILE_LOAD_PATH" ":" prefix (,path))
309 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath))
310 `("GUIX_LOCPATH" ":" suffix (,locpath)))
311
312 (when target
313 ;; XXX Touching wrap-program rebuilds world
314 (let ((bash (assoc-ref inputs "bash")))
315 (substitute* (string-append out "/bin/guix")
316 (("^#!.*/bash") (string-append "#! " bash "/bin/bash")))))
317 #t))))))
318 (native-inputs `(("pkg-config" ,pkg-config)
319
320 ;; Guile libraries are needed here for
321 ;; cross-compilation.
322 ("guile" ,guile-3.0)
323 ("gnutls" ,gnutls)
324 ("guile-gcrypt" ,guile-gcrypt)
325 ("guile-json" ,guile-json-4)
326 ("guile-sqlite3" ,guile-sqlite3)
327 ("guile-ssh" ,guile-ssh)
328 ("guile-git" ,guile-git)
329
330 ;; XXX: Keep the development inputs here even though
331 ;; they're unnecessary, just so that 'guix environment
332 ;; guix' always contains them.
333 ("autoconf" ,autoconf-wrapper)
334 ("automake" ,automake)
335 ("gettext" ,gettext-minimal)
336 ("texinfo" ,texinfo)
337 ("graphviz" ,graphviz)
338 ("help2man" ,help2man)
339 ("po4a" ,po4a)))
340 (inputs
341 `(("bzip2" ,bzip2)
342 ("gzip" ,gzip)
343 ("zlib" ,zlib) ;for 'guix publish'
344 ("lzlib" ,lzlib) ;for 'guix publish' and 'guix substitute'
345
346 ("sqlite" ,sqlite)
347 ("libgcrypt" ,libgcrypt)
348
349 ("guile" ,guile-3.0)
350
351 ;; Some of the tests use "unshare" when it is available.
352 ("util-linux" ,util-linux)
353
354 ;; Many tests rely on the 'guile-bootstrap' package, which is why we
355 ;; have it here.
356 ("boot-guile" ,(bootstrap-guile-origin (%current-system)))
357 ,@(if (and (not (%current-target-system))
358 (string=? (%current-system) "x86_64-linux"))
359 `(("boot-guile/i686" ,(bootstrap-guile-origin "i686-linux")))
360 '())
361 ,@(if (%current-target-system)
362 `(("bash" ,bash-minimal)
363 ("xz" ,xz))
364 '())
365
366 ;; Tests also rely on these bootstrap executables.
367 ("bootstrap/bash" ,(bootstrap-executable "bash" (%current-system)))
368 ("bootstrap/mkdir" ,(bootstrap-executable "mkdir" (%current-system)))
369 ("bootstrap/tar" ,(bootstrap-executable "tar" (%current-system)))
370 ("bootstrap/xz" ,(bootstrap-executable "xz" (%current-system)))
371
372 ("glibc-utf8-locales" ,glibc-utf8-locales)))
373 (propagated-inputs
374 `(("gnutls" ,(if (%current-target-system) gnutls-3.6.14 guile3.0-gnutls))
375 ("guile-gcrypt" ,guile-gcrypt)
376 ("guile-json" ,guile-json-4)
377 ("guile-sqlite3" ,guile-sqlite3)
378 ("guile-ssh" ,guile-ssh)
379 ("guile-git" ,guile-git)))
380
381 (home-page "https://www.gnu.org/software/guix/")
382 (synopsis "Functional package manager for installed software packages and versions")
383 (description
384 "GNU Guix is a functional package manager for the GNU system, and is
385 also a distribution thereof. It includes a virtual machine image. Besides
386 the usual package management features, it also supports transactional
387 upgrades and roll-backs, per-user profiles, and much more. It is based on
388 the Nix package manager.")
389 (license license:gpl3+)
390 (properties '((ftp-server . "alpha.gnu.org"))))))
391
392 (define-public guix-daemon
393 ;; This package is for internal consumption: it allows us to quickly build
394 ;; the 'guix-daemon' program and use that in (guix self), used by 'guix
395 ;; pull'.
396 (package
397 (inherit guix)
398 (properties `((hidden? . #t)))
399 (name "guix-daemon")
400
401 ;; Use a minimum set of dependencies.
402 (native-inputs
403 (fold alist-delete (package-native-inputs guix)
404 '("po4a" "graphviz" "help2man")))
405 (inputs
406 `(("gnutls" ,guile3.0-gnutls)
407 ("guile-git" ,guile-git)
408 ("guile-json" ,guile-json-3)
409 ("guile-gcrypt" ,guile-gcrypt)
410 ,@(fold alist-delete (package-inputs guix)
411 '("boot-guile" "boot-guile/i686" "util-linux"))))
412
413 (propagated-inputs '())
414
415 (arguments
416 (substitute-keyword-arguments (package-arguments guix)
417 ((#:configure-flags flags '())
418 ;; Pretend we have those libraries; we don't actually need them.
419 `(append ,flags
420 '("guix_cv_have_recent_guile_sqlite3=yes"
421 "guix_cv_have_recent_guile_ssh=yes")))
422 ((#:tests? #f #f)
423 #f)
424 ((#:phases phases '%standard-phases)
425 `(modify-phases ,phases
426 (add-after 'unpack 'change-default-guix
427 (lambda _
428 ;; We need to tell 'guix-daemon' which 'guix' command to use.
429 ;; Here we use a questionable hack where we hard-code root's
430 ;; current guix, which could be wrong (XXX). Note that scripts
431 ;; like 'guix perform-download' do not run as root so we assume
432 ;; that they have access to /var/guix/profiles/per-user/root.
433 (substitute* "nix/libstore/globals.cc"
434 (("guixProgram = (.*)nixBinDir + \"/guix\"" _ before)
435 (string-append "guixProgram = " before
436 "/var/guix/profiles/per-user/root\
437 /current-guix/bin/guix")))
438 #t))
439 (replace 'build
440 (lambda _
441 (invoke "make" "nix/libstore/schema.sql.hh")
442 (invoke "make" "-j" (number->string
443 (parallel-job-count))
444 "guix-daemon")))
445 (delete 'copy-bootstrap-guile)
446 (replace 'install
447 (lambda* (#:key outputs #:allow-other-keys)
448 (invoke "make" "install-binPROGRAMS")))
449 (delete 'wrap-program)))))))
450
451
452 (define-public guile2.2-guix
453 (package
454 (inherit guix)
455 (name "guile2.2-guix")
456 (native-inputs
457 `(("guile" ,guile-2.2)
458 ("gnutls" ,guile2.2-gnutls)
459 ("guile-gcrypt" ,guile2.2-gcrypt)
460 ("guile-json" ,guile2.2-json)
461 ("guile-sqlite3" ,guile2.2-sqlite3)
462 ("guile-ssh" ,guile2.2-ssh)
463 ("guile-git" ,guile2.2-git)
464 ,@(fold alist-delete (package-native-inputs guix)
465 '("guile" "gnutls" "guile-gcrypt" "guile-json"
466 "guile-sqlite3" "guile-ssh" "guile-git"))))
467 (inputs
468 `(("guile" ,guile-2.2)
469 ,@(alist-delete "guile" (package-inputs guix))))
470 (propagated-inputs
471 `(("gnutls" ,gnutls)
472 ("guile-gcrypt" ,guile2.2-gcrypt)
473 ("guile-json" ,guile2.2-json)
474 ("guile-sqlite3" ,guile2.2-sqlite3)
475 ("guile-ssh" ,guile2.2-ssh)
476 ("guile-git" ,guile2.2-git)))))
477
478 (define-public guile3.0-guix
479 (deprecated-package "guile3.0-guix" guix))
480
481 (define-public guix-minimal
482 ;; A version of Guix which is built with the minimal set of dependencies, as
483 ;; outlined in the README "Requirements" section. Intended as a CI job, so
484 ;; marked as hidden.
485 (hidden-package
486 (package
487 (inherit guix)
488 (name "guix-minimal")
489 (inputs
490 `(("guile" ,guile-2.2)
491 ,@(alist-delete "guile" (package-inputs guix))))
492 (propagated-inputs
493 (fold alist-delete
494 (package-propagated-inputs guix)
495 '("guile-ssh"))))))
496
497 (define (source-file? file stat)
498 "Return true if FILE is likely a source file, false if it is a typical
499 generated file."
500 (define (wrong-extension? file)
501 (or (string-suffix? "~" file)
502 (member (file-extension file)
503 '("o" "a" "lo" "so" "go"))))
504
505 (match (basename file)
506 ((or ".git" "autom4te.cache" "configure" "Makefile" "Makefile.in" ".libs")
507 #f)
508 ((? wrong-extension?)
509 #f)
510 (_
511 #t)))
512
513 (define-public current-guix-package
514 ;; This parameter allows callers to override the package that 'current-guix'
515 ;; returns. This is useful when 'current-guix' cannot compute it by itself,
516 ;; for instance because it's not running from a source code checkout.
517 (make-parameter #f))
518
519 (define-public current-guix
520 (let* ((repository-root (delay (canonicalize-path
521 (string-append (current-source-directory)
522 "/../.."))))
523 (select? (delay (or (git-predicate (force repository-root))
524 source-file?))))
525 (lambda ()
526 "Return a package representing Guix built from the current source tree.
527 This works by adding the current source tree to the store (after filtering it
528 out) and returning a package that uses that as its 'source'."
529 (or (current-guix-package)
530 (package
531 (inherit guix)
532 (version (string-append (package-version guix) "+"))
533 (source (local-file (force repository-root) "guix-current"
534 #:recursive? #t
535 #:select? (force select?))))))))
536
537 \f
538 ;;;
539 ;;; Other tools.
540 ;;;
541
542 (define-public nix
543 (package
544 (name "nix")
545 (version "2.3.5")
546 (source (origin
547 (method url-fetch)
548 (uri (string-append "http://nixos.org/releases/nix/nix-"
549 version "/nix-" version ".tar.xz"))
550 (sha256
551 (base32
552 "1hbqsrp1ii2sfq8x2mahjrl2182qck76n8blrl1jfz3xq99m6i15"))))
553 (build-system gnu-build-system)
554 (native-inputs `(("pkg-config" ,pkg-config)))
555 (inputs `(("boost" ,boost)
556 ("brotli" ,brotli)
557 ("bzip2" ,bzip2)
558 ("curl" ,curl)
559 ("editline" ,editline)
560 ("libgc" ,libgc)
561 ("libseccomp" ,libseccomp)
562 ("libsodium" ,libsodium)
563 ("openssl" ,openssl)
564 ("sqlite" ,sqlite)
565 ("xz" ,xz)))
566 (home-page "https://nixos.org/nix/")
567 (synopsis "The Nix package manager")
568 (description
569 "Nix is a purely functional package manager. This means that it treats
570 packages like values in purely functional programming languages such as
571 Haskell—they are built by functions that don't have side-effects, and they
572 never change after they have been built. Nix stores packages in the Nix
573 store, usually the directory /nix/store, where each package has its own unique
574 sub-directory.")
575 (license license:lgpl2.1+)))
576
577 (define-public stow
578 (package
579 (name "stow")
580 (version "2.3.1")
581 (source (origin
582 (method url-fetch)
583 (uri (string-append "mirror://gnu/stow/stow-"
584 version ".tar.gz"))
585 (sha256
586 (base32
587 "0jrxy12ywn7smdzdnvwzjw77l6knx6jkj2rckgykg1dpf6bdkm89"))))
588 (build-system gnu-build-system)
589 (inputs
590 `(("perl" ,perl)))
591 (native-inputs
592 `(("perl-test-simple" ,perl-test-simple)
593 ("perl-test-output" ,perl-test-output)
594 ("perl-capture-tiny" ,perl-capture-tiny)
595 ("perl-io-stringy" ,perl-io-stringy)))
596 (home-page "https://www.gnu.org/software/stow/")
597 (synopsis "Managing installed software packages")
598 (description
599 "GNU Stow is a symlink manager. It generates symlinks to directories
600 of data and makes them appear to be merged into the same directory. It is
601 typically used for managing software packages installed from source, by
602 letting you install them apart in distinct directories and then create
603 symlinks to the files in a common directory such as /usr/local.")
604 (license license:gpl3+)))
605
606 (define-public rpm
607 (package
608 (name "rpm")
609 (version "4.14.2.1")
610 (source (origin
611 (method url-fetch)
612 (uri (string-append "http://ftp.rpm.org/releases/rpm-"
613 (version-major+minor version) ".x/rpm-"
614 version ".tar.bz2"))
615 (sha256
616 (base32
617 "1nmck2fq9h85fgs3zhh6w1avlw5y16cbz5khd459ry3jfd5w4f8i"))))
618 (build-system gnu-build-system)
619 (arguments
620 '(#:configure-flags '("--with-external-db" ;use the system's bdb
621 "--enable-python"
622 "--without-lua")
623 #:phases (modify-phases %standard-phases
624 (add-before 'configure 'set-nss-library-path
625 (lambda* (#:key inputs #:allow-other-keys)
626 (let ((nss (assoc-ref inputs "nss")))
627 (setenv "LIBRARY_PATH"
628 (string-append (getenv "LIBRARY_PATH") ":"
629 nss "/lib/nss"))
630 #t))))))
631 (native-inputs
632 `(("pkg-config" ,pkg-config)))
633 (inputs
634 `(("python" ,python)
635 ("xz" ,xz)
636 ("bdb" ,bdb)
637 ("popt" ,popt)
638 ("nss" ,nss)
639 ("nspr" ,nspr)
640 ("libarchive" ,libarchive)
641 ("file" ,file)
642 ("bzip2" ,bzip2)
643 ("zlib" ,zlib)
644 ("cpio" ,cpio)))
645 (home-page "https://rpm.org/")
646 (synopsis "The RPM Package Manager")
647 (description
648 "The RPM Package Manager (RPM) is a command-line driven package
649 management system capable of installing, uninstalling, verifying, querying,
650 and updating computer software packages. Each software package consists of an
651 archive of files along with information about the package like its version, a
652 description. There is also a library permitting developers to manage such
653 transactions from C or Python.")
654
655 ;; The whole is GPLv2+; librpm itself is dual-licensed LGPLv2+ | GPLv2+.
656 (license license:gpl2+)))
657
658 (define-public python-anaconda-client
659 (package
660 (name "python-anaconda-client")
661 (version "1.6.3")
662 (source
663 (origin
664 (method git-fetch)
665 (uri (git-reference
666 (url "https://github.com/Anaconda-Platform/anaconda-client")
667 (commit version)))
668 (file-name (git-file-name name version))
669 (sha256
670 (base32
671 "0w1bfxnydjl9qp53r2gcvr6vlpdqqilcrzqxrll9sgg6vwdyiyyp"))))
672 (build-system python-build-system)
673 (propagated-inputs
674 `(("python-pyyaml" ,python-pyyaml)
675 ("python-requests" ,python-requests)
676 ("python-clyent" ,python-clyent)))
677 (native-inputs
678 `(("python-pytz" ,python-pytz)
679 ("python-dateutil" ,python-dateutil)
680 ("python-mock" ,python-mock)
681 ("python-coverage" ,python-coverage)
682 ("python-pillow" ,python-pillow)))
683 (arguments
684 `(#:phases
685 (modify-phases %standard-phases
686 ;; This is needed for some tests.
687 (add-before 'check 'set-up-home
688 (lambda* _ (setenv "HOME" "/tmp") #t))
689 (add-before 'check 'remove-network-tests
690 (lambda* _
691 ;; Remove tests requiring a network connection
692 (let ((network-tests '("tests/test_upload.py"
693 "tests/test_authorizations.py"
694 "tests/test_login.py"
695 "tests/test_whoami.py"
696 "utils/notebook/tests/test_data_uri.py"
697 "utils/notebook/tests/test_base.py"
698 "utils/notebook/tests/test_downloader.py"
699 "inspect_package/tests/test_conda.py")))
700 (with-directory-excursion "binstar_client"
701 (for-each delete-file network-tests)))
702 #t)))))
703 (home-page "https://github.com/Anaconda-Platform/anaconda-client")
704 (synopsis "Anaconda Cloud command line client library")
705 (description
706 "Anaconda Cloud command line client library provides an interface to
707 Anaconda Cloud. Anaconda Cloud is useful for sharing packages, notebooks and
708 environments.")
709 (license license:bsd-3)))
710
711 (define-public python2-anaconda-client
712 (package-with-python2 python-anaconda-client))
713
714 (define-public python-conda
715 (package
716 (name "python-conda")
717 (version "4.3.16")
718 (source
719 (origin
720 (method git-fetch)
721 (uri (git-reference
722 (url "https://github.com/conda/conda")
723 (commit version)))
724 (file-name (git-file-name name version))
725 (sha256
726 (base32
727 "1qwy0awx4qf2pbk8z2b7q6wdcq7mvwpxxjhg27mbirdvs5hw7hb2"))))
728 (build-system python-build-system)
729 (arguments
730 `(#:phases
731 (modify-phases %standard-phases
732 (add-before 'build 'create-version-file
733 (lambda _
734 (with-output-to-file "conda/.version"
735 (lambda () (display ,version)))
736 #t))
737 (add-before 'check 'remove-failing-tests
738 (lambda _
739 ;; These tests require internet/network access
740 (let ((network-tests '("test_cli.py"
741 "test_create.py"
742 "test_export.py"
743 "test_fetch.py"
744 "test_history.py"
745 "test_info.py"
746 "test_install.py"
747 "test_priority.py"
748 "conda_env/test_cli.py"
749 "conda_env/test_create.py"
750 "conda_env/specs/test_notebook.py"
751 "conda_env/utils/test_notebooks.py"
752 "core/test_index.py"
753 "core/test_repodata.py")))
754 (with-directory-excursion "tests"
755 (for-each delete-file network-tests)
756
757 ;; FIXME: This test creates a file, then deletes it and tests
758 ;; that the file was deleted. For some reason it fails when
759 ;; building with guix, but does not when you run it in the
760 ;; directory left when you build with the --keep-failed
761 ;; option
762 (delete-file "gateways/disk/test_delete.py")
763 ;; This file is no longer writable after downloading with 'git-fetch'
764 (make-file-writable "conda_env/support/saved-env/environment.yml")
765 #t))))
766 (replace 'check
767 (lambda _
768 (setenv "HOME" "/tmp")
769 (invoke "py.test"))))))
770 (native-inputs
771 `(("python-cytoolz" ,python-cytoolz)
772 ("python-ruamel.yaml" ,python-ruamel.yaml)
773 ("python-requests" ,python-requests)
774 ("python-pycosat" ,python-pycosat)
775 ("python-pytest" ,python-pytest)
776 ("python-responses" ,python-responses)
777 ("python-pyyaml" ,python-pyyaml)
778 ("python-anaconda-client" ,python-anaconda-client)))
779 (home-page "https://github.com/conda/conda")
780 (synopsis "Cross-platform, OS-agnostic, system-level binary package manager")
781 (description
782 "Conda is a cross-platform, Python-agnostic binary package manager. It
783 is the package manager used by Anaconda installations, but it may be used for
784 other systems as well. Conda makes environments first-class citizens, making
785 it easy to create independent environments even for C libraries. Conda is
786 written entirely in Python.
787
788 This package provides Conda as a library.")
789 (license license:bsd-3)))
790
791 (define-public python2-conda
792 (let ((base (package-with-python2
793 (strip-python2-variant python-conda))))
794 (package (inherit base)
795 (native-inputs
796 `(("python2-enum34" ,python2-enum34)
797 ,@(package-native-inputs base))))))
798
799 (define-public conda
800 (package (inherit python-conda)
801 (name "conda")
802 (arguments
803 (substitute-keyword-arguments (package-arguments python-conda)
804 ((#:phases phases)
805 `(modify-phases ,phases
806 (replace 'build
807 (lambda* (#:key outputs #:allow-other-keys)
808 ;; This test fails when run before installation.
809 (delete-file "tests/test_activate.py")
810
811 ;; Fix broken defaults
812 (substitute* "conda/base/context.py"
813 (("return sys.prefix")
814 (string-append "return \"" (assoc-ref outputs "out") "\""))
815 (("return (prefix_is_writable\\(self.root_prefix\\))" _ match)
816 (string-append "return False if self.root_prefix == self.conda_prefix else "
817 match)))
818
819 ;; The util/setup-testing.py is used to build conda in
820 ;; application form, rather than the default, library form.
821 ;; With this, we are able to run commands like `conda --help`
822 ;; directly on the command line
823 (invoke "python" "utils/setup-testing.py" "build_py")))
824 (replace 'install
825 (lambda* (#:key inputs outputs #:allow-other-keys)
826 (let* ((out (assoc-ref outputs "out"))
827 (target (string-append out "/lib/python"
828 (python-version
829 (assoc-ref inputs "python"))
830 "/site-packages/")))
831 ;; The installer aborts if the target directory is not on
832 ;; PYTHONPATH.
833 (setenv "PYTHONPATH"
834 (string-append target ":" (getenv "PYTHONPATH")))
835
836 ;; And it aborts if the directory doesn't exist.
837 (mkdir-p target)
838 (invoke "python" "utils/setup-testing.py" "install"
839 (string-append "--prefix=" out)))))
840 ;; The "activate" and "deactivate" scripts don't need wrapping.
841 ;; They also break when they are renamed.
842 (add-after 'wrap 'undo-wrap
843 (lambda* (#:key outputs #:allow-other-keys)
844 (with-directory-excursion (string-append (assoc-ref outputs "out") "/bin/")
845 (delete-file "deactivate")
846 (rename-file ".deactivate-real" "deactivate")
847 (delete-file "activate")
848 (rename-file ".activate-real" "activate")
849 #t)))))))
850 (description
851 "Conda is a cross-platform, Python-agnostic binary package manager. It
852 is the package manager used by Anaconda installations, but it may be used for
853 other systems as well. Conda makes environments first-class citizens, making
854 it easy to create independent environments even for C libraries. Conda is
855 written entirely in Python.")))
856
857 (define-public gwl
858 (package
859 (name "gwl")
860 (version "0.2.1")
861 (source (origin
862 (method url-fetch)
863 (uri (string-append "mirror://gnu/gwl/gwl-" version ".tar.gz"))
864 (sha256
865 (base32
866 "1ji5jvzni8aml9fmimlr11g3k8isrnlvnbzhmwgdjh72hils0alc"))))
867 (build-system gnu-build-system)
868 (arguments
869 `(#:phases
870 (modify-phases %standard-phases
871 (add-before 'build 'fix-tests
872 (lambda _
873 ;; Avoid cross-device link.
874 (substitute* "tests/cache.scm"
875 (("/tmp/gwl-test-input-XXXXXX")
876 (string-append (getcwd) "/gwl-test-input-XXXXXX")))
877 #t)))))
878 (native-inputs
879 `(("autoconf" ,autoconf)
880 ("automake" ,automake)
881 ("pkg-config" ,pkg-config)
882 ("texinfo" ,texinfo)
883 ("graphviz" ,graphviz)))
884 (inputs
885 `(("guile" ,guile-3.0)))
886 (propagated-inputs
887 `(("guix" ,guix)
888 ("guile-commonmark" ,guile-commonmark)
889 ("guile-gcrypt" ,guile-gcrypt)
890 ("guile-pfds" ,guile-pfds)
891 ("guile-syntax-highlight" ,guile-syntax-highlight)
892 ("guile-wisp" ,guile-wisp)))
893 (home-page "https://workflows.guix.info")
894 (synopsis "Workflow management extension for GNU Guix")
895 (description "The @dfn{Guix Workflow Language} (GWL) provides an
896 extension to GNU Guix's declarative language for package management to
897 automate the execution of programs in scientific workflows. The GWL
898 can use process engines to integrate with various computing
899 environments.")
900 ;; The Scheme modules in guix/ and gnu/ are licensed GPL3+,
901 ;; the web interface modules in gwl/ are licensed AGPL3+,
902 ;; and the fonts included in this package are licensed OFL1.1.
903 (license (list license:gpl3+ license:agpl3+ license:silofl1.1))))
904
905 (define-public guix-jupyter
906 (package
907 (name "guix-jupyter")
908 (version "0.1.0")
909 (home-page "https://gitlab.inria.fr/guix-hpc/guix-kernel")
910 (source (origin
911 (method git-fetch)
912 (uri (git-reference (url home-page)
913 (commit (string-append "v" version))))
914 (sha256
915 (base32
916 "01z7jjkc7r7lj6637rcgpz40v8xqqyfp6871h94yvcnwm7zy9h1n"))
917 (modules '((guix build utils)))
918 (snippet
919 '(begin
920 ;; Allow builds with Guile 3.0.
921 (substitute* "configure.ac"
922 (("^GUILE_PKG.*")
923 "GUILE_PKG([3.0 2.2])\n"))
924 #t))
925 (file-name (string-append "guix-jupyter-" version "-checkout"))))
926 (build-system gnu-build-system)
927 (arguments
928 `(#:modules ((srfi srfi-26)
929 (ice-9 match)
930 (ice-9 popen)
931 (ice-9 rdelim)
932 (guix build utils)
933 (guix build gnu-build-system))
934 #:phases
935 (modify-phases %standard-phases
936 (add-after 'install 'sed-kernel-json
937 (lambda* (#:key inputs outputs #:allow-other-keys)
938 (let* ((out (assoc-ref outputs "out"))
939 (guix (assoc-ref inputs "guix"))
940 (guile (assoc-ref inputs "guile"))
941 (json (assoc-ref inputs "guile-json"))
942 (git (assoc-ref inputs "guile-git"))
943 (bs (assoc-ref inputs "guile-bytestructures"))
944 (s-zmq (assoc-ref inputs "guile-simple-zmq"))
945 (gcrypt (assoc-ref inputs "guile-gcrypt"))
946 (deps (list out s-zmq guix json git bs gcrypt))
947 (effective
948 (read-line
949 (open-pipe* OPEN_READ
950 (string-append guile "/bin/guile")
951 "-c" "(display (effective-version))")))
952 (path (map (cut string-append "-L\", \"" <>
953 "/share/guile/site/"
954 effective)
955 deps))
956 (gopath (map (cut string-append "-C\", \"" <>
957 "/lib/guile/" effective
958 "/site-ccache")
959 deps))
960 (kernel-dir (string-append out "/share/jupyter/kernels/guix/")))
961 (substitute* (string-append kernel-dir "kernel.json")
962 (("-s")
963 (string-join
964 (list (string-join path "\",\n\t\t\"")
965 (string-join gopath "\",\n\t\t\"")
966 "-s")
967 "\",\n\t\t\""))
968 (("guix-jupyter-kernel.scm")
969 (string-append out "/share/guile/site/2.2/"
970 "guix-jupyter-kernel.scm")))
971 #t))))))
972 (native-inputs
973 `(("autoconf" ,autoconf)
974 ("automake" ,automake)
975 ("pkg-config" ,pkg-config)
976
977 ;; For testing.
978 ("jupyter" ,jupyter)
979 ("python-ipython" ,python-ipython)
980 ("python-ipykernel" ,python-ipykernel)))
981 (inputs
982 `(("guix" ,guix)
983 ("guile" ,guile-3.0)))
984 (propagated-inputs
985 `(("guile-json" ,guile-json-4)
986 ("guile-simple-zmq" ,guile-simple-zmq)
987 ("guile-gcrypt" ,guile-gcrypt)))
988 (synopsis "Guix kernel for Jupyter")
989 (description
990 "Guix-Jupyter is a Jupyter kernel. It allows you to annotate notebooks
991 with information about their software dependencies, such that code is executed
992 in the right software environment. Guix-Jupyter spawns the actual kernels
993 such as @code{python-ipykernel} on behalf of the notebook user and runs them
994 in an isolated environment, in separate namespaces.")
995 (license license:gpl3+)))
996
997 (define-public gcab
998 (package
999 (name "gcab")
1000 (version "1.2")
1001 (source (origin
1002 (method url-fetch)
1003 (uri (string-append "mirror://gnome/sources/gcab/"
1004 version "/gcab-" version ".tar.xz"))
1005 (sha256
1006 (base32
1007 "038h5kk41si2hc9d9169rrlvp8xgsxq27kri7hv2vr39gvz9cbas"))))
1008 (build-system meson-build-system)
1009 (native-inputs
1010 `(("glib:bin" ,glib "bin") ; for glib-mkenums
1011 ("intltool" ,intltool)
1012 ("pkg-config" ,pkg-config)
1013 ("vala" ,vala)))
1014 (inputs
1015 `(("glib" ,glib)
1016 ("zlib" ,zlib)))
1017 (arguments
1018 `(#:configure-flags
1019 ;; XXX This ‘documentation’ is for developers, and fails informatively:
1020 ;; Error in gtkdoc helper script: 'gtkdoc-mkhtml' failed with status 5
1021 (list "-Ddocs=false"
1022 "-Dintrospection=false")))
1023 (home-page "https://wiki.gnome.org/msitools") ; no dedicated home page
1024 (synopsis "Microsoft Cabinet file manipulation library")
1025 (description
1026 "The libgcab library provides GObject functions to read, write, and modify
1027 Microsoft cabinet (.@dfn{CAB}) files.")
1028 (license (list license:gpl2+ ; tests/testsuite.at
1029 license:lgpl2.1+)))) ; the rest
1030
1031 (define-public msitools
1032 (package
1033 (name "msitools")
1034 (version "0.100")
1035 (source (origin
1036 (method url-fetch)
1037 (uri (string-append "mirror://gnome/sources/msitools/"
1038 version "/msitools-" version ".tar.xz"))
1039 (sha256
1040 (base32
1041 "1skq17qr2ic4qr3779j49byfm8rncwbsq9rj1a33ncn2m7isdwdv"))))
1042 (build-system gnu-build-system)
1043 (native-inputs
1044 `(("bison" ,bison)
1045 ("pkg-config" ,pkg-config)))
1046 (inputs
1047 `(("gcab" ,gcab)
1048 ("glib" ,glib)
1049 ("libgsf" ,libgsf)
1050 ("libxml2" ,libxml2)
1051 ("uuid" ,util-linux "lib")))
1052 (home-page "https://wiki.gnome.org/msitools")
1053 (synopsis "Windows Installer file manipulation tool")
1054 (description
1055 "msitools is a collection of command-line tools to inspect, extract, build,
1056 and sign Windows@tie{}Installer (.@dfn{MSI}) files. It aims to be a solution
1057 for packaging and deployment of cross-compiled Windows applications.")
1058 (license license:lgpl2.1+)))
1059
1060 (define-public libostree
1061 (package
1062 (name "libostree")
1063 (version "2020.3")
1064 (source (origin
1065 (method url-fetch)
1066 (uri (string-append
1067 "https://github.com/ostreedev/ostree/releases/download/v"
1068 (version-major+minor version) "/libostree-" version ".tar.xz"))
1069 (sha256
1070 (base32
1071 "01cch4as23xspq6pck59al7x5jj60wl21g8p3iqbdxcjl1p3jxsq"))))
1072 (build-system gnu-build-system)
1073 (arguments
1074 '(#:phases
1075 (modify-phases %standard-phases
1076 (add-before 'check 'pre-check
1077 (lambda _
1078 ;; Don't try to use the non-existing '/var/tmp' as test
1079 ;; directory.
1080 (setenv "TEST_TMPDIR" (getenv "TMPDIR"))
1081 #t)))
1082 ;; XXX: fails with:
1083 ;; tap-driver.sh: missing test plan
1084 ;; tap-driver.sh: internal error getting exit status
1085 ;; tap-driver.sh: fatal: I/O or internal error
1086 #:tests? #f))
1087 (native-inputs
1088 `(("attr" ,attr) ; for tests
1089 ("bison" ,bison)
1090 ("glib:bin" ,glib "bin") ; for 'glib-mkenums'
1091 ("gobject-introspection" ,gobject-introspection)
1092 ("pkg-config" ,pkg-config)
1093 ("xsltproc" ,libxslt)))
1094 (inputs
1095 `(("avahi" ,avahi)
1096 ("docbook-xml" ,docbook-xml-4.2)
1097 ("docbook-xsl" ,docbook-xsl)
1098 ("e2fsprogs" ,e2fsprogs)
1099 ("fuse" ,fuse)
1100 ("glib" ,glib)
1101 ("gpgme" ,gpgme)
1102 ("libarchive" ,libarchive)
1103 ("libsoup" ,libsoup)
1104 ("util-linux" ,util-linux)))
1105 (home-page "https://ostree.readthedocs.io/en/latest/")
1106 (synopsis "Operating system and container binary deployment and upgrades")
1107 (description
1108 "@code{libostree} is both a shared library and suite of command line
1109 tools that combines a \"git-like\" model for committing and downloading
1110 bootable file system trees, along with a layer for deploying them and managing
1111 the boot loader configuration.")
1112 (license license:lgpl2.0+)))
1113
1114 (define-public flatpak
1115 (package
1116 (name "flatpak")
1117 (version "1.6.3")
1118 (source
1119 (origin
1120 (method url-fetch)
1121 (uri (string-append "https://github.com/flatpak/flatpak/releases/download/"
1122 version "/flatpak-" version ".tar.xz"))
1123 (sha256
1124 (base32
1125 "17s8nqdxd4xdy7ag9bw06adxccha78jmlsa3zpqnl3qh92pg0hji"))))
1126
1127 ;; Wrap 'flatpak' so that GIO_EXTRA_MODULES is set, thereby allowing GIO to
1128 ;; find the TLS backend in glib-networking.
1129 (build-system glib-or-gtk-build-system)
1130
1131 (arguments
1132 '(#:configure-flags
1133 (list
1134 "--enable-documentation=no" ;; FIXME
1135 "--enable-system-helper=no"
1136 "--localstatedir=/var"
1137 (string-append "--with-system-bubblewrap="
1138 (assoc-ref %build-inputs "bubblewrap")
1139 "/bin/bwrap")
1140 "--with-system-dbus-proxy")
1141 #:phases
1142 (modify-phases %standard-phases
1143 (add-after 'unpack 'fix-tests
1144 (lambda* (#:key inputs #:allow-other-keys)
1145 (copy-recursively
1146 (string-append (assoc-ref inputs "glibc-utf8-locales")
1147 "/lib/locale/") "/tmp/locale")
1148 (for-each make-file-writable (find-files "/tmp"))
1149 (substitute* "tests/make-test-runtime.sh"
1150 (("cp `which.*") "echo guix\n")
1151 (("cp -r /usr/lib/locale/C\\.\\*")
1152 (string-append "mkdir ${DIR}/usr/lib/locale/en_US; \
1153 cp -r /tmp/locale/*/en_US.*")))
1154 (substitute* "tests/libtest.sh"
1155 (("/bin/kill") (which "kill"))
1156 (("/usr/bin/python3") (which "python3")))
1157 #t))
1158 ;; Many tests fail for unknown reasons, so we just run a few basic
1159 ;; tests
1160 (replace 'check
1161 (lambda _
1162 (setenv "HOME" "/tmp")
1163 (invoke "make" "check"
1164 "TESTS=tests/test-basic.sh tests/test-config.sh testcommon"))))))
1165 (native-inputs
1166 `(("bison" ,bison)
1167 ("dbus" ,dbus) ; for dbus-daemon
1168 ("gettext" ,gettext-minimal)
1169 ("glib:bin" ,glib "bin") ; for glib-mkenums + gdbus-codegen
1170 ("glibc-utf8-locales" ,glibc-utf8-locales)
1171 ("gobject-introspection" ,gobject-introspection)
1172 ("libcap" ,libcap)
1173 ("pkg-config" ,pkg-config)
1174 ("python" ,python)
1175 ("socat" ,socat)
1176 ("which" ,which)))
1177 (propagated-inputs `(("glib-networking" ,glib-networking)
1178 ("gnupg" ,gnupg)
1179 ("gsettings-desktop-schemas"
1180 ,gsettings-desktop-schemas)))
1181 (inputs
1182 `(("appstream-glib" ,appstream-glib)
1183 ("bubblewrap" ,bubblewrap)
1184 ("dconf" ,dconf)
1185 ("fuse" ,fuse)
1186 ("gdk-pixbuf" ,gdk-pixbuf)
1187 ("gpgme" ,gpgme)
1188 ("json-glib" ,json-glib)
1189 ("libarchive" ,libarchive)
1190 ("libostree" ,libostree)
1191 ("libseccomp" ,libseccomp)
1192 ("libsoup" ,libsoup)
1193 ("libxau" ,libxau)
1194 ("libxml2" ,libxml2)
1195 ("util-linux" ,util-linux)
1196 ("xdg-dbus-proxy" ,xdg-dbus-proxy)))
1197 (home-page "https://flatpak.org")
1198 (synopsis "System for building, distributing, and running sandboxed desktop
1199 applications")
1200 (description "Flatpak is a system for building, distributing, and running
1201 sandboxed desktop applications on GNU/Linux.")
1202 (license license:lgpl2.1+)))