Commit | Line | Data |
---|---|---|
bbe8d8f0 | 1 | ;;; GNU Guix --- Functional package management for GNU |
59127916 | 2 | ;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018 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> |
a881a40c | 5 | ;;; Copyright © 2017 Oleg Pykhalov <go.wigust@gmail.com> |
58a308e0 | 6 | ;;; Copyright © 2017 Roel Janssen <roel@gnu.org> |
7ed6343f | 7 | ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr> |
76fa5e04 | 8 | ;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu> |
113e9bc5 | 9 | ;;; Copyright © 2018 Rutger Helling <rhelling@mykolab.com> |
3d391309 | 10 | ;;; Copyright © 2018 Sou Bunnbu <iyzsong@member.fsf.org> |
bbe8d8f0 LC |
11 | ;;; |
12 | ;;; This file is part of GNU Guix. | |
13 | ;;; | |
14 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
15 | ;;; under the terms of the GNU General Public License as published by | |
16 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
17 | ;;; your option) any later version. | |
18 | ;;; | |
19 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
20 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
21 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
22 | ;;; GNU General Public License for more details. | |
23 | ;;; | |
24 | ;;; You should have received a copy of the GNU General Public License | |
25 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
26 | ||
27 | (define-module (gnu packages package-management) | |
8a43ff10 | 28 | #:use-module (gnu packages) |
37756a13 | 29 | #:use-module (gnu packages acl) |
3d391309 SB |
30 | #:use-module (gnu packages attr) |
31 | #:use-module (gnu packages avahi) | |
37756a13 | 32 | #:use-module (gnu packages autotools) |
e3e1ecf6 | 33 | #:use-module (gnu packages backup) |
37756a13 | 34 | #:use-module (gnu packages bdw-gc) |
3d391309 | 35 | #:use-module (gnu packages bison) |
3e5750af | 36 | #:use-module (gnu packages bootstrap) ;for 'bootstrap-guile-origin' |
ac257f12 | 37 | #:use-module (gnu packages check) |
38cf2ba0 | 38 | #:use-module (gnu packages compression) |
37756a13 | 39 | #:use-module (gnu packages cpio) |
e6c8199b | 40 | #:use-module (gnu packages crypto) |
37756a13 | 41 | #:use-module (gnu packages curl) |
5f96f303 | 42 | #:use-module (gnu packages databases) |
3d391309 | 43 | #:use-module (gnu packages docbook) |
37756a13 | 44 | #:use-module (gnu packages file) |
480af4d6 | 45 | #:use-module (gnu packages gettext) |
98a11b7f | 46 | #:use-module (gnu packages glib) |
cb390925 | 47 | #:use-module (gnu packages gnome) |
37756a13 TGR |
48 | #:use-module (gnu packages gnupg) |
49 | #:use-module (gnu packages gnuzilla) | |
50 | #:use-module (gnu packages graphviz) | |
51 | #:use-module (gnu packages guile) | |
cb390925 | 52 | #:use-module (gnu packages linux) |
58a308e0 | 53 | #:use-module (gnu packages lisp) |
37756a13 | 54 | #:use-module (gnu packages man) |
e3e1ecf6 | 55 | #:use-module (gnu packages nettle) |
37756a13 | 56 | #:use-module (gnu packages patchutils) |
fcb0109d | 57 | #:use-module (gnu packages perl) |
5ccde207 | 58 | #:use-module (gnu packages perl-check) |
37756a13 TGR |
59 | #:use-module (gnu packages pkg-config) |
60 | #:use-module (gnu packages popt) | |
e3e1ecf6 | 61 | #:use-module (gnu packages python) |
1b2f753d | 62 | #:use-module (gnu packages python-web) |
37756a13 TGR |
63 | #:use-module (gnu packages serialization) |
64 | #:use-module (gnu packages ssh) | |
65 | #:use-module (gnu packages texinfo) | |
33dc54b0 | 66 | #:use-module (gnu packages time) |
04eb0fab | 67 | #:use-module (gnu packages tls) |
5dbeccf5 | 68 | #:use-module (gnu packages vim) |
37756a13 | 69 | #:use-module (gnu packages web) |
cb390925 | 70 | #:use-module (gnu packages xml) |
37756a13 TGR |
71 | #:use-module (guix build-system emacs) |
72 | #:use-module (guix build-system gnu) | |
44118720 | 73 | #:use-module (guix build-system meson) |
37756a13 TGR |
74 | #:use-module (guix build-system python) |
75 | #:use-module (guix download) | |
76 | #:use-module (guix gexp) | |
77 | #:use-module (guix git-download) | |
7ed6343f | 78 | #:use-module ((guix licenses) #:prefix license:) |
37756a13 TGR |
79 | #:use-module (guix packages) |
80 | #:use-module (guix utils) | |
81 | #:use-module (ice-9 match) | |
82 | #:use-module (srfi srfi-1)) | |
bbe8d8f0 | 83 | |
39de700c LC |
84 | (define (boot-guile-uri arch) |
85 | "Return the URI for the bootstrap Guile tarball for ARCH." | |
aef81a81 LC |
86 | (cond ((string=? "armhf" arch) |
87 | (string-append "http://alpha.gnu.org/gnu/guix/bootstrap/" | |
88 | arch "-linux" | |
89 | "/20150101/guile-2.0.11.tar.xz")) | |
90 | ((string=? "aarch64" arch) | |
b31b0155 LC |
91 | (string-append "http://alpha.gnu.org/gnu/guix/bootstrap/" |
92 | arch "-linux/20170217/guile-2.0.14.tar.xz")) | |
aef81a81 LC |
93 | (else |
94 | (string-append "http://alpha.gnu.org/gnu/guix/bootstrap/" | |
95 | arch "-linux" | |
96 | "/20131110/guile-2.0.9.tar.xz")))) | |
39de700c | 97 | |
994a1494 LC |
98 | (define-public guix |
99 | ;; Latest version of Guix, which may or may not correspond to a release. | |
94fa8d76 LC |
100 | ;; Note: the 'update-guix-package.scm' script expects this definition to |
101 | ;; start precisely like this. | |
ad4953bc | 102 | (let ((version "0.14.0") |
3f311279 LC |
103 | (commit "7af5c2a248b6c229187fc850517c84b0917c452b") |
104 | (revision 13)) | |
994a1494 LC |
105 | (package |
106 | (name "guix") | |
ab2419e5 | 107 | |
994a1494 LC |
108 | (version (if (zero? revision) |
109 | version | |
110 | (string-append version "-" | |
111 | (number->string revision) | |
4b7917f2 | 112 | "." (string-take commit 7)))) |
994a1494 LC |
113 | (source (origin |
114 | (method git-fetch) | |
115 | (uri (git-reference | |
116 | (url "https://git.savannah.gnu.org/r/guix.git") | |
117 | (commit commit))) | |
118 | (sha256 | |
119 | (base32 | |
3f311279 | 120 | "06kjimcln4ydirgl05qy98kxjyx3l6brxnq1ly7wb85f73s97gix")) |
994a1494 LC |
121 | (file-name (string-append "guix-" version "-checkout")))) |
122 | (build-system gnu-build-system) | |
123 | (arguments | |
124 | `(#:configure-flags (list | |
125 | "--localstatedir=/var" | |
126 | "--sysconfdir=/etc" | |
127 | (string-append "--with-bash-completion-dir=" | |
128 | (assoc-ref %outputs "out") | |
129 | "/etc/bash_completion.d") | |
130 | (string-append "--with-libgcrypt-prefix=" | |
131 | (assoc-ref %build-inputs | |
132 | "libgcrypt")) | |
133 | ||
134 | ;; Set 'DOT_USER_PROGRAM' to the empty string so | |
135 | ;; we don't keep a reference to Graphviz, whose | |
136 | ;; closure is pretty big (too big for the GuixSD | |
137 | ;; installation image.) | |
4b7917f2 LC |
138 | "ac_cv_path_DOT_USER_PROGRAM=dot" |
139 | ||
140 | ;; To avoid problems with the length of shebangs, | |
141 | ;; choose a fixed-width and short directory name | |
142 | ;; for tests. | |
143 | "ac_cv_guix_test_root=/tmp/guix-tests") | |
994a1494 LC |
144 | #:parallel-tests? #f ;work around <http://bugs.gnu.org/21097> |
145 | ||
146 | #:modules ((guix build gnu-build-system) | |
147 | (guix build utils) | |
c9117162 | 148 | (srfi srfi-26) |
994a1494 LC |
149 | (ice-9 popen) |
150 | (ice-9 rdelim)) | |
151 | ||
152 | #:phases (modify-phases %standard-phases | |
189be331 | 153 | (replace 'bootstrap |
994a1494 LC |
154 | (lambda _ |
155 | ;; Make sure 'msgmerge' can modify the PO files. | |
156 | (for-each (lambda (po) | |
157 | (chmod po #o666)) | |
158 | (find-files "." "\\.po$")) | |
ab2419e5 | 159 | |
8833a647 LC |
160 | (patch-shebang "build-aux/git-version-gen") |
161 | ||
91c619eb LC |
162 | (call-with-output-file ".tarball-version" |
163 | (lambda (port) | |
164 | (display ,version port))) | |
165 | ||
92fcb831 | 166 | (invoke "sh" "bootstrap"))) |
59127916 | 167 | (add-before 'check 'copy-bootstrap-guile |
994a1494 | 168 | (lambda* (#:key system inputs #:allow-other-keys) |
59127916 LC |
169 | ;; Copy the bootstrap guile tarball in the store used |
170 | ;; by the test suite. | |
171 | (define (intern tarball) | |
172 | (let ((base (strip-store-file-name tarball))) | |
173 | (copy-file tarball base) | |
174 | (invoke "./test-env" "guix" "download" | |
175 | (string-append "file://" (getcwd) | |
176 | "/" base)) | |
177 | (delete-file base))) | |
39de700c | 178 | |
bbe8d8f0 | 179 | |
59127916 LC |
180 | (intern (assoc-ref inputs "boot-guile")) |
181 | ||
182 | ;; On x86_64 some tests need the i686 Guile. | |
183 | ,@(if (and (not (%current-target-system)) | |
184 | (string=? (%current-system) | |
185 | "x86_64-linux")) | |
186 | '((intern (assoc-ref inputs "boot-guile/i686"))) | |
187 | '()) | |
994a1494 | 188 | #t)) |
40e89f5b | 189 | (add-after 'unpack 'disable-failing-tests |
994a1494 LC |
190 | ;; XXX FIXME: These tests fail within the build container. |
191 | (lambda _ | |
192 | (substitute* "tests/syscalls.scm" | |
193 | (("^\\(test-(assert|equal) \"(clone|setns|pivot-root)\"" all) | |
194 | (string-append "(test-skip 1)\n" all))) | |
195 | (substitute* "tests/containers.scm" | |
196 | (("^\\(test-(assert|equal)" all) | |
197 | (string-append "(test-skip 1)\n" all))) | |
198 | (when (file-exists? "tests/guix-environment-container.sh") | |
199 | (substitute* "tests/guix-environment-container.sh" | |
200 | (("guix environment --version") | |
201 | "exit 77\n"))) | |
202 | #t)) | |
203 | (add-before 'check 'set-SHELL | |
204 | (lambda _ | |
205 | ;; 'guix environment' tests rely on 'SHELL' having a | |
206 | ;; correct value, so set it. | |
207 | (setenv "SHELL" (which "sh")) | |
208 | #t)) | |
209 | (add-after 'install 'wrap-program | |
210 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
dd1640ee LC |
211 | ;; Make sure the 'guix' command finds GnuTLS, |
212 | ;; Guile-JSON, and Guile-Git automatically. | |
994a1494 LC |
213 | (let* ((out (assoc-ref outputs "out")) |
214 | (guile (assoc-ref inputs "guile")) | |
215 | (json (assoc-ref inputs "guile-json")) | |
c5a2e1ff | 216 | (sqlite (assoc-ref inputs "guile-sqlite3")) |
9ca8aa38 | 217 | (git (assoc-ref inputs "guile-git")) |
dd1640ee LC |
218 | (bs (assoc-ref inputs |
219 | "guile-bytestructures")) | |
994a1494 LC |
220 | (ssh (assoc-ref inputs "guile-ssh")) |
221 | (gnutls (assoc-ref inputs "gnutls")) | |
c5a2e1ff | 222 | (deps (list json sqlite gnutls git bs ssh)) |
994a1494 LC |
223 | (effective |
224 | (read-line | |
225 | (open-pipe* OPEN_READ | |
226 | (string-append guile "/bin/guile") | |
227 | "-c" "(display (effective-version))"))) | |
c9117162 LC |
228 | (path (string-join |
229 | (map (cut string-append <> | |
230 | "/share/guile/site/" | |
231 | effective) | |
232 | deps) | |
233 | ":")) | |
234 | (gopath (string-join | |
235 | (map (cut string-append <> | |
236 | "/lib/guile/" effective | |
237 | "/site-ccache") | |
238 | deps) | |
239 | ":"))) | |
61cdad35 | 240 | |
994a1494 LC |
241 | (wrap-program (string-append out "/bin/guix") |
242 | `("GUILE_LOAD_PATH" ":" prefix (,path)) | |
c9117162 | 243 | `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath))) |
61cdad35 | 244 | |
994a1494 LC |
245 | #t)))))) |
246 | (native-inputs `(("pkg-config" ,pkg-config) | |
a7db8540 | 247 | |
994a1494 LC |
248 | ;; XXX: Keep the development inputs here even though |
249 | ;; they're unnecessary, just so that 'guix environment | |
250 | ;; guix' always contains them. | |
464f5447 | 251 | ("autoconf" ,autoconf-wrapper) |
994a1494 LC |
252 | ("automake" ,automake) |
253 | ("gettext" ,gettext-minimal) | |
254 | ("texinfo" ,texinfo) | |
255 | ("graphviz" ,graphviz) | |
76fa5e04 JL |
256 | ("help2man" ,help2man) |
257 | ("po4a" ,po4a))) | |
994a1494 | 258 | (inputs |
3e5750af LC |
259 | `(("bzip2" ,bzip2) |
260 | ("gzip" ,gzip) | |
261 | ("zlib" ,zlib) ;for 'guix publish' | |
2d195e67 | 262 | |
3e5750af LC |
263 | ("sqlite" ,sqlite) |
264 | ("libgcrypt" ,libgcrypt) | |
265 | ("guile" ,guile-2.2) | |
bbe8d8f0 | 266 | |
59127916 LC |
267 | ;; Many tests rely on the 'guile-bootstrap' package, which is why we |
268 | ;; have it here. | |
269 | ("boot-guile" ,(bootstrap-guile-origin (%current-system))) | |
272c0709 CM |
270 | ;; Some of the tests use "unshare" when it is available. |
271 | ("util-linux" ,util-linux) | |
59127916 LC |
272 | ,@(if (and (not (%current-target-system)) |
273 | (string=? (%current-system) "x86_64-linux")) | |
274 | `(("boot-guile/i686" ,(bootstrap-guile-origin "i686-linux"))) | |
275 | '()))) | |
994a1494 | 276 | (propagated-inputs |
52cabc6f | 277 | `(("gnutls" ,gnutls) |
2252f087 | 278 | ("guile-json" ,guile-json) |
c5a2e1ff | 279 | ("guile-sqlite3" ,guile-sqlite3) |
9ca8aa38 LC |
280 | ("guile-ssh" ,guile-ssh) |
281 | ("guile-git" ,guile-git))) | |
f1082ec1 | 282 | |
994a1494 LC |
283 | (home-page "https://www.gnu.org/software/guix/") |
284 | (synopsis "Functional package manager for installed software packages and versions") | |
285 | (description | |
286 | "GNU Guix is a functional package manager for the GNU system, and is | |
c5779c93 | 287 | also a distribution thereof. It includes a virtual machine image. Besides |
79c311b8 | 288 | the usual package management features, it also supports transactional |
c5779c93 LC |
289 | upgrades and roll-backs, per-user profiles, and much more. It is based on |
290 | the Nix package manager.") | |
7ed6343f | 291 | (license license:gpl3+) |
994a1494 | 292 | (properties '((ftp-server . "alpha.gnu.org")))))) |
3ad9a0b1 | 293 | |
994a1494 LC |
294 | ;; Alias for backward compatibility. |
295 | (define-public guix-devel guix) | |
fcb0109d | 296 | |
baed9236 LC |
297 | (define-public guix-daemon |
298 | ;; This package is for internal consumption: it allows us to quickly build | |
299 | ;; the 'guix-daemon' program and use that in (guix self), used by 'guix | |
300 | ;; pull'. | |
301 | (package | |
302 | (inherit guix) | |
303 | (properties `((hidden? . #t))) | |
304 | (name "guix-daemon") | |
305 | ||
306 | ;; Use a minimum set of dependencies. | |
307 | (native-inputs | |
308 | (fold alist-delete (package-native-inputs guix) | |
309 | '("po4a" "graphviz" "help2man"))) | |
310 | (inputs | |
311 | `(("gnutls" ,gnutls) | |
312 | ("guile-git" ,guile-git) | |
313 | ,@(package-inputs guix))) | |
314 | (propagated-inputs '()) | |
315 | ||
316 | (arguments | |
317 | (substitute-keyword-arguments (package-arguments guix) | |
318 | ((#:tests? #f #f) | |
319 | #f) | |
320 | ((#:phases phases '%standard-phases) | |
321 | `(modify-phases ,phases | |
322 | (replace 'build | |
323 | (lambda _ | |
324 | (invoke "make" "nix/libstore/schema.sql.hh") | |
325 | (invoke "make" "-j" (number->string | |
326 | (parallel-job-count)) | |
327 | "guix-daemon"))) | |
328 | (delete 'copy-bootstrap-guile) | |
329 | (replace 'install | |
330 | (lambda* (#:key outputs #:allow-other-keys) | |
331 | (invoke "make" "install-binPROGRAMS" | |
332 | "install-nodist_pkglibexecSCRIPTS") | |
333 | ||
334 | ;; We need to tell 'guix-daemon' which 'guix' command to use. | |
335 | ;; Here we use a questionable hack where we hard-code | |
336 | ;; "~root/.config", which could be wrong (XXX). | |
337 | (let ((out (assoc-ref outputs "out"))) | |
338 | (substitute* (find-files (string-append out "/libexec")) | |
339 | (("exec \".*/bin/guix\"") | |
340 | "exec ~root/.config/current/bin/guix")) | |
341 | #t))) | |
342 | (delete 'wrap-program))))))) | |
343 | ||
82ce81ba LC |
344 | (define-public guile2.0-guix |
345 | (package | |
346 | (inherit guix) | |
347 | (name "guile2.0-guix") | |
348 | (inputs | |
349 | `(("guile" ,guile-2.0) | |
350 | ,@(alist-delete "guile" (package-inputs guix)))) | |
351 | (propagated-inputs | |
52cabc6f | 352 | `(("gnutls" ,gnutls/guile-2.0) |
82ce81ba | 353 | ("guile-json" ,guile2.0-json) |
9ca8aa38 LC |
354 | ("guile-ssh" ,guile2.0-ssh) |
355 | ("guile-git" ,guile2.0-git))))) | |
82ce81ba | 356 | |
04eb0fab LC |
357 | (define (source-file? file stat) |
358 | "Return true if FILE is likely a source file, false if it is a typical | |
359 | generated file." | |
360 | (define (wrong-extension? file) | |
361 | (or (string-suffix? "~" file) | |
362 | (member (file-extension file) | |
363 | '("o" "a" "lo" "so" "go")))) | |
364 | ||
365 | (match (basename file) | |
366 | ((or ".git" "autom4te.cache" "configure" "Makefile" "Makefile.in" ".libs") | |
367 | #f) | |
368 | ((? wrong-extension?) | |
369 | #f) | |
370 | (_ | |
371 | #t))) | |
372 | ||
04eb0fab | 373 | (define-public current-guix |
a9d5e4be CB |
374 | (let* ((repository-root (canonicalize-path |
375 | (string-append (current-source-directory) | |
376 | "/../.."))) | |
377 | (select? (delay (or (git-predicate repository-root) | |
378 | source-file?)))) | |
04eb0fab LC |
379 | (lambda () |
380 | "Return a package representing Guix built from the current source tree. | |
381 | This works by adding the current source tree to the store (after filtering it | |
382 | out) and returning a package that uses that as its 'source'." | |
383 | (package | |
384 | (inherit guix) | |
385 | (version (string-append (package-version guix) "+")) | |
a9d5e4be | 386 | (source (local-file repository-root "guix-current" |
04eb0fab LC |
387 | #:recursive? #t |
388 | #:select? (force select?))))))) | |
389 | ||
390 | \f | |
391 | ;;; | |
392 | ;;; Other tools. | |
393 | ;;; | |
394 | ||
fcb0109d LC |
395 | (define-public nix |
396 | (package | |
397 | (name "nix") | |
e6c8199b | 398 | (version "2.0.4") |
fcb0109d LC |
399 | (source (origin |
400 | (method url-fetch) | |
401 | (uri (string-append "http://nixos.org/releases/nix/nix-" | |
402 | version "/nix-" version ".tar.xz")) | |
403 | (sha256 | |
404 | (base32 | |
e6c8199b | 405 | "0ss9svxlh1pvrdmnqjvjyqjmbqmrdbyfarvbb14i9d4bggzl0r8n")))) |
fcb0109d | 406 | (build-system gnu-build-system) |
e6c8199b | 407 | (native-inputs `(("pkg-config" ,pkg-config))) |
fcb0109d | 408 | (inputs `(("curl" ,curl) |
e6c8199b | 409 | ("bzip2" ,bzip2) |
fcb0109d | 410 | ("libgc" ,libgc) |
e6c8199b SB |
411 | ("libseccomp" ,libseccomp) |
412 | ("libsodium" ,libsodium) | |
413 | ("openssl" ,openssl) | |
fcb0109d | 414 | ("sqlite" ,sqlite) |
e6c8199b | 415 | ("xz" ,xz))) |
775989c7 | 416 | (home-page "https://nixos.org/nix/") |
fcb0109d LC |
417 | (synopsis "The Nix package manager") |
418 | (description | |
419 | "Nix is a purely functional package manager. This means that it treats | |
420 | packages like values in purely functional programming languages such as | |
421 | Haskell—they are built by functions that don't have side-effects, and they | |
422 | never change after they have been built. Nix stores packages in the Nix | |
423 | store, usually the directory /nix/store, where each package has its own unique | |
424 | sub-directory.") | |
7ed6343f | 425 | (license license:lgpl2.1+))) |
8d422e25 | 426 | |
a881a40c LC |
427 | (define-public emacs-nix-mode |
428 | (package | |
429 | (inherit nix) | |
430 | (name "emacs-nix-mode") | |
431 | (build-system emacs-build-system) | |
432 | (arguments | |
433 | `(#:phases | |
434 | (modify-phases %standard-phases | |
435 | (add-after 'unpack 'chdir-elisp | |
436 | ;; Elisp directory is not in root of the source. | |
437 | (lambda _ | |
438 | (chdir "misc/emacs")))))) | |
439 | (synopsis "Emacs major mode for editing Nix expressions") | |
440 | (description "@code{nixos-mode} provides an Emacs major mode for editing | |
441 | Nix expressions. It supports syntax highlighting, indenting and refilling of | |
442 | comments."))) | |
443 | ||
8d422e25 RW |
444 | (define-public stow |
445 | (package | |
446 | (name "stow") | |
ddfd70da | 447 | (version "2.2.2") |
8d422e25 RW |
448 | (source (origin |
449 | (method url-fetch) | |
450 | (uri (string-append "mirror://gnu/stow/stow-" | |
451 | version ".tar.gz")) | |
452 | (sha256 | |
453 | (base32 | |
ddfd70da | 454 | "1pvky9fayms4r6fhns8jd0vavszd7d979w62vfd5n88v614pdxz2")))) |
8d422e25 RW |
455 | (build-system gnu-build-system) |
456 | (inputs | |
457 | `(("perl" ,perl))) | |
458 | (native-inputs | |
459 | `(("perl-test-simple" ,perl-test-simple) | |
460 | ("perl-test-output" ,perl-test-output) | |
ddfd70da LC |
461 | ("perl-capture-tiny" ,perl-capture-tiny) |
462 | ("perl-io-stringy" ,perl-io-stringy))) | |
8d422e25 RW |
463 | (home-page "https://www.gnu.org/software/stow/") |
464 | (synopsis "Managing installed software packages") | |
465 | (description | |
466 | "GNU Stow is a symlink manager. It generates symlinks to directories | |
467 | of data and makes them appear to be merged into the same directory. It is | |
468 | typically used for managing software packages installed from source, by | |
469 | letting you install them apart in distinct directories and then create | |
470 | symlinks to the files in a common directory such as /usr/local.") | |
7ed6343f | 471 | (license license:gpl2+))) |
e3e1ecf6 LC |
472 | |
473 | (define-public rpm | |
474 | (package | |
475 | (name "rpm") | |
a3dd13ae | 476 | (version "4.13.0.2") |
e3e1ecf6 LC |
477 | (source (origin |
478 | (method url-fetch) | |
623cc34c EB |
479 | (uri (string-append "http://ftp.rpm.org/releases/rpm-" |
480 | (version-major+minor version) ".x/rpm-" | |
e3e1ecf6 LC |
481 | version ".tar.bz2")) |
482 | (sha256 | |
483 | (base32 | |
a3dd13ae | 484 | "1521y4ghjns449kzpwkjn9cksh686383xnfx0linzlalqc3jqgig")))) |
e3e1ecf6 LC |
485 | (build-system gnu-build-system) |
486 | (arguments | |
487 | '(#:configure-flags '("--with-external-db" ;use the system's bdb | |
488 | "--enable-python" | |
489 | "--without-lua") | |
490 | #:phases (modify-phases %standard-phases | |
491 | (add-before 'configure 'set-nspr-search-path | |
492 | (lambda* (#:key inputs #:allow-other-keys) | |
493 | ;; nspr.pc contains the right -I flag pointing to | |
494 | ;; 'include/nspr', but unfortunately 'configure' doesn't | |
495 | ;; use 'pkg-config'. Thus, augment CPATH. | |
496 | ;; Likewise for NSS. | |
497 | (let ((nspr (assoc-ref inputs "nspr")) | |
498 | (nss (assoc-ref inputs "nss"))) | |
499 | (setenv "CPATH" | |
e8e2e18b | 500 | (string-append (getenv "C_INCLUDE_PATH") ":" |
e3e1ecf6 LC |
501 | nspr "/include/nspr:" |
502 | nss "/include/nss")) | |
503 | (setenv "LIBRARY_PATH" | |
504 | (string-append (getenv "LIBRARY_PATH") ":" | |
505 | nss "/lib/nss")) | |
506 | #t))) | |
507 | (add-after 'install 'fix-rpm-symlinks | |
508 | (lambda* (#:key outputs #:allow-other-keys) | |
509 | ;; 'make install' gets these symlinks wrong. Fix them. | |
510 | (let* ((out (assoc-ref outputs "out")) | |
511 | (bin (string-append out "/bin"))) | |
512 | (with-directory-excursion bin | |
513 | (for-each (lambda (file) | |
514 | (delete-file file) | |
515 | (symlink "rpm" file)) | |
516 | '("rpmquery" "rpmverify")) | |
517 | #t))))))) | |
518 | (native-inputs | |
519 | `(("pkg-config" ,pkg-config))) | |
520 | (inputs | |
521 | `(("python" ,python-2) | |
522 | ("xz" ,xz) | |
523 | ("bdb" ,bdb) | |
524 | ("popt" ,popt) | |
525 | ("nss" ,nss) | |
526 | ("nspr" ,nspr) | |
527 | ("libarchive" ,libarchive) | |
528 | ("nettle" ,nettle) ;XXX: actually a dependency of libarchive | |
529 | ("file" ,file) | |
530 | ("bzip2" ,bzip2) | |
531 | ("zlib" ,zlib) | |
532 | ("cpio" ,cpio))) | |
533 | (home-page "http://www.rpm.org/") | |
534 | (synopsis "The RPM Package Manager") | |
535 | (description | |
536 | "The RPM Package Manager (RPM) is a command-line driven package | |
537 | management system capable of installing, uninstalling, verifying, querying, | |
538 | and updating computer software packages. Each software package consists of an | |
539 | archive of files along with information about the package like its version, a | |
540 | description. There is also a library permitting developers to manage such | |
541 | transactions from C or Python.") | |
542 | ||
543 | ;; The whole is GPLv2+; librpm itself is dual-licensed LGPLv2+ | GPLv2+. | |
7ed6343f | 544 | (license license:gpl2+))) |
e3e1ecf6 | 545 | |
08dcff47 LC |
546 | (define-public diffoscope |
547 | (package | |
548 | (name "diffoscope") | |
554eaae4 | 549 | (version "96") |
08dcff47 | 550 | (source (origin |
7dd21101 LF |
551 | (method url-fetch) |
552 | (uri (pypi-uri name version)) | |
08dcff47 LC |
553 | (sha256 |
554 | (base32 | |
554eaae4 | 555 | "1x66f2x8miy3giff14higpcs70c0zb5d3gj6yn8ac6p183sngl72")))) |
08dcff47 LC |
556 | (build-system python-build-system) |
557 | (arguments | |
7dd21101 LF |
558 | `(#:phases (modify-phases %standard-phases |
559 | ;; setup.py mistakenly requires python-magic from PyPi, even | |
560 | ;; though the Python bindings of `file` are sufficient. | |
561 | ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815844 | |
562 | (add-after 'unpack 'dependency-on-python-magic | |
563 | (lambda _ | |
564 | (substitute* "setup.py" | |
5dbeccf5 RW |
565 | (("'python-magic',") "")))) |
566 | (add-after 'unpack 'embed-tool-references | |
567 | (lambda* (#:key inputs #:allow-other-keys) | |
025519fa | 568 | (substitute* "diffoscope/comparators/utils/compare.py" |
5dbeccf5 RW |
569 | (("\\['xxd',") |
570 | (string-append "['" (which "xxd") "',"))) | |
571 | (substitute* "diffoscope/comparators/elf.py" | |
572 | (("@tool_required\\('readelf'\\)") "") | |
2af6be91 KK |
573 | (("get_tool_name\\('readelf'\\)") |
574 | (string-append "'" (which "readelf") "'"))) | |
575 | (substitute* "diffoscope/comparators/directory.py" | |
576 | (("@tool_required\\('stat'\\)") "") | |
577 | (("@tool_required\\('getfacl'\\)") "") | |
578 | (("\\['stat',") | |
579 | (string-append "['" (which "stat") "',")) | |
580 | (("\\['getfacl',") | |
581 | (string-append "['" (which "getfacl") "',"))) | |
63b7fbe1 GB |
582 | #t)) |
583 | (add-before 'check 'delete-failing-test | |
584 | (lambda _ | |
585 | (delete-file "tests/test_tools.py") ;this requires /sbin to be on the path | |
5dbeccf5 | 586 | #t))))) |
08dcff47 | 587 | (inputs `(("rpm" ,rpm) ;for rpm-python |
7dd21101 LF |
588 | ("python-file" ,python-file) |
589 | ("python-debian" ,python-debian) | |
590 | ("python-libarchive-c" ,python-libarchive-c) | |
591 | ("python-tlsh" ,python-tlsh) | |
2af6be91 | 592 | ("acl" ,acl) ;for getfacl |
5dbeccf5 | 593 | ("colordiff" ,colordiff) |
9fc513ad | 594 | ("xxd" ,xxd) |
08dcff47 LC |
595 | |
596 | ;; Below are modules used for tests. | |
7dd21101 LF |
597 | ("python-pytest" ,python-pytest) |
598 | ("python-chardet" ,python-chardet))) | |
54360c91 | 599 | (home-page "https://diffoscope.org/") |
08dcff47 LC |
600 | (synopsis "Compare files, archives, and directories in depth") |
601 | (description | |
602 | "Diffoscope tries to get to the bottom of what makes files or directories | |
603 | different. It recursively unpacks archives of many kinds and transforms | |
604 | various binary formats into more human readable forms to compare them. It can | |
605 | compare two tarballs, ISO images, or PDFs just as easily.") | |
7ed6343f | 606 | (license license:gpl3+))) |
513d35f1 MFM |
607 | |
608 | (define-public python-anaconda-client | |
609 | (package | |
610 | (name "python-anaconda-client") | |
611 | (version "1.6.3") | |
612 | (source | |
613 | (origin | |
614 | (method url-fetch) | |
615 | (uri (string-append "https://github.com/Anaconda-Platform/" | |
616 | "anaconda-client/archive/" version ".tar.gz")) | |
617 | (file-name (string-append name "-" version ".tar.gz")) | |
618 | (sha256 | |
619 | (base32 | |
620 | "1wv4wi6k5jz7rlwfgvgfdizv77x3cr1wa2aj0k1595g7fbhkjhz2")))) | |
621 | (build-system python-build-system) | |
622 | (propagated-inputs | |
623 | `(("python-pyyaml" ,python-pyyaml) | |
624 | ("python-requests" ,python-requests) | |
625 | ("python-clyent" ,python-clyent))) | |
626 | (native-inputs | |
627 | `(("python-pytz" ,python-pytz) | |
628 | ("python-dateutil" ,python-dateutil) | |
629 | ("python-mock" ,python-mock) | |
630 | ("python-coverage" ,python-coverage) | |
631 | ("python-pillow" ,python-pillow))) | |
632 | (arguments | |
633 | `(#:phases | |
634 | (modify-phases %standard-phases | |
635 | ;; This is needed for some tests. | |
636 | (add-before 'check 'set-up-home | |
637 | (lambda* _ (setenv "HOME" "/tmp") #t)) | |
638 | (add-before 'check 'remove-network-tests | |
639 | (lambda* _ | |
640 | ;; Remove tests requiring a network connection | |
641 | (let ((network-tests '("tests/test_upload.py" | |
642 | "tests/test_authorizations.py" | |
643 | "tests/test_login.py" | |
644 | "tests/test_whoami.py" | |
645 | "utils/notebook/tests/test_data_uri.py" | |
646 | "utils/notebook/tests/test_base.py" | |
647 | "utils/notebook/tests/test_downloader.py" | |
648 | "inspect_package/tests/test_conda.py"))) | |
649 | (with-directory-excursion "binstar_client" | |
650 | (for-each delete-file network-tests))) | |
651 | #t))))) | |
652 | (home-page "https://github.com/Anaconda-Platform/anaconda-client") | |
653 | (synopsis "Anaconda Cloud command line client library") | |
654 | (description | |
655 | "Anaconda Cloud command line client library provides an interface to | |
656 | Anaconda Cloud. Anaconda Cloud is useful for sharing packages, notebooks and | |
657 | environments.") | |
7ed6343f | 658 | (license license:bsd-3))) |
513d35f1 MFM |
659 | |
660 | (define-public python2-anaconda-client | |
661 | (package-with-python2 python-anaconda-client)) | |
4bc08b6e MFM |
662 | |
663 | (define-public python-conda | |
664 | (package | |
665 | (name "python-conda") | |
666 | (version "4.3.16") | |
667 | (source | |
668 | (origin | |
669 | (method url-fetch) | |
670 | (uri (string-append "https://github.com/conda/conda/archive/" | |
671 | version ".tar.gz")) | |
672 | (file-name (string-append name "-" version ".tar.gz")) | |
673 | (sha256 | |
674 | (base32 | |
675 | "1jq8hyrc5npb5sf4vw6s6by4602yj8f79vzpbwdfgpkn02nfk1dv")))) | |
676 | (build-system python-build-system) | |
677 | (arguments | |
678 | `(#:phases | |
679 | (modify-phases %standard-phases | |
680 | (add-before 'build 'create-version-file | |
681 | (lambda _ | |
682 | (with-output-to-file "conda/.version" | |
683 | (lambda () (display ,version))) | |
684 | #t)) | |
685 | (add-before 'check 'remove-failing-tests | |
686 | (lambda _ | |
687 | ;; These tests require internet/network access | |
688 | (let ((network-tests '("test_cli.py" | |
689 | "test_create.py" | |
690 | "test_export.py" | |
691 | "test_fetch.py" | |
692 | "test_history.py" | |
693 | "test_info.py" | |
694 | "test_install.py" | |
695 | "test_priority.py" | |
696 | "conda_env/test_cli.py" | |
697 | "conda_env/test_create.py" | |
698 | "conda_env/specs/test_notebook.py" | |
699 | "conda_env/utils/test_notebooks.py" | |
700 | "core/test_index.py" | |
701 | "core/test_repodata.py"))) | |
702 | (with-directory-excursion "tests" | |
703 | (for-each delete-file network-tests) | |
704 | ||
705 | ;; FIXME: This test creates a file, then deletes it and tests | |
706 | ;; that the file was deleted. For some reason it fails when | |
707 | ;; building with guix, but does not when you run it in the | |
708 | ;; directory left when you build with the --keep-failed | |
709 | ;; option | |
710 | (delete-file "gateways/disk/test_delete.py") | |
711 | #t)))) | |
712 | (replace 'check | |
713 | (lambda _ | |
714 | (setenv "HOME" "/tmp") | |
715 | (zero? (system* "py.test"))))))) | |
716 | (native-inputs | |
717 | `(("python-ruamel.yaml" ,python-ruamel.yaml) | |
718 | ("python-requests" ,python-requests) | |
719 | ("python-pycosat" ,python-pycosat) | |
720 | ("python-pytest" ,python-pytest) | |
721 | ("python-responses" ,python-responses) | |
722 | ("python-pyyaml" ,python-pyyaml) | |
723 | ("python-anaconda-client" ,python-anaconda-client))) | |
724 | (home-page "https://github.com/conda/conda") | |
725 | (synopsis "Cross-platform, OS-agnostic, system-level binary package manager") | |
726 | (description | |
727 | "Conda is a cross-platform, Python-agnostic binary package manager. It | |
728 | is the package manager used by Anaconda installations, but it may be used for | |
729 | other systems as well. Conda makes environments first-class citizens, making | |
730 | it easy to create independent environments even for C libraries. Conda is | |
731 | written entirely in Python. | |
732 | ||
733 | This package provides Conda as a library.") | |
7ed6343f | 734 | (license license:bsd-3))) |
4bc08b6e MFM |
735 | |
736 | (define-public python2-conda | |
2c5cf844 LF |
737 | (let ((base (package-with-python2 |
738 | (strip-python2-variant python-conda)))) | |
739 | (package (inherit base) | |
740 | (native-inputs | |
741 | `(("python2-enum34" ,python2-enum34) | |
742 | ,@(package-native-inputs base)))))) | |
84fcb580 MFM |
743 | |
744 | (define-public conda | |
745 | (package (inherit python-conda) | |
746 | (name "conda") | |
747 | (arguments | |
748 | (substitute-keyword-arguments (package-arguments python-conda) | |
749 | ((#:phases phases) | |
750 | `(modify-phases ,phases | |
751 | (replace 'build | |
752 | (lambda* (#:key outputs #:allow-other-keys) | |
753 | ;; This test fails when run before installation. | |
754 | (delete-file "tests/test_activate.py") | |
755 | ||
756 | ;; Fix broken defaults | |
757 | (substitute* "conda/base/context.py" | |
758 | (("return sys.prefix") | |
759 | (string-append "return \"" (assoc-ref outputs "out") "\"")) | |
760 | (("return (prefix_is_writable\\(self.root_prefix\\))" _ match) | |
761 | (string-append "return False if self.root_prefix == self.conda_prefix else " | |
762 | match))) | |
763 | ||
764 | ;; The util/setup-testing.py is used to build conda in | |
765 | ;; application form, rather than the default, library form. | |
766 | ;; With this, we are able to run commands like `conda --help` | |
767 | ;; directly on the command line | |
768 | (zero? (system* "python" "utils/setup-testing.py" "build_py")))) | |
769 | (replace 'install | |
770 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
771 | (let* ((out (assoc-ref outputs "out")) | |
772 | (target (string-append out "/lib/python" | |
773 | ((@@ (guix build python-build-system) | |
774 | get-python-version) | |
775 | (assoc-ref inputs "python")) | |
776 | "/site-packages/"))) | |
777 | ;; The installer aborts if the target directory is not on | |
778 | ;; PYTHONPATH. | |
779 | (setenv "PYTHONPATH" | |
780 | (string-append target ":" (getenv "PYTHONPATH"))) | |
781 | ||
782 | ;; And it aborts if the directory doesn't exist. | |
783 | (mkdir-p target) | |
784 | (zero? (system* "python" "utils/setup-testing.py" "install" | |
1d84500a RW |
785 | (string-append "--prefix=" out)))))) |
786 | ;; The "activate" and "deactivate" scripts don't need wrapping. | |
787 | ;; They also break when they are renamed. | |
788 | (add-after 'wrap 'undo-wrap | |
789 | (lambda* (#:key outputs #:allow-other-keys) | |
790 | (with-directory-excursion (string-append (assoc-ref outputs "out") "/bin/") | |
791 | (delete-file "deactivate") | |
792 | (rename-file ".deactivate-real" "deactivate") | |
793 | (delete-file "activate") | |
794 | (rename-file ".activate-real" "activate") | |
795 | #t))))))) | |
84fcb580 MFM |
796 | (description |
797 | "Conda is a cross-platform, Python-agnostic binary package manager. It | |
798 | is the package manager used by Anaconda installations, but it may be used for | |
799 | other systems as well. Conda makes environments first-class citizens, making | |
800 | it easy to create independent environments even for C libraries. Conda is | |
801 | written entirely in Python."))) | |
58a308e0 RJ |
802 | |
803 | (define-public gwl | |
804 | (package | |
805 | (name "gwl") | |
fb6ca493 | 806 | (version "0.1.1") |
58a308e0 RJ |
807 | (source (origin |
808 | (method url-fetch) | |
809 | (uri (string-append "https://www.guixwl.org/releases/gwl-" | |
810 | version ".tar.gz")) | |
811 | (sha256 | |
812 | (base32 | |
fb6ca493 | 813 | "06pm967mq1wyggx7l0nfapw5s0k5qc5r9lawk2v3db868br779a7")))) |
58a308e0 RJ |
814 | (build-system gnu-build-system) |
815 | (native-inputs | |
816 | `(("autoconf" ,autoconf) | |
817 | ("automake" ,automake) | |
818 | ("pkg-config" ,pkg-config))) | |
819 | (inputs | |
820 | `(("guile" ,guile-2.2))) | |
821 | (propagated-inputs | |
822 | `(("guix" ,guix) | |
823 | ("guile-commonmark" ,guile-commonmark))) | |
824 | (home-page "https://www.guixwl.org") | |
825 | (synopsis "Workflow management extension for GNU Guix") | |
826 | (description "This project provides two subcommands to GNU Guix and | |
827 | introduces two record types that provide a workflow management extension built | |
828 | on top of GNU Guix.") | |
829 | ;; The Scheme modules in guix/ and gnu/ are licensed GPL3+, | |
830 | ;; the web interface modules in gwl/ are licensed AGPL3+, | |
831 | ;; and the fonts included in this package are licensed OFL1.1. | |
7ed6343f | 832 | (license (list license:gpl3+ license:agpl3+ license:silofl1.1)))) |
98a11b7f TGR |
833 | |
834 | (define-public gcab | |
835 | (package | |
836 | (name "gcab") | |
63f931cf | 837 | (version "1.1") |
98a11b7f TGR |
838 | (source (origin |
839 | (method url-fetch) | |
840 | (uri (string-append "mirror://gnome/sources/" name "/" | |
841 | version "/" name "-" version ".tar.xz")) | |
842 | (sha256 | |
843 | (base32 | |
63f931cf TGR |
844 | "0l19sr6pg0cfcddmi5n79d08mjjbhn427ip5jlsy9zddq9r24aqr")) |
845 | ;; gcab 1.1 has a hard dependency on git — even when building | |
846 | ;; from a tarball. Remove it early so ‘guix environment gcab’ | |
847 | ;; can actually build what ‘guix build --source gcab’ returns. | |
848 | (modules '((guix build utils))) | |
849 | (snippet | |
850 | '(begin | |
851 | (substitute* "meson.build" | |
852 | (("git_version = .*$") "git_version = []\n")) | |
853 | #t)))) | |
44118720 | 854 | (build-system meson-build-system) |
98a11b7f | 855 | (native-inputs |
44118720 TGR |
856 | `(("glib:bin" ,glib "bin") ; for glib-mkenums |
857 | ("intltool" ,intltool) | |
858 | ("pkg-config" ,pkg-config) | |
859 | ("vala" ,vala))) | |
98a11b7f TGR |
860 | (inputs |
861 | `(("glib" ,glib) | |
862 | ("zlib" ,zlib))) | |
44118720 TGR |
863 | (arguments |
864 | `(#:configure-flags | |
865 | ;; XXX This ‘documentation’ is for developers, and fails informatively: | |
866 | ;; Error in gtkdoc helper script: 'gtkdoc-mkhtml' failed with status 5 | |
867 | (list "-Ddocs=false" | |
868 | "-Dintrospection=false"))) | |
98a11b7f TGR |
869 | (home-page "https://wiki.gnome.org/msitools") ; no dedicated home page |
870 | (synopsis "Microsoft Cabinet file manipulation library") | |
871 | (description | |
872 | "The libgcab library provides GObject functions to read, write, and modify | |
873 | Microsoft cabinet (.@dfn{CAB}) files.") | |
874 | (license (list license:gpl2+ ; tests/testsuite.at | |
875 | license:lgpl2.1+)))) ; the rest | |
cb390925 TGR |
876 | |
877 | (define-public msitools | |
878 | (package | |
879 | (name "msitools") | |
880 | (version "0.97") | |
881 | (source (origin | |
882 | (method url-fetch) | |
883 | (uri (string-append "mirror://gnome/sources/" name "/" | |
884 | version "/" name "-" version ".tar.xz")) | |
885 | (sha256 | |
886 | (base32 | |
887 | "0pn6izlgwi4ngpk9jk2n38gcjjpk29nm15aad89bg9z3k9n2hnrs")))) | |
888 | (build-system gnu-build-system) | |
889 | (native-inputs | |
890 | `(("pkg-config" ,pkg-config))) | |
891 | (inputs | |
892 | `(("gcab" ,gcab) | |
893 | ("glib" ,glib) | |
894 | ("libgsf" ,libgsf) | |
895 | ("libxml2" ,libxml2) | |
896 | ("uuid" ,util-linux))) | |
897 | (home-page "https://wiki.gnome.org/msitools") | |
898 | (synopsis "Windows Installer file manipulation tool") | |
899 | (description | |
900 | "msitools is a collection of command-line tools to inspect, extract, build, | |
901 | and sign Windows@tie{}Installer (.@dfn{MSI}) files. It aims to be a solution | |
902 | for packaging and deployment of cross-compiled Windows applications.") | |
903 | (license license:lgpl2.1+))) | |
3d391309 SB |
904 | |
905 | (define-public libostree | |
906 | (package | |
907 | (name "libostree") | |
908 | (version "2018.5") | |
909 | (source (origin | |
910 | (method url-fetch) | |
911 | (uri (string-append | |
912 | "https://github.com/ostreedev/ostree/releases/download/v" | |
913 | version "/libostree-" version ".tar.xz")) | |
914 | (sha256 | |
915 | (base32 | |
916 | "0q82d6rvp119nx7ck7j63a591kz8vg7v465kf9ygh8kzg875l3xd")))) | |
917 | (build-system gnu-build-system) | |
918 | (arguments | |
919 | '(#:phases | |
920 | (modify-phases %standard-phases | |
921 | (add-before 'check 'pre-check | |
922 | (lambda _ | |
923 | ;; Don't try to use the non-existing '/var/tmp' as test | |
924 | ;; directory. | |
925 | (setenv "TEST_TMPDIR" (getenv "TMPDIR")) | |
926 | #t))) | |
927 | ;; XXX: fails with: | |
928 | ;; tap-driver.sh: internal error getting exit status | |
929 | ;; tap-driver.sh: fatal: I/O or internal error | |
930 | #:tests? #f)) | |
931 | (native-inputs | |
932 | `(("attr" ,attr) ; for tests | |
933 | ("bison" ,bison) | |
934 | ("glib:bin" ,glib "bin") ; for 'glib-mkenums' | |
935 | ("gobject-introspection" ,gobject-introspection) | |
936 | ("pkg-config" ,pkg-config) | |
937 | ("xsltproc" ,libxslt))) | |
938 | (inputs | |
939 | `(("avahi" ,avahi) | |
940 | ("docbook-xml" ,docbook-xml-4.2) | |
941 | ("docbook-xsl" ,docbook-xsl) | |
942 | ("e2fsprogs" ,e2fsprogs) | |
943 | ("fuse" ,fuse) | |
944 | ("glib" ,glib) | |
945 | ("gpgme" ,gpgme) | |
946 | ("libarchive" ,libarchive) | |
947 | ("libsoup" ,libsoup) | |
948 | ("nettle" ,nettle) ; required by 'libarchive.la' | |
949 | ("util-linux" ,util-linux))) | |
950 | (home-page "https://ostree.readthedocs.io/en/latest/") | |
951 | (synopsis "Operating system and container binary deployment and upgrades") | |
952 | (description | |
953 | "@code{libostree} is both a shared library and suite of command line | |
954 | tools that combines a \"git-like\" model for committing and downloading | |
955 | bootable filesystem trees, along with a layer for deploying them and managing | |
956 | the bootloader configuration.") | |
957 | (license license:lgpl2.0+))) |