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