aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
AgeCommit message (Expand)Author
2017-08-04gnu: Add js-selectize....* gnu/packages/javascript.scm (js-selectize): New variable. Ricardo Wurmus
2017-08-04gnu: Add js-datatables....* gnu/packages/javascript.scm (js-datatables): New variable. Ricardo Wurmus
2017-08-04gnu: Add js-highlight....* gnu/packages/javascript.scm (js-highlight): New variable. Ricardo Wurmus
2017-08-04gnu: Add js-strftime....* gnu/packages/javascript.scm (js-strftime): New variable. Ricardo Wurmus
2017-08-04gnu: Add js-json2....* gnu/packages/javascript.scm (js-json2): New variable. Ricardo Wurmus
2017-08-04gnu: Add js-html5shiv....* gnu/packages/javascript.scm (js-html5shiv): New variable. Ricardo Wurmus
2017-08-04gnu: python-lz4: Fix typo in synopsis....* gnu/packages/compression.scm (python-lz4)[synopsis]: Fix typo. Tobias Geerinckx-Rice
2017-08-04gnu: python-lz4: Update to 0.10.1....* gnu/packages/compression.scm (python-lz4): Update to 0.10.1. [native-inputs]: Add python-setuptools-scm. Tobias Geerinckx-Rice
2017-08-04gnu: diffoscope: Use HTTPS....* gnu/packages/package-management.scm (diffoscope)[home-page]: Use HTTPS. Tobias Geerinckx-Rice
2017-08-04gnu: sshoot: Update to 1.2.6....* gnu/packages/vpn.scm (sshoot): Update to 1.2.6. [home-page]: Update to new project home. Tobias Geerinckx-Rice
2017-08-04gnu: fabric: Update to 1.13.2....* gnu/packages/admin.scm (fabric): Update to 1.13.2. Remove outdated comments. [source]: Remove ‘patches’. * gnu/packages/patches/fabric-tests.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Tobias Geerinckx-Rice
2017-08-04gnu: certbot, python-acme: Update to 0.17.0....* gnu/packages/tls.scm (certbot, python-acme, python2-acme): Update to 0.17.0. Tobias Geerinckx-Rice
2017-08-04gnu: xonsh: Update to 0.5.12....* gnu/packages/shells.scm (xonsh): Update to 0.5.12. Tobias Geerinckx-Rice
2017-08-04gnu: cmark: Update to 0.28.0....* gnu/packages/markup.scm (cmark): Update to 0.28.0. Tobias Geerinckx-Rice
2017-08-04gnu: thefuck: Update to 3.19....* gnu/packages/admin.scm (thefuck): Update to 3.19. Tobias Geerinckx-Rice
2017-08-04gnu: zerofree: Update to 1.1.0....* gnu/packages/linux.scm (zerofree): Update to 1.1.0. [home-page, source]: Update from old, inaccessible location. Tobias Geerinckx-Rice
2017-08-04gnu: zerofree: Expand description....* gnu/packages/linux.scm (zerofree)[description]: Expand. Tobias Geerinckx-Rice
2017-08-04gnu: zerofree: Use ‘install-file’....* gnu/packages/linux.scm (zerofree)[arguments]: Simplify install phase, using ‘install-file’. Tobias Geerinckx-Rice
2017-08-04gnu: zerofree: Use ‘modify-phases’ syntax....* gnu/packages/linux.scm (zerofree)[arguments]: Use ‘modify-phases’. Tobias Geerinckx-Rice
2017-08-04gnu: sshfs-fuse: Update to 2.10....* gnu/packages/linux.scm (sshfs-fuse): Update to 2.10. Tobias Geerinckx-Rice
2017-08-04gnu: freerdp: Update to 2.0.0-rc0 [security fixes]....Fixes CVE-2017-{2834,2835,2836,2837,2838,2839}. Reported by Leo Famulari in <https://bugs.gnu.org/27939>. * gnu/packages/rdesktop.scm (freerdp): Update to 2.0.0-rc0. [source]: Use tarball release. Adjust file-name. [arguments]: Remove #:phases. Marius Bakke
2017-08-04gnu: git: Enable tests....* gnu/packages/version-control.scm (git)[arguments]: Remove #:tests?. Add 'patch-tests' phase. Marius Bakke
2017-08-03gnu: gnupg@1.4: Update to 1.4.22 [fixes CVE-2017-7526]....* gnu/packages/gnupg.scm (gnupg-1): Update to 1.4.22. Leo Famulari
2017-08-03gnu: Add missing references to (gnu packages cran)....This is a follow-up to commit a8cba9dd112528d67a946eee057c838221eb5249. Reported-by: Efraim Flashner <efraim@flashner.co.il> Ricardo Wurmus
2017-08-03gnu: bioinformatics.scm: Use (gnu packages cran) module....This is a follow up to a8cba9dd112528d67a946eee057c838221eb5249. * gnu/packages/bioinformatics.scm: Add (gnu packages cran) to #:use-modules. Efraim Flashner
2017-08-03gnu: r-purrr: Update to 0.2.3....* gnu/packages/statistics.scm (r-purrr): Update to 0.2.3. [propagated-inputs]: Remove r-rcpp and r-lazyeval; add r-rlang. Ricardo Wurmus
2017-08-03gnu: r-desc: Update to 1.1.1....* gnu/packages/statistics.scm (r-desc): Update to 1.1.1. Ricardo Wurmus
2017-08-03gnu: r-seqminer: Update to 6.0....* gnu/packages/bioinformatics.scm (r-seqminer): Update to 6.0. Ricardo Wurmus
2017-08-03gnu: r-wgcna: Update to 1.60....* gnu/packages/bioinformatics.scm (r-wgcna): Update to 1.60. Ricardo Wurmus
2017-08-03gnu: r-qtl: Update to 1.41-6....* gnu/packages/bioinformatics.scm (r-qtl): Update to 1.41-6. Ricardo Wurmus
2017-08-03gnu: r-seqinr: Update to 3.4-5....* gnu/packages/bioinformatics.scm (r-seqinr): Update to 3.4-5. Ricardo Wurmus
2017-08-03gnu: r-optparse: Update to 1.4.4....* gnu/packages/bioinformatics.scm (r-optparse): Update to 1.4.4. Ricardo Wurmus
2017-08-03gnu: r-bookdown: Update to 0.4....* gnu/packages/bioinformatics.scm (r-bookdown): Update to 0.4. Ricardo Wurmus
2017-08-03gnu: r-tclust: Update to 1.2-7....* gnu/packages/statistics.scm (r-tclust): Update to 1.2-7. Ricardo Wurmus
2017-08-03gnu: r-car: Update to 2.1-5....* gnu/packages/statistics.scm (r-car): Update to 2.1-5. Ricardo Wurmus
2017-08-03gnu: r-rcppeigen: Update to 0.3.3.3.0....* gnu/packages/statistics.scm (r-rcppeigen): Update to 0.3.3.3.0. Ricardo Wurmus
2017-08-03gnu: r-pbapply: Update to 1.3-3....* gnu/packages/statistics.scm (r-pbapply): Update to 1.3-3. Ricardo Wurmus
2017-08-03gnu: r-vgam: Update to 1.0-4....* gnu/packages/statistics.scm (r-vgam): Update to 1.0-4. Ricardo Wurmus
2017-08-03gnu: r-mclust: Update to 5.3....* gnu/packages/statistics.scm (r-mclust): Update to 5.3. Ricardo Wurmus
2017-08-03gnu: r-flexmix: Update to 2.3-14....* gnu/packages/statistics.scm (r-flexmix): Update to 2.3-14. Ricardo Wurmus
2017-08-03gnu: r-fastica: Update to 1.2-1....* gnu/packages/statistics.scm (r-fastica): Update to 1.2-1. Ricardo Wurmus
2017-08-03gnu: r-cowplot: Update to 0.8.0....* gnu/packages/statistics.scm (r-cowplot): Update to 0.8.0. Ricardo Wurmus
2017-08-03gnu: r-rann: Update to 2.5.1....* gnu/packages/statistics.scm (r-rann): Update to 2.5.1. Ricardo Wurmus
2017-08-03gnu: r-statmod: Update to 1.4.30....* gnu/packages/statistics.scm (r-statmod): Update to 1.4.30. Ricardo Wurmus
2017-08-03gnu: r-gdata: Update to 2.18.0....* gnu/packages/statistics.scm (r-gdata): Update to 2.18.0. Ricardo Wurmus
2017-08-03gnu: r-sfsmisc: Update to 1.1-1....* gnu/packages/statistics.scm (r-sfsmisc): Update to 1.1-1. Ricardo Wurmus
2017-08-03gnu: r-googlesheets: Update to 0.2.2....* gnu/packages/statistics.scm (r-googlesheets): Update to 0.2.2. Ricardo Wurmus
2017-08-03gnu: r-tidyr: Update to 0.6.3....* gnu/packages/statistics.scm (r-tidyr): Update to 0.6.3. Ricardo Wurmus
2017-08-03gnu: r-glmnet: Update to 2.0-10....* gnu/packages/statistics.scm (r-glmnet): Update to 2.0-10. Ricardo Wurmus
2017-08-03gnu: r-irlba: Update to 2.2.1....* gnu/packages/statistics.scm (r-irlba): Update to 2.2.1. Ricardo Wurmus
(p* (lower-object p)) (g (lower-object (default-guile)))) (return (and (find (match-lambda ((file "the-uri") #t) (_ #f)) nodes) (find (match-lambda ((source target) (and (string=? source (derivation-file-name p*)) (string=? target o*)))) edges) ;; There must also be an edge from O to G. (find (match-lambda ((source target) (and (string=? source o*) (string=? target (derivation-file-name g))))) edges))))))))) (test-assert "derivation DAG" (let-values (((backend nodes+edges) (make-recording-backend))) (run-with-store %store (mlet* %store-monad ((txt (text-file "text-file" "Hello!")) (guile (package->derivation %bootstrap-guile)) (drv (gexp->derivation "output" #~(symlink #$txt #$output) #:guile-for-build guile))) ;; We should get at least these 3 nodes and corresponding edges. (mbegin %store-monad (export-graph (list drv) 'port #:node-type %derivation-node-type #:backend backend) (let-values (((nodes edges) (nodes+edges))) ;; XXX: For some reason we need to throw in some 'basename'. (return (and (match nodes (((ids labels) ...) (let ((ids (map basename ids))) (every (lambda (item) (member (basename item) ids)) (list txt (derivation-file-name drv) (derivation-file-name guile)))))) (every (cut member <> (map (lambda (edge) (map basename edge)) edges)) (list (map (compose basename derivation-file-name) (list drv guile)) (list (basename (derivation-file-name drv)) (basename txt)))))))))))) (test-assert "reference DAG" (let-values (((backend nodes+edges) (make-recording-backend))) (run-with-store %store (mlet* %store-monad ((txt (text-file "text-file" "Hello!")) (guile (package->derivation %bootstrap-guile)) (drv (gexp->derivation "output" #~(symlink #$txt #$output) #:guile-for-build guile)) (out -> (derivation->output-path drv))) ;; We should see only OUT and TXT, with an edge from the former to the ;; latter. (mbegin %store-monad (built-derivations (list drv)) (export-graph (list (derivation->output-path drv)) 'port #:node-type %reference-node-type #:backend backend) (let-values (((nodes edges) (nodes+edges))) (return (and (equal? (match nodes (((ids labels) ...) ids)) (list out txt)) (equal? edges `((,out ,txt))))))))))) (test-assert "referrer DAG" (let-values (((backend nodes+edges) (make-recording-backend))) (run-with-store %store (mlet* %store-monad ((txt (text-file "referrer-node" (random-text))) (drv (gexp->derivation "referrer" #~(symlink #$txt #$output))) (out -> (derivation->output-path drv))) ;; We should see only TXT and OUT, with an edge from the former to the ;; latter. (mbegin %store-monad (built-derivations (list drv)) (export-graph (list txt) 'port #:node-type %referrer-node-type #:backend backend) (let-values (((nodes edges) (nodes+edges))) (return (and (equal? (match nodes (((ids labels) ...) ids)) (list txt out)) (equal? edges `((,txt ,out))))))))))) (test-assert "module graph" (let-values (((backend nodes+edges) (make-recording-backend))) (run-with-store %store (export-graph '((gnu packages guile)) 'port #:node-type %module-node-type #:backend backend)) (let-values (((nodes edges) (nodes+edges))) (and (member '(gnu packages guile) (match nodes (((ids labels) ...) ids))) (->bool (and (member (list '(gnu packages guile) '(gnu packages libunistring)) edges) (member (list '(gnu packages guile) '(gnu packages bdw-gc)) edges))))))) (test-assert "node-edges" (run-with-store %store (let ((packages (fold-packages cons '()))) (mlet %store-monad ((edges (node-edges %package-node-type packages))) (return (and (null? (edges hello)) (lset= eq? (edges guile-2.0) (match (package-direct-inputs guile-2.0) (((labels packages _ ...) ...) packages))))))))) (test-assert "node-transitive-edges + node-back-edges" (run-with-store %store (let ((packages (fold-packages cons '())) (bootstrap? (lambda (package) (string-contains (location-file (package-location package)) "bootstrap.scm"))) (trivial? (lambda (package) (eq? (package-build-system package) trivial-build-system)))) (mlet %store-monad ((edges (node-back-edges %bag-node-type packages))) (let* ((glibc (canonical-package glibc)) (dependents (node-transitive-edges (list glibc) edges)) (diff (lset-difference eq? packages dependents))) ;; All the packages depend on libc, except bootstrap packages and ;; some that use TRIVIAL-BUILD-SYSTEM. (return (null? (remove (lambda (package) (or (trivial? package) (bootstrap? package))) diff)))))))) (test-assert "node-transitive-edges, no duplicates" (run-with-store %store (let* ((p0 (dummy-package "p0")) (p1a (dummy-package "p1a" (inputs `(("p0" ,p0))))) (p1b (dummy-package "p1b" (inputs `(("p0" ,p0))))) (p2 (dummy-package "p2" (inputs `(("p1a" ,p1a) ("p1b" ,p1b)))))) (mlet %store-monad ((edges (node-edges %package-node-type (list p2 p1a p1b p0)))) (return (lset= eq? (node-transitive-edges (list p2) edges) (list p1a p1b p0))))))) (test-equal "node-reachable-count" '(3 3) (run-with-store %store (let* ((p0 (dummy-package "p0")) (p1a (dummy-package "p1a" (inputs `(("p0" ,p0))))) (p1b (dummy-package "p1b" (inputs `(("p0" ,p0))))) (p2 (dummy-package "p2" (inputs `(("p1a" ,p1a) ("p1b" ,p1b)))))) (mlet* %store-monad ((all -> (list p2 p1a p1b p0)) (edges (node-edges %package-node-type all)) (back (node-back-edges %package-node-type all))) (return (list (node-reachable-count (list p2) edges) (node-reachable-count (list p0) back))))))) (test-end "graph")