From 0a1c7baafb5107b452c33e9c53526befe458ed16 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 4 Aug 2019 03:37:14 -0500 Subject: bnw: Build binaries. * gn/packages/bnw.scm (bnw)[build-system]: Use gnu-build-system. [arguments]: Adjust accordingly. [native-inputs]: Remove source. [inputs]: Remove bash-minimal, add rmath-standalone. --- gn/packages/bnw.scm | 90 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 52 insertions(+), 38 deletions(-) (limited to 'gn') diff --git a/gn/packages/bnw.scm b/gn/packages/bnw.scm index 2c34256..7b6662c 100644 --- a/gn/packages/bnw.scm +++ b/gn/packages/bnw.scm @@ -2,12 +2,12 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix git-download) - #:use-module (guix build-system trivial) - #:use-module (gnu packages bash) + #:use-module (guix build-system gnu) #:use-module (gn packages graphviz) #:use-module (gn packages javascript) #:use-module (gn packages maths) #:use-module (gnu packages python) + #:use-module (gnu packages statistics) #:use-module (gn packages web)) (define-public bnw @@ -25,44 +25,45 @@ (sha256 (base32 "10qwykp2zcyxih6a52icvy30ps69qk4v3jgirmdpw1l15zi4p2wq")))) - (build-system trivial-build-system) + (build-system gnu-build-system) (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let* ((out (assoc-ref %outputs "out")) - (source (assoc-ref %build-inputs "source")) - (bash (assoc-ref %build-inputs "bash")) - (graphviz (assoc-ref %build-inputs "graphviz")) - (octave (assoc-ref %build-inputs "octave")) - (python (assoc-ref %build-inputs "python")) - (jquery (assoc-ref %build-inputs "jquery")) - (awesome (assoc-ref %build-inputs "awesome")) - (cyto (assoc-ref %build-inputs "cytoscape")) - (cyto2 (assoc-ref %build-inputs "cytoscape-2")) - (cs-dagre (assoc-ref %build-inputs "cyto-dagre")) - (d3js (assoc-ref %build-inputs "d3js")) - (d3js-multi (assoc-ref %build-inputs "d3js-multi")) - (dagre (assoc-ref %build-inputs "dagre")) - (lodash (assoc-ref %build-inputs "lodash")) - (canvas-toblob (assoc-ref %build-inputs "canvas-toblob")) - (filesaver (assoc-ref %build-inputs "filesaver")) - (panzoom (assoc-ref %build-inputs "panzoom")) - (js-path "/share/genenetwork2/javascript/")) - (copy-recursively source out) - (for-each (lambda (file) - (patch-shebang file - (list (string-append bash "/bin") - (string-append octave "/bin") - (string-append python "/bin")))) - (find-files out ".*")) - (with-directory-excursion out + `(#:tests? #f ; no test suite + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-after 'patch-source-shebangs 'patch--more-shebangs + (lambda* (#:key inputs #:allow-other-keys) + (let* ((bash (assoc-ref inputs "bash")) + (graphviz (assoc-ref inputs "graphviz")) + (octave (assoc-ref inputs "octave")) + (python (assoc-ref inputs "python")) + (rmath (assoc-ref inputs "rmath")) + (jquery (assoc-ref inputs "jquery")) + (awesome (assoc-ref inputs "awesome")) + (cyto (assoc-ref inputs "cytoscape")) + (cyto2 (assoc-ref inputs "cytoscape-2")) + (cs-dagre (assoc-ref inputs "cyto-dagre")) + (d3js (assoc-ref inputs "d3js")) + (d3js-multi (assoc-ref inputs "d3js-multi")) + (dagre (assoc-ref inputs "dagre")) + (lodash (assoc-ref inputs "lodash")) + (canvas-toblob (assoc-ref inputs "canvas-toblob")) + (filesaver (assoc-ref inputs "filesaver")) + (panzoom (assoc-ref inputs "panzoom")) + (js-path "/share/genenetwork2/javascript/")) + (for-each (lambda (file) + (patch-shebang file + (list (string-append bash "/bin") + (string-append octave "/bin") + (string-append python "/bin")))) + (find-files "." ".*")) (substitute* (append '("home.php") (find-files "sourcecodes" ".php") (find-files "sourcecodes/run_scripts" ".*")) (("/usr/bin/dot") (string-append graphviz "/bin/dot"))) + (substitute* "sourcecodes/build.sh" + (("./localscore/libRmath.so") (string-append rmath "/lib/libRmath.so"))) (substitute* "sourcecodes/layout_cyto.php" (("https://cdnjs.cloudflare.com/ajax/libs/cytoscape/3.7.1/cytoscape.min.js") (string-append cyto js-path "cytoscape/cytoscape.min.js")) @@ -91,13 +92,26 @@ (("https://cdn.rawgit.com/eligrey/canvas-toBlob.js/f1a01896135ab378aa5c0118eadd81da55e698d8/canvas-toBlob.js") (string-append canvas-toblob js-path "canvas-toBlob/canvas-toBlob.js")) (("https://cdn.rawgit.com/eligrey/FileSaver.js/e9d941381475b5df8b7d7691013401e171014e89/FileSaver.min.js") - (string-append filesaver js-path "filesaver/filesaver.js")))))))) - (native-inputs `(("source" ,source))) + (string-append filesaver js-path "filesaver/filesaver.js")))) + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (delete-file "sourcecodes/localscore/libRmath.so") + (copy-recursively "." out)) + #t)) + (replace 'build + (lambda _ + (with-directory-excursion "sourcecodes" + (substitute* "build.sh" + (("./localscore") "localscore")) + (chmod "k-best/src/buildk_poster.sh" #o755) + (invoke "sh" "build.sh"))))))) (inputs - `(("bash" ,bash-minimal) - ("graphviz" ,graphviz-2.26) + `(("graphviz" ,graphviz-2.26) ("octave" ,octave-3.4.3) ("python" ,python-2) + ("rmath" ,rmath-standalone) ; Should this be r-minimal? Which version? ("jquery" ,web-jquery) ("awesome" ,web-font-awesome) ("cytoscape" ,javascript-cytoscape) -- cgit v1.2.3 From 61a97a1cd423ec3c3ea233be63040852efee59fe Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 4 Aug 2019 04:01:32 -0500 Subject: gn: rust-qtlreaper: Update with upstream changes. * gn/packages/genenetwork.scm (rust-qtlreaper)[arguments]: Remove custom phases. --- gn/packages/genenetwork.scm | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'gn') diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index 553fbd7..7773fa5 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -270,27 +270,7 @@ location of a putative QTL.") ("rust-structopt" ,rust-structopt) ("rust-rayon" ,rust-rayon-1.0) ("rust-serde" ,rust-serde) - ("rust-serde-json" ,rust-serde-json)) - #:phases - (modify-phases %standard-phases - (add-after 'configure 'regenerate-cargo-lock - (lambda _ - (delete-file "Cargo.lock") - (invoke "cargo" "generate-lockfile"))) - (add-after 'patch-generated-file-shebangs 'patch-cargo-checksums - (lambda _ - (use-modules (guix build cargo-utils)) - (for-each - (lambda (filename) - (use-modules (guix build cargo-utils)) - (delete-file filename) - (let* ((dir (dirname filename))) - (display (string-append - "patch-cargo-checksums: generate-checksums for " - dir "\n")) - (generate-checksums dir))) - (find-files "guix-vendor" ".cargo-checksum.json")) - #t))))) + ("rust-serde-json" ,rust-serde-json)))) (home-page "https://github.com/chfi/rust-qtlreaper") (synopsis "Reimplementation of genenetwork/QTLReaper in Rust") (description "Reimplementation of genenetwork/QTLReaper in Rust") -- cgit v1.2.3 From c54d99b582e00e083da128fbe94d8237f8ddfabc Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 5 Aug 2019 04:14:56 -0500 Subject: gn: Add ratspub. * gn/packages/ratspub.scm (ratspub): New variable. --- gn/packages/ratspub.scm | 75 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 gn/packages/ratspub.scm (limited to 'gn') diff --git a/gn/packages/ratspub.scm b/gn/packages/ratspub.scm new file mode 100644 index 0000000..7164229 --- /dev/null +++ b/gn/packages/ratspub.scm @@ -0,0 +1,75 @@ +(define-module (gn packages ratspub) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system python) + #:use-module (gn packages javascript) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) + #:use-module (gn packages web)) + +(define-public ratspub + (let ((commit "19bc3078c06bef3c10c55dc6e69018e595d07d17") + (revision "1")) + (package + (name "ratspub") + (version (git-version "0.0.0" revision commit)) ; June 1, 2019 + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/chen42/ratspub.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1v05rrjmiwrjmjspn487hd39403vb452hmk2l1l55rkm26781hwk")))) + (build-system python-build-system) + (arguments + `(#:tests? #f ; no test suite + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (add-after 'unpack 'patch-javascript-references + (lambda* (#:key inputs #:allow-other-keys) + (let ((cytoscape (assoc-ref inputs "cytoscape")) + (bootstrap (assoc-ref inputs "bootstrap"))) + (substitute* "templates/cytoscape.html" + (("script src=.*") + (string-append "script src=\"" cytoscape + "/share/genenetwork2/javascript/cytoscape/cytoscape.min.js\">\n"))) + (substitute* "templates/layout.html" + (("https://stackpath.bootstrapcdn.com/bootstrap/.*") + (string-append bootstrap "/share/web/bootstrap/css/bootstrap.min.css\">\n")))) + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (copy-recursively "static" (string-append out "/static")) + (copy-recursively "templates" (string-append out "/templates")) + (install-file "server.py" out)) + #t)) + (add-after 'install 'wrap-executable + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (path (getenv "PYTHONPATH"))) + (wrap-program (string-append out "/server.py") + `("PYTHONPATH" ":" prefix (,path)))) + #t))))) + (inputs + `(("python-flask" ,python-flask) + ("python-nltk" ,python-nltk))) + (native-inputs + `(("cytoscape" ,javascript-cytoscape) + ("bootstrap" ,web-bootstrap))) + (home-page "http://rats.pub/") + (synopsis "Relationship with Addiction Through Searches of PubMed") + (description + "RatsPub searches PubMed to find sentences that contain the query terms +(i.e., gene symbols) and drug addiction-related keywords. These gene-keyword +relationships are presented as an interactive graph that can efficiently answer +the question \"What do we know about these genes and addiction?\". Data from +@acronym{EBI GWAS, European Bioinformatics Institute Genome-Wide Association +Studies} catalog are also included in the search to better answer this +question.") + (license #f)))) -- cgit v1.2.3 From 50319950fa33913fb8217d019cc7bd67bab4ad0d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 5 Aug 2019 04:15:26 -0500 Subject: gn: Add edirect-11. * gn/packages/bioinformatics.scm (edirect-11): New variable. --- gn/packages/bioinformatics.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index bdd0322..0c88442 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -1050,3 +1050,18 @@ reads.") ;; Free for non-commercial use by academic, government, and ;; non-profit/not-for-profit institutions (license license:non-copyleft))) + +(define-public edirect-11 + (package + (inherit edirect) + (name "edirect") + (version "11.8.20190730") + (source + (origin + (method url-fetch) + (uri (string-append "ftp://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect" + "/versions/" version + "/edirect-" version ".tar.gz")) + (sha256 + (base32 + "037sn5qmari98z5pmmrf9zx3il017nfp67p5hvq1pqzxhv6i29l3")))))) -- cgit v1.2.3 From 1de344e71b1dd972e7ef69df2535f7464db9151a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 5 Aug 2019 04:43:44 -0500 Subject: gn: pindel: Don't use unstable tarball. * gn/packages/bioinformatics.scm (pindel)[source]: Download using 'git-fetch'. --- gn/packages/bioinformatics.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 0c88442..5b77fb1 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -939,12 +939,13 @@ manipulations on VCF files.") (name "pindel") (version "0.2.5b8") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/genome/pindel/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/genome/pindel.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "06bsf0psxwf7h5p3j97xkh9k5qrwhxh6xn942y1j1m2inyhgs8bz")))) + (base32 "16a32fbgv1n58nfcxa1nyphrdrad80sgpinfa9p028n6plwycpww")))) (build-system gnu-build-system) (inputs `(("samtools" ,samtools) -- cgit v1.2.3 From 6d4485f5908139e9dbf6cd86ab4ee21f424690d0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 5 Aug 2019 04:52:59 -0500 Subject: gn: pindel: Update package definition. * gn/packages/bioinformatics.scm (pindel)[arguments]: Use 'invoke' when possible. Parameterize custom 'check phase. --- gn/packages/bioinformatics.scm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 5b77fb1..5b00e58 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -969,7 +969,7 @@ manipulations on VCF files.") ;; The second run actually compiles the program. Now Makefile.local ;; is available, and we should treat an exiting make with an error as ;; a true error. - (zero? (system* "make")))) + (invoke "make"))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) @@ -980,13 +980,11 @@ manipulations on VCF files.") ;; There are multiple test targets, so in order to run all ;; tests, we must run the separate make targets. (replace 'check - (lambda* (#:key inputs #:allow-other-keys) - (and - (zero? (system* "make" "acceptance-tests")) - (zero? (system* "make" "coverage-tests")) - (zero? (system* "make" "cppcheck")) - (zero? (system* "make" "functional-tests")) - (zero? (system* "make" "regression-tests")))))))) + (lambda _ + (for-each (lambda (target) + (invoke "make" target)) + '("acceptance-tests" "coverage-tests" "cppcheck" + "functional-tests" "regression-tests"))))))) (home-page "https://github.com/genome/pindel") (synopsis "Structural variants detector for next-gen sequencing data") (description "Pindel can detect breakpoints of large deletions, medium sized -- cgit v1.2.3 From 9d2868360926c0a700cd57fd65fb1ea2b4bf16a1 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 5 Aug 2019 05:56:36 -0500 Subject: gn: contra: Update source uri. * gn/packages/bioinformatics.scm (contra)[source]: Update to new folder structure. --- gn/packages/bioinformatics.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 5b00e58..eb495f9 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -69,7 +69,8 @@ (source (origin (method url-fetch) (uri (string-append - "mirror://sourceforge/contra-cnv/CONTRA.v" version ".tar.gz")) + "mirror://sourceforge/contra-cnv/CONTRA.V" + (version-major+minor version) "/CONTRA.v" version ".tar.gz")) (sha256 (base32 "0agpcm2xh5f0i9n9sx1kvln6mzdksddmh11bvzj6bh76yw5pnw91")))) -- cgit v1.2.3 From e756c88a8ccf8579b57eb3370d2ccc8cec23b5cd Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 5 Aug 2019 06:01:24 -0500 Subject: gn: contra: Update package definition. * gn/packages/bioinformatics.scm (contra)[arguments]: Update custom 'install phase. --- gn/packages/bioinformatics.scm | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index eb495f9..d6972d6 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -88,18 +88,16 @@ (delete 'configure) (delete 'build) ; We can use Guix's BEDtools instead. (replace 'install - (lambda _ - (let* ((out (assoc-ref %outputs "out")) + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin")) (doc (string-append out "/share/doc/contra"))) - (mkdir-p bin) - (mkdir-p doc) - (and - (zero? (system* "cp" "--recursive" "scripts" bin)) - (zero? (system* "cp" "contra.py" bin)) - (zero? (system* "cp" "baseline.py" bin)) - ;; There's only a pre-built PDF available. - (zero? (system* "cp" "CONTRA_User_Guide.2.0.pdf" doc))))))))) + (copy-recursively "scripts" (string-append bin "/scripts")) + (install-file "contra.py" bin) + (install-file "baseline.py" bin) + ;; There's only a pre-built PDF available. + (install-file "CONTRA_User_Guide.2.0.pdf" doc)) + #t))))) (home-page "http://contra-cnv.sourceforge.net/") (synopsis "Tool for copy number variation (CNV) detection for targeted resequencing data") -- cgit v1.2.3 From 06896867d9adc2e060e49222f286b306ef920e92 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 5 Aug 2019 06:05:58 -0500 Subject: gn: contra: Remove bundled source. * gn/packages/bioinformatics.scm (contra)[source]: Add snippet to remove bundled sources. --- gn/packages/bioinformatics.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index d6972d6..5ee126e 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -73,7 +73,11 @@ (version-major+minor version) "/CONTRA.v" version ".tar.gz")) (sha256 (base32 - "0agpcm2xh5f0i9n9sx1kvln6mzdksddmh11bvzj6bh76yw5pnw91")))) + "0agpcm2xh5f0i9n9sx1kvln6mzdksddmh11bvzj6bh76yw5pnw91")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file "BEDTools.v2.11.2.tar.gz") #t)))) (build-system gnu-build-system) (propagated-inputs `(("python" ,python-2) -- cgit v1.2.3 From e1880fa256769bd201ead3746d612fb3283211b0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 5 Aug 2019 07:04:50 -0500 Subject: gn: Remove some duplicate packages --- gn/packages/arrayfire.scm | 71 +----------------- gn/packages/beignet.scm | 71 +----------------- gn/packages/bioinformatics.scm | 131 +-------------------------------- gn/packages/clBLAS.scm | 162 ----------------------------------------- gn/packages/clFFT.scm | 158 ---------------------------------------- gn/packages/glfw.scm | 83 --------------------- gn/packages/ocl-icd.scm | 36 +-------- gn/packages/ruby.scm | 47 ------------ 8 files changed, 11 insertions(+), 748 deletions(-) delete mode 100644 gn/packages/clBLAS.scm delete mode 100644 gn/packages/clFFT.scm delete mode 100644 gn/packages/glfw.scm (limited to 'gn') diff --git a/gn/packages/arrayfire.scm b/gn/packages/arrayfire.scm index 39e7899..c230dc4 100644 --- a/gn/packages/arrayfire.scm +++ b/gn/packages/arrayfire.scm @@ -52,7 +52,10 @@ #:use-module (gnu packages ruby) #:use-module (gnu packages xorg) #:use-module (gnu packages version-control) - #:use-module (gnu packages linux)) + #:use-module (gnu packages linux) + #:use-module (gnu packages opencl) + #:use-module (gn packages ocl-headers) + #:use-module (gn packages ocl-icd)) (define-public arrayfire (package @@ -292,69 +295,3 @@ (synopsis "Peer-reviewed portable C++ source libraries,BoostCompute") (description "Peer-reviewed portable C++ source libraries,BoostCompute") (license (list license:x11-style)))) - -(define-public ocl-icd - (package - (name "ocl-icd") - (version "2.2.9") - (source (origin - (method url-fetch) - (uri (string-append "https://forge.imag.fr/frs/download.php/716/ocl-icd-" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rgaixwnxmrq2aq4kcdvs0yx7i6krakarya9vqs7qwsv5hzc32hc")))) - (inputs `(("zip" ,zip) - ("autoconf" ,autoconf) - ("automake" ,automake) - ("ruby" ,ruby) - ("libtool" ,libtool) - ("opencl-headers" ,opencl-headers) - ("libgcrypt" ,libgcrypt))) - (build-system gnu-build-system) - (arguments - '(#:phases (modify-phases %standard-phases - (add-after 'unpack `bootstrap - (lambda _ - (zero? (system* "autoreconf" "-vfi"))))))) - (home-page "https://forge.imag.fr/projects/ocl-icd/") - (synopsis "OpenCL implementations are provided as ICD (Installable Client Driver).") - (description "OpenCL implementations are provided as ICD (Installable Client Driver). - An OpenCL program can use several ICD thanks to the use of an ICD Loader as provided by this project. - This free ICD Loader can load any (free or non free) ICD") - (license (list license:gpl2 license:ruby)))) - -(define-public opencl-headers -(let ((commit "c1770dc")) - (package - (name "opencl-headers") - (version (string-append "2.1-" commit )) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/KhronosGroup/OpenCL-Headers.git") - (commit commit))) - (file-name (string-append name "-" commit)) - (sha256 - (base32 - "0m9fkblqja0686i2jjqiszvq3df95gp01a2674xknlmkd6525rck")))) - (propagated-inputs '()) - (inputs '()) - (native-inputs '()) - (build-system gnu-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'build) - (delete 'check) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (copy-recursively "." (string-append - (assoc-ref outputs "out") - "/include/CL"))))))) - (synopsis "The Khronos OpenCL headers") - (description "This package provides the Khronos OpenCL headers") - (home-page "https://www.khronos.org/registry/cl/") - (license (list license:gpl2))))) diff --git a/gn/packages/beignet.scm b/gn/packages/beignet.scm index c07fa61..ea099c4 100644 --- a/gn/packages/beignet.scm +++ b/gn/packages/beignet.scm @@ -47,7 +47,10 @@ #:use-module (gnu packages xorg) #:use-module (gnu packages xdisorg) #:use-module (gnu packages version-control) - #:use-module (gnu packages linux)) + #:use-module (gnu packages linux) + #:use-module (gnu packages opencl) + #:use-module (gn packages ocl-headers) + #:use-module (gn packages ocl-icd)) (define-public beignet (package @@ -87,69 +90,3 @@ (synopsis "Intel's OpenCL framework") (description "Intel's OpenCL framework that works with Intel IvyBridge GPUs and above") (license license:gpl2))) - -(define-public ocl-icd - (package - (name "ocl-icd") - (version "2.2.9") - (source (origin - (method url-fetch) - (uri (string-append "https://forge.imag.fr/frs/download.php/716/ocl-icd-" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rgaixwnxmrq2aq4kcdvs0yx7i6krakarya9vqs7qwsv5hzc32hc")))) - (inputs `(("zip" ,zip) - ("autoconf" ,autoconf) - ("automake" ,automake) - ("ruby" ,ruby) - ("libtool" ,libtool) - ("opencl-headers" ,opencl-headers) - ("libgcrypt" ,libgcrypt))) - (build-system gnu-build-system) - (arguments - '(#:phases (modify-phases %standard-phases - (add-after 'unpack `bootstrap - (lambda _ - (zero? (system* "autoreconf" "-vfi"))))))) - (home-page "https://forge.imag.fr/projects/ocl-icd/") - (synopsis "OpenCL implementations are provided as ICD (Installable Client Driver).") - (description "OpenCL implementations are provided as ICD (Installable Client Driver). - An OpenCL program can use several ICD thanks to the use of an ICD Loader as provided by this project. - This free ICD Loader can load any (free or non free) ICD") - (license license:gpl2))) - -(define-public opencl-headers -(let ((commit "c1770dc")) - (package - (name "opencl-headers") - (version (string-append "2.1-" commit )) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/KhronosGroup/OpenCL-Headers.git") - (commit commit))) - (file-name (string-append name "-" commit)) - (sha256 - (base32 - "0m9fkblqja0686i2jjqiszvq3df95gp01a2674xknlmkd6525rck")))) - (propagated-inputs '()) - (inputs '()) - (native-inputs '()) - (build-system gnu-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'build) - (delete 'check) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (copy-recursively "." (string-append - (assoc-ref outputs "out") - "/include/CL"))))))) - (synopsis "The Khronos OpenCL headers") - (description "This package provides the Khronos OpenCL headers") - (home-page "https://www.khronos.org/registry/cl/") - (license license:gpl2)))) diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 5ee126e..e5914c2 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -431,7 +431,7 @@ automatically handles index file generation and use.") ;; A part of the program is licensed GPLv2. (license (list license:non-copyleft license:gpl2))))) -(define-public vcflib ; guix duplicat, see below? +(define-public vcflib (let ((commit "3ce827d8ebf89bb3bdc097ee0fe7f46f9f30d5fb")) (package (name "vcflib") @@ -808,135 +808,6 @@ integration with gPLINK and Haploview, there is some support for the subsequent visualization, annotation and storage of results.") (license license:gpl3+)))) - -(define-public vcflib ; duplicate? See above - (let ((commit "3ce827d8ebf89bb3bdc097ee0fe7f46f9f30d5fb")) - (package - (name "vcflib") - (version (string-append "v1.0.2-" (string-take commit 7))) - (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/vcflib/vcflib/archive/" - "5ac091365fdc716cc47cc5410bb97ee5dc2a2c92" ".tar.gz")) - (file-name "vcflib-5ac0913.tar.gz") - (sha256 - (base32 "0ywshwpif059z5h0g7zzrdfzzdj2gr8xvwlwcsdxrms3p9iy35h8")))) - (build-system gnu-build-system) - (native-inputs - `(("htslib" ,htslib) - ("zlib" ,zlib) - ("python" ,python-2) - ("perl" ,perl) - ("tabixpp-src" - ,(origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/tabixpp/archive/" - "bbc63a49acc52212199f92e9e3b8fba0a593e3f7" ".tar.gz")) - (file-name "tabixpp-src.tar.gz") - (sha256 - (base32 "1s06wmpgj4my4pik5kp2lc42hzzazbp5ism2y4i2ajp2y1c68g77")))) - ("intervaltree-src" - ,(origin - (method url-fetch) - (uri (string-append - "https://github.com/ekg/intervaltree/archive/" - "dbb4c513d1ad3baac516fc1484c995daf9b42838" ".tar.gz")) - (file-name "intervaltree-src.tar.gz") - (sha256 - (base32 "19prwpn2wxsrijp5svfqvfcxl5nj7zdhm3jycd5kqhl9nifpmcks")))) - ("smithwaterman-src" - ,(origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/smithwaterman/archive/" - "203218b47d45ac56ef234716f1bd4c741b289be1" ".tar.gz")) - (file-name "smithwaterman-src.tar.gz") - (sha256 - (base32 "1lkxy4xkjn96l70jdbsrlm687jhisgw4il0xr2dm33qwcclzzm3b")))) - ("multichoose-src" - ,(origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/multichoose/archive/" - "73d35daa18bf35729b9ba758041a9247a72484a5" ".tar.gz")) - (file-name "multichoose-src.tar.gz") - (sha256 - (base32 "07aizwdabmlnjaq4p3v0vsasgz1xzxid8xcxcw3paq8kh9c1099i")))) - ("fsom-src" - ,(origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/fsom/archive/" - "a6ef318fbd347c53189384aef7f670c0e6ce89a3" ".tar.gz")) - (file-name "fsom-src.tar.gz") - (sha256 - (base32 "0q6b57ppxfvsm5cqmmbfmjpn5qvx2zi5pamvp3yh8gpmmz8cfbl3")))) - ("filevercmp-src" - ,(origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/filevercmp/archive/" - "1a9b779b93d0b244040274794d402106907b71b7" ".tar.gz")) - (file-name "filevercmp-src.tar.gz") - (sha256 - (base32 "0yp5jswf5j2pqc6517x277s4s6h1ss99v57kxw9gy0jkfl3yh450")))) - ("fastahack-src" - ,(origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/fastahack/archive/" - "c68cebb4f2e5d5d2b70cf08fbdf1944e9ab2c2dd" ".tar.gz")) - (file-name "fastahack-src.tar.gz") - (sha256 - (base32 "0j25lcl3jk1kls66zzxjfyq5ir6sfcvqrdwfcva61y3ajc9ssay2")))))) - (arguments - `(#:tests? #f - #:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'check) - (add-after 'unpack 'unpack-submodule-sources - (lambda* (#:key inputs #:allow-other-keys) - (let ((unpack (lambda (source target) - (with-directory-excursion target - (zero? (system* "tar" "xvf" - (assoc-ref inputs source) - "--strip-components=1")))))) - (and - (unpack "intervaltree-src" "intervaltree") - (unpack "fastahack-src" "fastahack") - (unpack "filevercmp-src" "filevercmp") - (unpack "fsom-src" "fsom") - (unpack "intervaltree-src" "intervaltree") - (unpack "multichoose-src" "multichoose") - (unpack "smithwaterman-src" "smithwaterman") - (unpack "tabixpp-src" "tabixpp"))))) - (add-after 'unpack-submodule-sources 'fix-makefile - (lambda* (#:key inputs #:allow-other-keys) - (substitute* '("Makefile") - (("^GIT_VERSION.*") "GIT_VERSION = v1.0.0")))) - (replace - 'build - (lambda* (#:key inputs make-flags #:allow-other-keys) - (with-directory-excursion "tabixpp" - (zero? (system* "make"))) - (zero? (system* "make" "CC=gcc" - (string-append "CFLAGS=\"" "-Itabixpp " - "-I" (assoc-ref inputs "htslib") "/include " "\"") "all")))) - (replace - 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append (assoc-ref outputs "out") "/bin")) - (lib (string-append (assoc-ref outputs "out") "/lib"))) - (for-each (lambda (file) - (install-file file bin)) - (find-files "bin" ".*")) - (install-file "libvcflib.a" lib))))))) - (home-page "https://github.com/vcflib/vcflib/") - (synopsis "Library for parsing and manipulating VCF files") - (description "Vcflib provides methods to manipulate and interpret -sequence variation as it can be described by VCF. It is both an API for parsing -and operating on records of genomic variation as it can be described by the VCF -format, and a collection of command-line utilities for executing complex -manipulations on VCF files.") - (license license:expat)))) - (define-public pindel (package (name "pindel") diff --git a/gn/packages/clBLAS.scm b/gn/packages/clBLAS.scm deleted file mode 100644 index 1c838fb..0000000 --- a/gn/packages/clBLAS.scm +++ /dev/null @@ -1,162 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016 Dennis Mungai -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see . - -(define-module (gn packages clBLAS) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix download) - #:use-module (guix git-download) - #:use-module (guix build-system gnu) - #:use-module (guix build-system cmake) - #:use-module (guix packages) - #:use-module (gnu packages algebra) - #:use-module (gnu packages autotools) - #:use-module (gnu packages bootstrap) - #:use-module (gnu packages base) - #:use-module (gnu packages curl) - #:use-module (gnu packages compression) - #:use-module (gnu packages gawk) - #:use-module (gnu packages cmake) - #:use-module (gnu packages boost) - #:use-module (gnu packages glib) - #:use-module (gnu packages image) - #:use-module (gnu packages video) - #:use-module (gnu packages textutils) - #:use-module (gnu packages gl) - #:use-module (gnu packages gcc) - #:use-module (gnu packages gnupg) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages maths) - #:use-module (gnu packages mpi) - #:use-module (gnu packages ruby) - #:use-module (gnu packages web) - #:use-module (gnu packages python) - #:use-module (gnu packages xorg) - #:use-module (gnu packages version-control) - #:use-module (gnu packages linux)) - -(define-public clBLAS - (package - (name "clBLAS") - (version "v2.10") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/clMathLibraries/clBLAS/archive/" - version ".tar.gz")) - (sha256 - (base32 - "0adlb02lqzrklfybhnv4n0p37mvkvdi3vqiwa05x2mv05ywnr93j")))) - (build-system cmake-build-system) - (arguments `(#:tests? #f - #:configure-flags '("../clBLAS-2.10/src" "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_BUILD_TYPE=Release" "-DBUILD_TEST=OFF"))) - (native-inputs `(("autoconf" ,autoconf) - ("automake" ,automake) - ("cmake" ,cmake) - ("gfortran" ,gfortran) - ("libtool" ,libtool) - ("pkg-config" ,pkg-config))) - (inputs `(("curl" ,curl) - ("dbus" ,dbus) - ("boost" ,boost) - ("enca" ,enca) - ("eudev" ,eudev) - ("fftw-openmpi" ,fftw-openmpi) - ("glew" ,glew) - ("libcap" ,libcap) - ("libjpeg" ,libjpeg) - ("libltdl" ,libltdl) - ("libtiff" ,libtiff) - ("mesa-utils" ,mesa-utils) - ("openmpi" ,openmpi) - ("ocl-icd" ,ocl-icd) - ("opencl-headers" ,opencl-headers) - ("randrproto" ,randrproto) - ("libxrandr" ,libxrandr) - ("xineramaproto" ,xineramaproto) - ("libxinerama" ,libxinerama) - ("libxcursor" ,libxcursor) - ("python" ,python-2))) - (home-page "http://www.glfw.org/") - (synopsis "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.") - (description "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.") - (license (list license:gpl2)))) - -(define-public ocl-icd - (package - (name "ocl-icd") - (version "2.2.9") - (source (origin - (method url-fetch) - (uri (string-append "https://forge.imag.fr/frs/download.php/716/ocl-icd-" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rgaixwnxmrq2aq4kcdvs0yx7i6krakarya9vqs7qwsv5hzc32hc")))) - (inputs `(("zip" ,zip) - ("autoconf" ,autoconf) - ("automake" ,automake) - ("ruby" ,ruby) - ("libtool" ,libtool) - ("opencl-headers" ,opencl-headers) - ("libgcrypt" ,libgcrypt))) - (build-system gnu-build-system) - (arguments - '(#:phases (modify-phases %standard-phases - (add-after 'unpack `bootstrap - (lambda _ - (zero? (system* "autoreconf" "-vfi"))))))) - (home-page "https://forge.imag.fr/projects/ocl-icd/") - (synopsis "OpenCL implementations are provided as ICD (Installable Client Driver).") - (description "OpenCL implementations are provided as ICD (Installable Client Driver). - An OpenCL program can use several ICD thanks to the use of an ICD Loader as provided by this project. - This free ICD Loader can load any (free or non free) ICD") - (license (list license:gpl2 license:ruby)))) - -(define-public opencl-headers -(let ((commit "c1770dc")) - (package - (name "opencl-headers") - (version (string-append "2.1-" commit )) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/KhronosGroup/OpenCL-Headers.git") - (commit commit))) - (file-name (string-append name "-" commit)) - (sha256 - (base32 - "0m9fkblqja0686i2jjqiszvq3df95gp01a2674xknlmkd6525rck")))) - (propagated-inputs '()) - (inputs '()) - (native-inputs '()) - (build-system gnu-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'build) - (delete 'check) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (copy-recursively "." (string-append - (assoc-ref outputs "out") - "/include/CL"))))))) - (synopsis "The Khronos OpenCL headers") - (description "This package provides the Khronos OpenCL headers") - (home-page "https://www.khronos.org/registry/cl/") - (license (list license:gpl2))))) diff --git a/gn/packages/clFFT.scm b/gn/packages/clFFT.scm deleted file mode 100644 index fb42c85..0000000 --- a/gn/packages/clFFT.scm +++ /dev/null @@ -1,158 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016 Dennis Mungai -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see . - -(define-module (gn packages clFFT) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix download) - #:use-module (guix git-download) - #:use-module (guix build-system gnu) - #:use-module (guix build-system cmake) - #:use-module (guix packages) - #:use-module (gnu packages algebra) - #:use-module (gnu packages bootstrap) - #:use-module (gnu packages base) - #:use-module (gnu packages autotools) - #:use-module (gnu packages compression) - #:use-module (gnu packages curl) - #:use-module (gnu packages gawk) - #:use-module (gnu packages cmake) - #:use-module (gnu packages boost) - #:use-module (gnu packages glib) - #:use-module (gnu packages image) - #:use-module (gnu packages video) - #:use-module (gnu packages textutils) - #:use-module (gnu packages gl) - #:use-module (gnu packages gnupg) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages maths) - #:use-module (gnu packages mpi) - #:use-module (gnu packages ruby) - #:use-module (gnu packages web) - #:use-module (gnu packages python) - #:use-module (gnu packages xorg) - #:use-module (gnu packages version-control) - #:use-module (gnu packages linux)) - -(define-public clFFT - (package - (name "clFFT") - (version "v2.10.1") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/clMathLibraries/clFFT/archive/" - version ".tar.gz")) - (sha256 - (base32 - "19hrk1lf06kch8x9dpbdj0waycn2mldrmj2y4vzi7zn2gdfw6g73")))) - (build-system cmake-build-system) - (arguments `(#:configure-flags '("../clFFT-2.10.1/src" "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_BUILD_TYPE=Release") #:tests? #f)) - (native-inputs `(("autoconf" ,autoconf) - ("automake" ,automake) - ("cmake" ,cmake) - ("libtool" ,libtool) - ("pkg-config" ,pkg-config))) - (inputs `(("curl" ,curl) - ("dbus" ,dbus) - ("enca" ,enca) - ("eudev" ,eudev) - ("fftw-openmpi" ,fftw-openmpi) - ("glew" ,glew) - ("libcap" ,libcap) - ("libjpeg" ,libjpeg) - ("libltdl" ,libltdl) - ("libtiff" ,libtiff) - ("mesa-utils" ,mesa-utils) - ("openmpi" ,openmpi) - ("ocl-icd" ,ocl-icd) - ("opencl-headers" ,opencl-headers) - ("randrproto" ,randrproto) - ("libxrandr" ,libxrandr) - ("xineramaproto" ,xineramaproto) - ("libxinerama" ,libxinerama) - ("libxcursor" ,libxcursor) - ("python" ,python-2))) - (home-page "http://www.glfw.org/") - (synopsis "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.") - (description "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.") - (license (list license:gpl2)))) - -(define-public ocl-icd - (package - (name "ocl-icd") - (version "2.2.9") - (source (origin - (method url-fetch) - (uri (string-append "https://forge.imag.fr/frs/download.php/716/ocl-icd-" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rgaixwnxmrq2aq4kcdvs0yx7i6krakarya9vqs7qwsv5hzc32hc")))) - (inputs `(("zip" ,zip) - ("autoconf" ,autoconf) - ("automake" ,automake) - ("ruby" ,ruby) - ("libtool" ,libtool) - ("opencl-headers" ,opencl-headers) - ("libgcrypt" ,libgcrypt))) - (build-system gnu-build-system) - (arguments - '(#:phases (modify-phases %standard-phases - (add-after 'unpack `bootstrap - (lambda _ - (zero? (system* "autoreconf" "-vfi"))))))) - (home-page "https://forge.imag.fr/projects/ocl-icd/") - (synopsis "OpenCL implementations are provided as ICD (Installable Client Driver).") - (description "OpenCL implementations are provided as ICD (Installable Client Driver). - An OpenCL program can use several ICD thanks to the use of an ICD Loader as provided by this project. - This free ICD Loader can load any (free or non free) ICD") - (license (list license:gpl2 license:ruby)))) - -(define-public opencl-headers -(let ((commit "c1770dc")) - (package - (name "opencl-headers") - (version (string-append "2.1-" commit )) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/KhronosGroup/OpenCL-Headers.git") - (commit commit))) - (file-name (string-append name "-" commit)) - (sha256 - (base32 - "0m9fkblqja0686i2jjqiszvq3df95gp01a2674xknlmkd6525rck")))) - (propagated-inputs '()) - (inputs '()) - (native-inputs '()) - (build-system gnu-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'build) - (delete 'check) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (copy-recursively "." (string-append - (assoc-ref outputs "out") - "/include/CL"))))))) - (synopsis "The Khronos OpenCL headers") - (description "This package provides the Khronos OpenCL headers") - (home-page "https://www.khronos.org/registry/cl/") - (license (list license:gpl2))))) diff --git a/gn/packages/glfw.scm b/gn/packages/glfw.scm deleted file mode 100644 index 6eb3a75..0000000 --- a/gn/packages/glfw.scm +++ /dev/null @@ -1,83 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016 Dennis Mungai -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see . - -(define-module (gn packages glfw) - #:use-module ((guix licenses)) - #:use-module (guix download) - #:use-module (guix build-system gnu) - #:use-module (guix build-system cmake) - #:use-module (guix packages) - #:use-module (gnu packages algebra) - #:use-module (gnu packages autotools) - #:use-module (gnu packages curl) - #:use-module (gnu packages gawk) - #:use-module (gnu packages cmake) - #:use-module (gnu packages boost) - #:use-module (gnu packages glib) - #:use-module (gnu packages image) - #:use-module (gnu packages video) - #:use-module (gnu packages textutils) - #:use-module (gnu packages gl) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages maths) - #:use-module (gnu packages web) - #:use-module (gnu packages databases) - #:use-module (gnu packages python) - #:use-module (gnu packages xorg) - #:use-module (gnu packages version-control) - #:use-module (gnu packages linux)) - -(define-public glfw ; guix opengl - (package - (name "glfw") - (version "3.1.2") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/glfw/glfw/archive/" - version ".tar.gz")) - (sha256 - (base32 - "08pixv8hd5xsccf7l8cqcijjqaq4k4da8qbp77wggal2fq445ika")))) - (build-system cmake-build-system) - (arguments `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON") #:tests? #f)) - (native-inputs `(("autoconf" ,autoconf) - ("automake" ,automake) - ("cmake" ,cmake) - ("libtool" ,libtool) - ("pkg-config" ,pkg-config))) - (inputs `(("curl" ,curl) - ("dbus" ,dbus) - ("enca" ,enca) - ("eudev" ,eudev) - ("glew" ,glew) - ("libcap" ,libcap) - ("libjpeg" ,libjpeg) - ("libltdl" ,libltdl) - ("libtiff" ,libtiff) - ("mesa-utils" ,mesa-utils) - ("randrproto" ,randrproto) - ("libxrandr" ,libxrandr) - ("xineramaproto" ,xineramaproto) - ("libxinerama" ,libxinerama) - ("libxcursor" ,libxcursor) - ("mysql" ,mysql) - ("python" ,python-2))) - (home-page "http://www.glfw.org/") - (synopsis "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.") - (description "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.") - (license (list gpl2)))) diff --git a/gn/packages/ocl-icd.scm b/gn/packages/ocl-icd.scm index 79b4853..17e85d7 100644 --- a/gn/packages/ocl-icd.scm +++ b/gn/packages/ocl-icd.scm @@ -30,6 +30,8 @@ #:use-module (gnu packages compression) #:use-module (gnu packages gnupg) #:use-module (gnu packages ruby) + #:use-module (gnu packages opencl) + #:use-module (gn packages ocl-headers) #:use-module (guix git-download)) (define-public ocl-icd @@ -63,37 +65,3 @@ An OpenCL program can use several ICD thanks to the use of an ICD Loader as provided by this project. This free ICD Loader can load any (free or non free) ICD") (license license:gpl2))) - - (define-public opencl-headers -(let ((commit "c1770dc")) - (package - (name "opencl-headers") - (version (string-append "2.1-" commit )) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/KhronosGroup/OpenCL-Headers.git") - (commit commit))) - (file-name (string-append name "-" commit)) - (sha256 - (base32 - "0m9fkblqja0686i2jjqiszvq3df95gp01a2674xknlmkd6525rck")))) - (propagated-inputs '()) - (inputs '()) - (native-inputs '()) - (build-system gnu-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'build) - (delete 'check) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (copy-recursively "." (string-append - (assoc-ref outputs "out") - "/include/CL"))))))) - (synopsis "The Khronos OpenCL headers") - (description "This package provides the Khronos OpenCL headers") - (home-page "https://www.khronos.org/registry/cl/") - (license license:gpl2)))) diff --git a/gn/packages/ruby.scm b/gn/packages/ruby.scm index e46616c..8dfb1d2 100644 --- a/gn/packages/ruby.scm +++ b/gn/packages/ruby.scm @@ -292,53 +292,6 @@ a history.") "https://github.com/pjotrp/bioruby-logger-plugin") (license #f))) -(define-public bio-table ; guix maybe ready -(package - (name "bio-table") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (rubygems-uri "bio-table" version)) - (sha256 - (base32 - "1jlpls734kd41rffn2y2747nr14k5rwgaj2g3k48i9xgsfcmrn6r")))) - (build-system ruby-build-system) - (propagated-inputs - `(("ruby-bio-logger" ,ruby-bio-logger))) - (arguments - `(#:tests? #f)) ;; no bundler - (synopsis - "Functions and tools for tranforming and changing tab delimited and comma separated table files - useful for Excel sheets and SQL/RDF output") - (description - "Functions and tools for tranforming and changing tab delimited and comma separated table files - useful for Excel sheets and SQL/RDF output") - (home-page - "http://github.com/pjotrp/bioruby-table") - (license license:expat))) - - -(define-public bio-vcf ; guix maybe ready -(package - (name "bio-vcf") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (rubygems-uri "bio-vcf" version)) - (sha256 - (base32 - "1007bn0w8l11q867lxsyqnk0vgvv12skvk9gyglv7g44knr5vh4j")))) - (build-system ruby-build-system) - (arguments - `(#:tests? #f)) ;; no bundler/cucumber - (synopsis - "Smart lazy multi-threaded parser for VCF format with useful filtering and output rewriting (JSON, RDF etc.)") - (description - "Smart lazy multi-threaded parser for VCF format with useful filtering and output rewriting (JSON, RDF etc.)") - (home-page - "http://github.com/pjotrp/bioruby-vcf") - (license license:expat))) - (define-public ruby-faraday (package (name "ruby-faraday") -- cgit v1.2.3 From a2332e54719b069378fc2c54beae03e81aad97d4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 5 Aug 2019 07:11:02 -0500 Subject: gn: remove some upstream packages --- gn/packages/arrayfire.scm | 46 +-------------------- gn/packages/beignet.scm | 92 ------------------------------------------ gn/packages/ocl-icd.scm | 67 ------------------------------ gn/packages/opencl-headers.scm | 63 ----------------------------- 4 files changed, 1 insertion(+), 267 deletions(-) delete mode 100644 gn/packages/beignet.scm delete mode 100644 gn/packages/ocl-icd.scm delete mode 100644 gn/packages/opencl-headers.scm (limited to 'gn') diff --git a/gn/packages/arrayfire.scm b/gn/packages/arrayfire.scm index c230dc4..723444a 100644 --- a/gn/packages/arrayfire.scm +++ b/gn/packages/arrayfire.scm @@ -53,9 +53,7 @@ #:use-module (gnu packages xorg) #:use-module (gnu packages version-control) #:use-module (gnu packages linux) - #:use-module (gnu packages opencl) - #:use-module (gn packages ocl-headers) - #:use-module (gn packages ocl-icd)) + #:use-module (gnu packages opencl)) (define-public arrayfire (package @@ -121,48 +119,6 @@ license:gpl3 license:gpl3+)))) -(define-public glfw - (package - (name "glfw") - (version "3.1.2") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/glfw/glfw/archive/" - version ".tar.gz")) - (sha256 - (base32 - "08pixv8hd5xsccf7l8cqcijjqaq4k4da8qbp77wggal2fq445ika")))) - (build-system cmake-build-system) - (arguments `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON") - #:tests? #f)) - (native-inputs `(("autoconf" ,autoconf) - ("automake" ,automake) - ("cmake" ,cmake) - ("git" ,git) - ("libtool" ,libtool) - ("libpthread-stubs" ,libpthread-stubs) - ("pkg-config" ,pkg-config))) - (inputs `(("curl" ,curl) - ("dbus" ,dbus) - ("enca" ,enca) - ("eudev" ,eudev) - ("glew" ,glew) - ("libcap" ,libcap) - ("libjpeg" ,libjpeg) - ("libltdl" ,libltdl) - ("libtiff" ,libtiff) - ("mesa-utils" ,mesa-utils) - ("randrproto" ,randrproto) - ("libxrandr" ,libxrandr) - ("xineramaproto" ,xineramaproto) - ("libxinerama" ,libxinerama) - ("libxcursor" ,libxcursor) - ("python" ,python-2))) - (home-page "http://www.glfw.org/") - (synopsis "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.") - (description "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.") - (license (list license:gpl2)))) - (define-public clBLAS (package (name "clBLAS") diff --git a/gn/packages/beignet.scm b/gn/packages/beignet.scm deleted file mode 100644 index ea099c4..0000000 --- a/gn/packages/beignet.scm +++ /dev/null @@ -1,92 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016 Dennis Mungai -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see . - -(define-module (gn packages beignet) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix download) - #:use-module (guix git-download) - #:use-module (guix build-system cmake) - #:use-module (guix build-system gnu) - #:use-module (guix packages) - #:use-module (gnu packages) - #:use-module (guix utils) - #:use-module (gnu packages algebra) - #:use-module (gnu packages autotools) - #:use-module (gnu packages bootstrap) - #:use-module (gnu packages gawk) - #:use-module (gnu packages cmake) - #:use-module (gnu packages compression) - #:use-module (gnu packages glib) - #:use-module (gnu packages gnupg) - #:use-module (gnu packages llvm) - #:use-module (gnu packages libedit) - #:use-module (gnu packages video) - #:use-module (gnu packages textutils) - #:use-module (gnu packages gl) - #:use-module (gnu packages ruby) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages maths) - #:use-module (gnu packages web) - #:use-module (gnu packages ncurses) - #:use-module (gnu packages python) - #:use-module (gnu packages xorg) - #:use-module (gnu packages xdisorg) - #:use-module (gnu packages version-control) - #:use-module (gnu packages linux) - #:use-module (gnu packages opencl) - #:use-module (gn packages ocl-headers) - #:use-module (gn packages ocl-icd)) - -(define-public beignet - (package - (name "beignet") - (version "1.1.1") - (source (origin - (method url-fetch) - (uri (string-append "https://01.org/sites/default/files/beignet-" - version "-source.tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "068i5srqpncfw0kklxdyzxcm5w56pi91jp7pkv6cglzvnjgcdx4v")))) - (inputs `(("autoconf" ,autoconf) - ("llvm" ,llvm-3.5) - ("libpthread-stubs", libpthread-stubs) - ("clang" ,clang-3.5) - ("libdrm" ,libdrm) - ("libtool" ,libtool) - ("libsm" ,libsm) - ("libxfixes" ,libxfixes) - ("libxext" ,libxext) - ("libedit" ,libedit) - ("xextproto" ,xextproto) - ("python" ,python-2) - ("opencl-headers" ,opencl-headers) - ("glu" ,glu) - ("zlib" ,zlib) - ("pkg-config" ,pkg-config) - ("freeglut" ,freeglut) - ("mesa-utils" ,mesa-utils) - ("ncurses" ,ncurses) - ("ocl-icd" ,ocl-icd))) - (build-system cmake-build-system) - (arguments `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release" "-DCOMPILER=CLANG") #:tests? #f)) - (home-page "https://forge.imag.fr/projects/ocl-icd/") - (synopsis "Intel's OpenCL framework") - (description "Intel's OpenCL framework that works with Intel IvyBridge GPUs and above") - (license license:gpl2))) diff --git a/gn/packages/ocl-icd.scm b/gn/packages/ocl-icd.scm deleted file mode 100644 index 17e85d7..0000000 --- a/gn/packages/ocl-icd.scm +++ /dev/null @@ -1,67 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016 Dennis Mungai -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see . - -(define-module (gn packages ocl-icd) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (gnu packages) - #:use-module (gnu packages autotools) - #:use-module (guix packages) - #:use-module (guix download) - #:use-module (guix build-system gnu) - #:use-module (gnu packages bootstrap) - #:use-module (gnu packages linux) - #:use-module (gnu packages textutils) - #:use-module (gnu packages base) - #:use-module (gnu packages compression) - #:use-module (gnu packages gnupg) - #:use-module (gnu packages ruby) - #:use-module (gnu packages opencl) - #:use-module (gn packages ocl-headers) - #:use-module (guix git-download)) - -(define-public ocl-icd - (package - (name "ocl-icd") - (version "2.2.9") - (source (origin - (method url-fetch) - (uri (string-append "https://forge.imag.fr/frs/download.php/716/ocl-icd-" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rgaixwnxmrq2aq4kcdvs0yx7i6krakarya9vqs7qwsv5hzc32hc")))) - (inputs `(("zip" ,zip) - ("autoconf" ,autoconf) - ("automake" ,automake) - ("ruby" ,ruby) - ("libtool" ,libtool) - ("opencl-headers" ,opencl-headers) - ("libgcrypt" ,libgcrypt))) - (build-system gnu-build-system) - (arguments - '(#:phases (modify-phases %standard-phases - (add-after 'unpack `bootstrap - (lambda _ - (zero? (system* "autoreconf" "-vfi"))))))) - (home-page "https://forge.imag.fr/projects/ocl-icd/") - (synopsis "OpenCL implementations are provided as ICD (Installable Client Driver).") - (description "OpenCL implementations are provided as ICD (Installable Client Driver). - An OpenCL program can use several ICD thanks to the use of an ICD Loader as provided by this project. - This free ICD Loader can load any (free or non free) ICD") - (license license:gpl2))) diff --git a/gn/packages/opencl-headers.scm b/gn/packages/opencl-headers.scm deleted file mode 100644 index bddd136..0000000 --- a/gn/packages/opencl-headers.scm +++ /dev/null @@ -1,63 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016 Dennis Mungai -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see . - -(define-module (gn packages opencl-headers) - #:use-module ((guix licenses)) - #:use-module (guix download) - #:use-module (guix git-download) - #:use-module (guix packages) - #:use-module (guix build-system gnu) - #:use-module (gnu packages gl) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages xorg) - #:use-module (gnu packages version-control) - #:use-module (gnu packages linux)) - -(define-public opencl-headers -(let ((commit "c1770dc")) - (package - (name "opencl-headers") - (version (string-append "2.1-" commit )) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/KhronosGroup/OpenCL-Headers.git") - (commit commit))) - (file-name (string-append name "-" commit)) - (sha256 - (base32 - "0m9fkblqja0686i2jjqiszvq3df95gp01a2674xknlmkd6525rck")))) - (propagated-inputs '()) - (inputs '()) - (native-inputs '()) - (build-system gnu-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'build) - (delete 'check) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (copy-recursively "." (string-append - (assoc-ref outputs "out") - "/include/CL"))))))) - (synopsis "The Khronos OpenCL headers") - (description "This package provides the Khronos OpenCL headers") - (home-page "https://www.khronos.org/registry/cl/") - (license gpl2)))) -- cgit v1.2.3 From b0926f0df4f76b24dbb99da3f10a87e606fac993 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 5 Aug 2019 07:41:00 -0500 Subject: gn: varscan: Fix build. * gn/packages/bioinformatics.scm (varscan)[arguments]: Disable tests. Update all custom phases. [home-page]: Use https. [description]: Add it. --- gn/packages/bioinformatics.scm | 55 ++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 29 deletions(-) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index e5914c2..b7db927 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -881,45 +881,42 @@ reads.") (base32 "0y45ympkza7qwcbcisg006286pwjbr5978n03hx5nvl09f0mapk8")))) (build-system ant-build-system) (arguments - `(#:phases + `(#:tests? #f ; build.xml does not exist + #:phases (modify-phases %standard-phases (replace 'unpack (lambda _ (mkdir "source") (chdir "source") - (and - ;; Unpack the Java archive containing the source files. - (zero? (system* "jar" "xf" (assoc-ref %build-inputs "source"))) - ;; Remove existing compiled output. - (with-directory-excursion "net/sf/varscan/" - (for-each (lambda (file) - (unless (string= (string-take-right file 5) ".java") - (zero? (system* "rm" file)))) - (find-files "." #:directories? #f)))))) + ;; Unpack the Java archive containing the source files. + (invoke "jar" "xf" (assoc-ref %build-inputs "source")) + ;; Remove existing compiled output. + (with-directory-excursion "net/sf/varscan/" + (for-each (lambda (file) + (delete-file file)) + (find-files "." "^.java$" #:directories? #f))) + #t)) (replace 'build (lambda _ - (let ((classes '())) - (and - ;; Compile the source files. - (with-directory-excursion "net/sf/varscan/" - (for-each (lambda (file) - (when (string= (string-take-right file 5) ".java") - (zero? (system* "javac" file)) - (cons )) - (find-files "." #:directories? #f))) - ;; Construct the new Java archive. - (zero? (system* "jar" "cfm" "varscan-2.4.1.jar" - "META-INF/MANIFEST.MF" - "net/sf/varscan/*.java"))))))) + ;; Compile the source files. + (with-directory-excursion "net/sf/varscan/" + (for-each (lambda (file) + (invoke "javac" file)) + (find-files "." ".java$" #:directories? #f))) + ;; Construct the new Java archive. + (apply invoke "jar" "cfm" + (string-append "varscan-" ,version ".jar") + "META-INF/MANIFEST.MF" + (find-files "net/sf/varscan" ".java$")))) (replace 'install - (lambda _ - (let ((out (string-append (assoc-ref %outputs "out") + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (string-append (assoc-ref outputs "out") "/share/java/varscan/"))) - (mkdir-p out) - (install-file "varscan-2.4.1.jar" out))))))) - (home-page "http://dkoboldt.github.io/varscan/") + (install-file (string-append "varscan-" ,version ".jar") out)) + #t))))) + (home-page "https://dkoboldt.github.io/varscan/") (synopsis "Variant detection in massively parallel sequencing data") - (description "") + (description "Variant detection in massively parallel sequencing data.") ;; Free for non-commercial use by academic, government, and ;; non-profit/not-for-profit institutions (license license:non-copyleft))) -- cgit v1.2.3 From 83c0ba13d35055ff73620ec7163c6e862a06f805 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 6 Aug 2019 07:33:47 -0500 Subject: gn: Fix building arrayfire. --- arrayfire-lapack-detection.patch | 277 ++++++++++++++++++++++++++++ arrayfire-newer-boost-compute.patch | 33 ++++ gn/packages/arrayfire.scm | 350 +++++++++++++++++------------------- 3 files changed, 476 insertions(+), 184 deletions(-) create mode 100644 arrayfire-lapack-detection.patch create mode 100644 arrayfire-newer-boost-compute.patch (limited to 'gn') diff --git a/arrayfire-lapack-detection.patch b/arrayfire-lapack-detection.patch new file mode 100644 index 0000000..1925122 --- /dev/null +++ b/arrayfire-lapack-detection.patch @@ -0,0 +1,277 @@ +https://sources.debian.org/data/main/a/arrayfire/3.3.2+dfsg1-4/debian/patches/Fix-LAPACKE-detection.patch + +From: Ghislain Antony Vaillant +Date: Wed, 2 Mar 2016 10:46:50 +0000 +Subject: Fix LAPACKE detection. + +--- + CMakeModules/FindLAPACKE.cmake | 54 +++++++++++++++------------------------ + src/backend/cpu/CMakeLists.txt | 18 ++++++------- + src/backend/cuda/CMakeLists.txt | 11 ++++---- + src/backend/opencl/CMakeLists.txt | 19 +++++++------- + 4 files changed, 45 insertions(+), 57 deletions(-) + +diff --git a/CMakeModules/FindLAPACKE.cmake b/CMakeModules/FindLAPACKE.cmake +index 9251ee9..1a73632 100644 +--- a/CMakeModules/FindLAPACKE.cmake ++++ b/CMakeModules/FindLAPACKE.cmake +@@ -4,13 +4,13 @@ + # FIND_PACKAGE(LAPACKE [REQUIRED] [QUIET] ) + # + # It sets the following variables: +-# LAPACK_FOUND ... true if LAPACKE is found on the system +-# LAPACK_LIBRARIES ... full path to LAPACKE library +-# LAPACK_INCLUDES ... LAPACKE include directory +-# ++# LAPACKE_FOUND ... true if LAPACKE is found on the system ++# LAPACKE_INCLUDE_DIRS ... LAPACKE include directories ++# LAPACKE_LIBRARIES ... path to LAPACKE libraries ++# LAPACKE_LIBRARY_DIRS ... LAPACKE library directories + + SET(LAPACKE_ROOT_DIR CACHE STRING +- "Root directory for custom LAPACK implementation") ++ "Root directory for custom LAPACKE implementation") + + IF (NOT INTEL_MKL_ROOT_DIR) + SET(INTEL_MKL_ROOT_DIR $ENV{INTEL_MKL_ROOT}) +@@ -40,29 +40,20 @@ IF(PKG_CONFIG_FOUND AND NOT LAPACKE_ROOT_DIR) + ENDIF() + + IF(PC_LAPACKE_FOUND) ++ ++ # Verify sanity of LAPACKE pkg-config file. + FOREACH(PC_LIB ${PC_LAPACKE_LIBRARIES}) + FIND_LIBRARY(${PC_LIB}_LIBRARY NAMES ${PC_LIB} HINTS ${PC_LAPACKE_LIBRARY_DIRS} ) + IF (NOT ${PC_LIB}_LIBRARY) + MESSAGE(FATAL_ERROR "Something is wrong in your pkg-config file - lib ${PC_LIB} not found in ${PC_LAPACKE_LIBRARY_DIRS}") + ENDIF (NOT ${PC_LIB}_LIBRARY) +- LIST(APPEND LAPACKE_LIB ${${PC_LIB}_LIBRARY}) + ENDFOREACH(PC_LIB) + +- FIND_PATH( +- LAPACKE_INCLUDES +- NAMES "lapacke.h" +- PATHS +- ${PC_LAPACKE_INCLUDE_DIRS} +- ${INCLUDE_INSTALL_DIR} +- /usr/include +- /usr/local/include +- /sw/include +- /opt/local/include +- DOC "LAPACKE Include Directory" +- ) ++ set(LAPACKE_LIBRARIES ${PC_LAPACKE_LIBRARIES}) ++ set(LAPACKE_LIBRARY_DIRS ${PC_LAPACKE_LIBRARY_DIRS}) + +- FIND_PACKAGE_HANDLE_STANDARD_ARGS(LAPACKE DEFAULT_MSG LAPACKE_LIB) +- MARK_AS_ADVANCED(LAPACKE_INCLUDES LAPACKE_LIB) ++ FIND_PATH(LAPACKE_INCLUDE_DIRS NAMES "lapacke.h" ++ PATHS ${PC_LAPACKE_INCLUDE_DIRS}) + + ELSE(PC_LAPACKE_FOUND) + +@@ -97,7 +88,6 @@ ELSE(PC_LAPACKE_FOUND) + LAPACKE_LIB + NAMES "lapacke" "liblapacke" "openblas" "mkl_rt" + PATHS +- ${PC_LAPACKE_LIBRARY_DIRS} + ${LIB_INSTALL_DIR} + /opt/intel/mkl/lib/ia32 + /opt/intel/mkl/lib/intel64 +@@ -113,7 +103,6 @@ ELSE(PC_LAPACKE_FOUND) + LAPACK_LIB + NAMES "lapack" "liblapack" "openblas" "mkl_rt" + PATHS +- ${PC_LAPACKE_LIBRARY_DIRS} + ${LIB_INSTALL_DIR} + /opt/intel/mkl/lib/ia32 + /opt/intel/mkl/lib/intel64 +@@ -129,7 +118,6 @@ ELSE(PC_LAPACKE_FOUND) + LAPACKE_INCLUDES + NAMES "lapacke.h" "mkl_lapacke.h" + PATHS +- ${PC_LAPACKE_INCLUDE_DIRS} + ${INCLUDE_INSTALL_DIR} + /opt/intel/mkl/include + /usr/include +@@ -141,17 +129,15 @@ ELSE(PC_LAPACKE_FOUND) + lapacke + ) + ENDIF(LAPACKE_ROOT_DIR) ++ SET(LAPACKE_INCLUDE_DIRS ${LAPACKE_INCLUDES}) ++ SET(LAPACKE_LIBRARIES ${LAPACKE_LIB} ${LAPACK_LIB}) ++ MARK_AS_ADVANCED(LAPACKE_INCLUDES LAPACKE_LIB LAPACK_LIB) + ENDIF(PC_LAPACKE_FOUND) + +-IF(LAPACKE_LIB AND LAPACK_LIB) +- SET(LAPACK_LIBRARIES ${LAPACKE_LIB} ${LAPACK_LIB}) +-ENDIF() +-IF(LAPACKE_INCLUDES) +- SET(LAPACK_INCLUDE_DIR ${LAPACKE_INCLUDES}) +-ENDIF() +- + INCLUDE(FindPackageHandleStandardArgs) +-FIND_PACKAGE_HANDLE_STANDARD_ARGS(LAPACK DEFAULT_MSG +- LAPACK_INCLUDE_DIR LAPACK_LIBRARIES) +- +-MARK_AS_ADVANCED(LAPACK_INCLUDES LAPACK_LIBRARIES) ++FIND_PACKAGE_HANDLE_STANDARD_ARGS(LAPACKE DEFAULT_MSG ++ LAPACKE_LIBRARIES ++ LAPACKE_INCLUDE_DIRS) ++MARK_AS_ADVANCED(LAPACKE_LIBRARIES ++ LAPACKE_INCLUDE_DIRS ++ LAPACKE_LIBRARY_DIRS) +diff --git a/src/backend/cpu/CMakeLists.txt b/src/backend/cpu/CMakeLists.txt +index ea57269..efe50a0 100644 +--- a/src/backend/cpu/CMakeLists.txt ++++ b/src/backend/cpu/CMakeLists.txt +@@ -55,7 +55,7 @@ MESSAGE(STATUS "FFTW Library: ${FFTW_LIBRARIES}") + + IF(APPLE) + FIND_PACKAGE(LAPACKE QUIET) # For finding MKL +- IF(NOT LAPACK_FOUND) ++ IF(NOT LAPACKE_FOUND) + # UNSET THE VARIABLES FROM LAPACKE + UNSET(LAPACKE_LIB CACHE) + UNSET(LAPACK_LIB CACHE) +@@ -67,11 +67,10 @@ ELSE(APPLE) # Linux and Windows + FIND_PACKAGE(LAPACKE) + ENDIF(APPLE) + +-IF(NOT LAPACK_FOUND) +- MESSAGE(WARNING "LAPACK not found. Functionality will be disabled") +-ELSE(NOT LAPACK_FOUND) ++IF(NOT LAPACKE_FOUND) ++ MESSAGE(WARNING "LAPACKE not found. Functionality will be disabled") ++ELSE(NOT LAPACKE_FOUND) + ADD_DEFINITIONS(-DWITH_CPU_LINEAR_ALGEBRA) +- MESSAGE(STATUS "LAPACK libraries found: ${LAPACK_LIBRARIES}") + ENDIF() + + IF(NOT UNIX) +@@ -99,8 +98,9 @@ INCLUDE_DIRECTORIES( + ${CBLAS_INCLUDE_DIR} + ) + +-IF(LAPACK_FOUND) +- INCLUDE_DIRECTORIES(${LAPACK_INCLUDE_DIR}) ++IF(LAPACKE_FOUND) ++ INCLUDE_DIRECTORIES(${LAPACKE_INCLUDE_DIRS}) ++ LINK_DIRECTORIES(${LAPACKE_LIBRARY_DIRS}) + ENDIF() + + FILE(GLOB cpu_headers +@@ -213,8 +213,8 @@ IF(FORGE_FOUND AND NOT USE_SYSTEM_FORGE) + ADD_DEPENDENCIES(afcpu forge) + ENDIF() + +-IF(LAPACK_FOUND) +- TARGET_LINK_LIBRARIES(afcpu PRIVATE ${LAPACK_LIBRARIES}) ++IF(LAPACKE_FOUND) ++ TARGET_LINK_LIBRARIES(afcpu PRIVATE ${LAPACKE_LIBRARIES}) + ENDIF() + + IF(FORGE_FOUND) +diff --git a/src/backend/cuda/CMakeLists.txt b/src/backend/cuda/CMakeLists.txt +index 4efb427..24c6544 100644 +--- a/src/backend/cuda/CMakeLists.txt ++++ b/src/backend/cuda/CMakeLists.txt +@@ -105,7 +105,7 @@ ELSE(CUDA_cusolver_LIBRARY) + ## Try to use CPU side lapack + IF(APPLE) + FIND_PACKAGE(LAPACKE QUIET) # For finding MKL +- IF(NOT LAPACK_FOUND) ++ IF(NOT LAPACKE_FOUND) + # UNSET THE VARIABLES FROM LAPACKE + UNSET(LAPACKE_LIB CACHE) + UNSET(LAPACK_LIB CACHE) +@@ -117,9 +117,9 @@ ELSE(CUDA_cusolver_LIBRARY) + FIND_PACKAGE(LAPACKE) + ENDIF(APPLE) + +- IF(NOT LAPACK_FOUND) ++ IF(NOT LAPACKE_FOUND) + MESSAGE(STATUS "CUDA Version ${CUDA_VERSION_STRING} does not contain cusolver library. Linear Algebra will not be available.") +- ELSE(NOT LAPACK_FOUND) ++ ELSE(NOT LAPACKE_FOUND) + MESSAGE(STATUS "CUDA Version ${CUDA_VERSION_STRING} does not contain cusolver library. But CPU LAPACK libraries are available. Will fallback to using host side code.") + ADD_DEFINITIONS(-DWITH_CPU_LINEAR_ALGEBRA) + IF(USE_CUDA_MKL) # Manual MKL Setup +@@ -148,7 +148,8 @@ INCLUDE_DIRECTORIES( + ) + + IF(CUDA_LAPACK_CPU_FALLBACK) +- INCLUDE_DIRECTORIES(${LAPACK_INCLUDE_DIR}) ++ INCLUDE_DIRECTORIES(${LAPACKE_INCLUDE_DIRS}) ++ LINK_DIRECTORIES(${LAPACKE_LIBRARY_DIRS}) + ENDIF() + + FILE(GLOB cuda_headers +@@ -379,7 +380,7 @@ ENDIF() + IF(CUDA_cusolver_LIBRARY) + TARGET_LINK_LIBRARIES(afcuda PRIVATE ${CUDA_cusolver_LIBRARY}) + ELSEIF(CUDA_LAPACK_CPU_FALLBACK) +- TARGET_LINK_LIBRARIES(afcuda PRIVATE ${LAPACK_LIBRARIES}) ++ TARGET_LINK_LIBRARIES(afcuda PRIVATE ${LAPACKE_LIBRARIES}) + ENDIF() + + SET_TARGET_PROPERTIES(afcuda PROPERTIES +diff --git a/src/backend/opencl/CMakeLists.txt b/src/backend/opencl/CMakeLists.txt +index 71247ce..ded53bf 100644 +--- a/src/backend/opencl/CMakeLists.txt ++++ b/src/backend/opencl/CMakeLists.txt +@@ -12,7 +12,7 @@ ENDIF() + + IF(APPLE) + FIND_PACKAGE(LAPACKE QUIET) # For finding MKL +- IF(NOT LAPACK_FOUND) ++ IF(NOT LAPACKE_FOUND) + # UNSET THE VARIABLES FROM LAPACKE + UNSET(LAPACKE_LIB CACHE) + UNSET(LAPACK_LIB CACHE) +@@ -24,9 +24,9 @@ ELSE(APPLE) # Linux and Windows + FIND_PACKAGE(LAPACKE) + ENDIF(APPLE) + +-IF(NOT LAPACK_FOUND) +- MESSAGE(WARNING "LAPACK not found. Functionality will be disabled") +-ELSE(NOT LAPACK_FOUND) ++IF(NOT LAPACKE_FOUND) ++ MESSAGE(WARNING "LAPACKE not found. Functionality will be disabled") ++ELSE(NOT LAPACKE_FOUND) + ADD_DEFINITIONS(-DWITH_OPENCL_LINEAR_ALGEBRA) + + IF(NOT USE_OPENCL_MKL) +@@ -105,8 +105,9 @@ INCLUDE_DIRECTORIES( + ${BoostCompute_INCLUDE_DIRS} + ${CBLAS_INCLUDE_DIR} + ) +-IF(LAPACK_FOUND) +- INCLUDE_DIRECTORIES(${LAPACK_INCLUDE_DIR}) ++IF(LAPACKE_FOUND) ++ INCLUDE_DIRECTORIES(${LAPACKE_INCLUDE_DIRS}) ++ LINK_DIRECTORIES(${LAPACKE_LIBRARY_DIRS}) + ENDIF() + + FILE(GLOB opencl_headers +@@ -163,7 +164,7 @@ source_group(backend\\opencl\\kernel\\convolve\\Sources FILES ${conv_ker_sources + source_group(backend\\opencl\\cpu\\Headers FILES ${cpu_headers}) + source_group(backend\\opencl\\cpu\\Sources FILES ${cpu_sources}) + +-IF(LAPACK_FOUND) ++IF(LAPACKE_FOUND) + FILE(GLOB magma_sources + "magma/*.cpp") + +@@ -313,9 +314,9 @@ IF(FORGE_FOUND AND NOT USE_SYSTEM_FORGE) + ADD_DEPENDENCIES(afopencl forge) + ENDIF() + +-IF(LAPACK_FOUND) ++IF(LAPACKE_FOUND) + TARGET_LINK_LIBRARIES(afopencl +- PRIVATE ${LAPACK_LIBRARIES} ++ PRIVATE ${LAPACKE_LIBRARIES} + PRIVATE ${CBLAS_LIBRARIES}) + ENDIF() + diff --git a/arrayfire-newer-boost-compute.patch b/arrayfire-newer-boost-compute.patch new file mode 100644 index 0000000..b08c121 --- /dev/null +++ b/arrayfire-newer-boost-compute.patch @@ -0,0 +1,33 @@ +https://sources.debian.org/data/main/a/arrayfire/3.3.2+dfsg1-4/debian/patches/Use-compute-library-from-Boost-1.61.patch + +From: Ghislain Antony Vaillant +Date: Fri, 12 Aug 2016 08:35:19 +0100 +Subject: Use compute library from Boost 1.61. + +--- + src/backend/opencl/CMakeLists.txt | 12 +++++++----- + 1 file changed, 7 insertions(+), 5 deletions(-) + +diff --git a/src/backend/opencl/CMakeLists.txt b/src/backend/opencl/CMakeLists.txt +index ded53bf..d7e3628 100644 +--- a/src/backend/opencl/CMakeLists.txt ++++ b/src/backend/opencl/CMakeLists.txt +@@ -84,11 +84,13 @@ ADD_DEFINITIONS( -DBOOST_ALL_NO_LIB ) + SET(Boost_USE_STATIC_LIBS OFF) + FIND_PACKAGE(Boost 1.48 REQUIRED) + +-OPTION(USE_SYSTEM_BOOST_COMPUTE "Use system BoostCompute" OFF) +-IF(USE_SYSTEM_BOOST_COMPUTE) +- FIND_PACKAGE(BoostCompute REQUIRED) +-ELSE() +- INCLUDE("${CMAKE_MODULE_PATH}/build_boost_compute.cmake") ++IF(Boost_VERSION VERSION_LESS "1.61") ++ OPTION(USE_SYSTEM_BOOST_COMPUTE "Use system BoostCompute" OFF) ++ IF(USE_SYSTEM_BOOST_COMPUTE) ++ FIND_PACKAGE(BoostCompute REQUIRED) ++ ELSE() ++ INCLUDE("${CMAKE_MODULE_PATH}/build_boost_compute.cmake") ++ ENDIF() + ENDIF() + + SET( cl_kernel_headers diff --git a/gn/packages/arrayfire.scm b/gn/packages/arrayfire.scm index 723444a..6a7c07f 100644 --- a/gn/packages/arrayfire.scm +++ b/gn/packages/arrayfire.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Dennis Mungai +;;; Copyright © 2019 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,235 +20,216 @@ (define-module (gn packages arrayfire) #:use-module (guix packages) #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix download) #:use-module (guix git-download) - #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) #:use-module (gnu packages) #:use-module (guix utils) #:use-module (gnu packages algebra) - #:use-module (gnu packages autotools) - #:use-module (gnu packages bootstrap) - #:use-module (gnu packages compression) - #:use-module (gnu packages curl) - #:use-module (gnu packages gawk) - #:use-module (gnu packages cmake) #:use-module (gnu packages boost) - #:use-module (gnu packages glib) - #:use-module (gnu packages image) - #:use-module (gnu packages video) - #:use-module (gnu packages textutils) - ;; #:use-module (gnu packages fftw) - ;; #:use-module (gnu packages fftw-openmpi) - in algebra - ;; #:use-module (gnu packages fftwf) - #:use-module (gnu packages gl) + #:use-module (gnu packages check) #:use-module (gnu packages gcc) - #:use-module (gnu packages gnupg) - #:use-module (gnu packages pkg-config) #:use-module (gnu packages maths) - #:use-module (gnu packages mpi) - #:use-module (gnu packages web) - #:use-module (gnu packages wget) - #:use-module (gnu packages python) - #:use-module (gnu packages ruby) - #:use-module (gnu packages xorg) - #:use-module (gnu packages version-control) - #:use-module (gnu packages linux) - #:use-module (gnu packages opencl)) + #:use-module (gnu packages opencl) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python)) (define-public arrayfire (package (name "arrayfire") - (version "3.3.1") + (version "3.3.2") (source (origin - (method url-fetch) - (uri (string-append "http://arrayfire.com/arrayfire_source/arrayfire-full-" version - ".tar.bz2")) - (file-name (string-append name "-" version ".tar.bz2")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/arrayfire/arrayfire.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "045adww6dqmyz6kkfmq7xawi5v9a894yp5j9pzn6j568gi48pyqc")))) - (native-inputs `(("autoconf" ,autoconf) - ("automake" ,automake) - ("gawk" ,gawk) - ("git" ,git) - ("glew" ,glew) - ("libtool" ,libtool) - ("pkg-config" ,pkg-config))) - (inputs `(("boost" ,boost) - ("glfw" ,glfw) - ("compute" ,compute) - ("curl" ,curl) + "113ldnqsil4p84sayv7jh8vnn0nalxibhdyvvwp94vqk20kqg4lw")) + (patches (search-patches "arrayfire-lapack-detection.patch" + "arrayfire-newer-boost-compute.patch")))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("googletest" ,googletest) + ("assets" ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/arrayfire/assets.git") + (commit "729c7b64039e6433ae5ee521658ba20147efcb02"))) ; March 4, 2019 + (file-name (git-file-name "arrayfire-assets" "submodule")) + (sha256 + (base32 + "05zg7m6zlwi3llbv7l5wd9qi9ppb9p3ad2i5xmqwvcbgx5ry4l2s")))) + ("threads" ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alltheflops/threads.git") + (commit "5e778ce0a7f0f80af9d32ea3569df3dbec834f59"))) ; Dec 16, 2015 + (file-name (git-file-name "arrayfire-threads" "submodule")) + (sha256 + (base32 + "1rj2357r124b4ry0s467fz9hs4jxcyacliwprggvai85a39pqabx")))))) + (inputs + `(("boost" ,boost) ("clBLAS" ,clBLAS) ("clFFT" ,clFFT) - ("atlas" ,atlas) - ("dbus" ,dbus) - ("opencl-headers" ,opencl-headers) - ("ocl-icd" ,ocl-icd) - ("enca" ,enca) - ("eudev" ,eudev) - ("glew" ,glew) - ("glib" ,glib) - ("lapack" ,lapack) - ("scalapack" ,scalapack) - ("libcap" ,libcap) - ("libjpeg" ,libjpeg) - ("libltdl" ,libltdl) - ("libtiff" ,libtiff) - ("libyajl" ,libyajl) - ("mesa-utils" ,mesa-utils) - ("python" ,python-2) - ("freeimage" ,freeimage) - ("freeglut" ,freeglut) - ("fftw" ,fftw) - ("fftwf" ,fftwf) ("fftw-openmpi" ,fftw-openmpi) - ("glew" ,glew) - ("glu" ,glu) + ("fftwf" ,fftwf) + ("ocl-icd" ,ocl-icd) ("openblas" ,openblas) - ("wget" ,wget) - ("cmake" ,cmake))) + ("opencl-headers" ,opencl-headers))) (build-system cmake-build-system) (arguments - `(#:configure-flags '("-DBUILD_OPENCL=ON" "-DBUILD_CUDA=OFF" "-DBUILD_GRAPHICS=OFF" "-DUSE_SYSTEM_BOOST_COMPUTE=ON" "-DUSE_SYSTEM_CLBLAS=ON" "-DUSE_SYSTEM_CLFFT=ON") - #:tests? #t)) - (synopsis "ArrayFire: a general purpose GPU library. https://arrayfire.com") - (description "ArrayFire is a high performance software library for parallel computing with an easy-to-use API. Its array based function set makes parallel programming simple.Now on Guix") - (home-page "http://arrayfire.com/") - (license (list license:gpl2 - license:gpl2+ - license:gpl3 - license:gpl3+)))) + `(#:configure-flags + '("-DBUILD_OPENCL=ON" + "-DBUILD_CUDA=OFF" + "-DBUILD_GRAPHICS=OFF" + "-DBUILD_TEST=OFF" ; building tests segfaults + "-DUSE_SYSTEM_CLBLAS=ON" + "-DUSE_SYSTEM_CLFFT=ON" + "-DUSE_SYSTEM_GTEST=ON") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'add-more-sources + (lambda* (#:key inputs #:allow-other-keys) + (let ((assets (assoc-ref inputs "assets")) + (threads (assoc-ref inputs "threads"))) + (copy-recursively assets "assets") + (copy-recursively threads "src/backend/cpu/threads")) + #t)) + (add-after 'unpack 'fix-sources + (lambda _ + (substitute* "src/backend/opencl/blas.cpp" + ;; https://github.com/arrayfire/arrayfire/commit/90a9ffbce5c38352a365e03a634ffaf0d2fb9933 + (("#undef BLAS_FUNC_DEF") + "#undef BLAS_FUNC_DEF\n#undef BLAS_FUNC")) + (substitute* '("src/backend/cpu/blas.cpp" + "src/backend/opencl/cpu/cpu_blas.cpp") + ;; https://github.com/arrayfire/arrayfire/pull/2538/files + (("&cblas_##PREFIX##FUNC;") + "(FUNC##_func_def)&cblas_##PREFIX##FUNC;")) + #t))) + #:tests? #f)) ; Building the tests fail linking, so we build the examples as a test. + (home-page "https://arrayfire.com/") + (synopsis "High performance library for parallel computing") + (description + "ArrayFire is a high performance software library for parallel computing +with an easy-to-use API. Its array based function set makes parallel +programming simple.") + (license (list license:bsd-3 ; everything except CMakeModules folder + license:cc0)))) ; assets (define-public clBLAS (package (name "clBLAS") - (version "v2.10") + (version "2.12") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/clMathLibraries/clBLAS/archive/" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/clMathLibraries/clBLAS.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0adlb02lqzrklfybhnv4n0p37mvkvdi3vqiwa05x2mv05ywnr93j")))) + "154mz52r5hm0jrp5fqrirzzbki14c1jkacj75flplnykbl36ibjs")))) (build-system cmake-build-system) - (arguments `(#:tests? #f - #:configure-flags '("../clBLAS-2.10/src" "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_BUILD_TYPE=Release" "-DBUILD_TEST=OFF"))) - (native-inputs `(("autoconf" ,autoconf) - ("automake" ,automake) - ("cmake" ,cmake) - ("gfortran" ,gfortran) - ("libtool" ,libtool) - ("pkg-config" ,pkg-config))) - (inputs `(("curl" ,curl) - ("dbus" ,dbus) - ("boost" ,boost) - ("enca" ,enca) - ("eudev" ,eudev) - ("fftw-openmpi" ,fftw-openmpi) - ("glew" ,glew) - ("libcap" ,libcap) - ("libjpeg" ,libjpeg) - ("libltdl" ,libltdl) - ("libtiff" ,libtiff) - ("mesa-utils" ,mesa-utils) - ("openmpi" ,openmpi) - ("ocl-icd" ,ocl-icd) + (arguments + `(#:tests? #f + #:configure-flags + (list "../source/src" + "-DUSE_SYSTEM_GTEST=ON" + ;"-DBoost_USE_STATIC_LIBS=OFF" ; this does not seem to apply + "-DBUILD_TEST=OFF") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* "src/CMakeLists.txt" + (("Boost_USE_STATIC_LIBS ON") + "Boost_USE_STATIC_LIBS OFF")) + #t))))) + (native-inputs + `(("gfortran" ,gfortran) + ("openblas" ,openblas) ("opencl-headers" ,opencl-headers) - ("randrproto" ,randrproto) - ("libxrandr" ,libxrandr) - ("xineramaproto" ,xineramaproto) - ("libxinerama" ,libxinerama) - ("libxcursor" ,libxcursor) ("python" ,python-2))) - (home-page "http://www.glfw.org/") - (synopsis "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.") - (description "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.") - (license (list license:gpl2)))) + (inputs + `(("boost" ,boost) + ("ocl-icd" ,ocl-icd))) + (home-page "https://github.com/clMathLibraries/clBLAS") + (synopsis "Library containing BLAS functions written in OpenCL") + (description + "The primary goal of @code{clBLAS} is to make it easier for developers to +utilize the inherent performance and power efficiency benefits of heterogeneous +computing. @code{clBLAS} interfaces do not hide nor wrap @code{OpenCL} +interfaces, but rather leaves @code{OpenCL} state management to the control of +the user to allow for maximum performance and flexibility. The @code{clBLAS} +library does generate and enqueue optimized @code{OpenCL} kernels, relieving the +user from the task of writing, optimizing and maintaining kernel code themselves.") + (license license:asl2.0))) (define-public clFFT (package (name "clFFT") - (version "v2.10.1") + (version "2.10.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/clMathLibraries/clFFT/archive/" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/clMathLibraries/clFFT.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "19hrk1lf06kch8x9dpbdj0waycn2mldrmj2y4vzi7zn2gdfw6g73")))) + "1ksmcsqf25bmaq9rr2z1m936mxgh9cx6can2l7nna4mzlj0aghrs")))) (build-system cmake-build-system) - (arguments `(#:configure-flags '("../clFFT-2.10.1/src" "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_BUILD_TYPE=Release") #:tests? #f)) - (native-inputs `(("autoconf" ,autoconf) - ("automake" ,automake) - ("cmake" ,cmake) - ("libtool" ,libtool) - ("pkg-config" ,pkg-config))) - (inputs `(("curl" ,curl) - ("dbus" ,dbus) - ("enca" ,enca) - ("eudev" ,eudev) + (arguments + `(#:configure-flags '("../source/src" + "-DBUILD_TEST=ON" + "-DUSE_SYSTEM_GTEST=ON" + "-DBoost_USE_STATIC_LIBS=OFF") + #:test-target "Test")) + (native-inputs + `(("boost" ,boost) ("fftw-openmpi" ,fftw-openmpi) - ("glew" ,glew) - ("libcap" ,libcap) - ("libjpeg" ,libjpeg) - ("libltdl" ,libltdl) - ("libtiff" ,libtiff) - ("mesa-utils" ,mesa-utils) - ("openmpi" ,openmpi) - ("ocl-icd" ,ocl-icd) - ("opencl-headers" ,opencl-headers) - ("randrproto" ,randrproto) - ("libxrandr" ,libxrandr) - ("xineramaproto" ,xineramaproto) - ("libxinerama" ,libxinerama) - ("libxcursor" ,libxcursor) - ("python" ,python-2))) - (home-page "http://www.glfw.org/") - (synopsis "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.") - (description "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.") - (license (list license:gpl2)))) + ("fftwf" ,fftwf) + ("googletest" ,googletest))) + (inputs + `(("ocl-icd" ,ocl-icd) + ("opencl-headers" ,opencl-headers))) + (home-page "https://github.com/clMathLibraries/clFFT/") + (synopsis "Library containing FFT functions written in OpenCL") + (description "@code{clFFT} is a software library containing FFT functions +written in @code{OpenCL}. In addition to GPU devices, the library also supports +running on CPU devices to facilitate debugging and heterogeneous programming.") + (license license:asl2.0))) -(define-public compute +(define-public compute ; superceeded by boost-1.61+ (package (name "compute") - (version "v0.5") + (version "0.5") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/boostorg/compute/archive/" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/boostorg/compute.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1r16zd1wdnn9gx278mkvr13k3i79hr35v6vj0fn7v3n92ngwxnhd")))) + "0jc04k43br49hqgzrxfn3wfz2m94q1z45zfg5nahqb7p0lbfgwyx")))) (build-system cmake-build-system) - (arguments `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON" "-DCMAKE_BUILD_TYPE=Release") #:tests? #f)) - (native-inputs `(("autoconf" ,autoconf) - ("automake" ,automake) - ("cmake" ,cmake) - ("libtool" ,libtool) - ("pkg-config" ,pkg-config))) - (inputs `(("curl" ,curl) - ("dbus" ,dbus) - ("enca" ,enca) - ("eudev" ,eudev) - ("fftw-openmpi" ,fftw-openmpi) - ("glew" ,glew) - ("boost" ,boost) - ("libcap" ,libcap) - ("libjpeg" ,libjpeg) - ("libltdl" ,libltdl) - ("libtiff" ,libtiff) - ("mesa-utils" ,mesa-utils) - ("openmpi" ,openmpi) + (arguments + `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON" + "-DCMAKE_BUILD_TYPE=Release") + #:tests? #f)) ; tests require OpenCL device + (native-inputs + `(("boost" ,boost-for-mysql) ; 1.59.0 ("opencl-headers" ,opencl-headers) - ("ocl-icd" ,ocl-icd) - ("randrproto" ,randrproto) - ("libxrandr" ,libxrandr) - ("xineramaproto" ,xineramaproto) - ("libxinerama" ,libxinerama) - ("libxcursor" ,libxcursor) - ("python" ,python-2))) - (home-page "http://boost.org") - (synopsis "Peer-reviewed portable C++ source libraries,BoostCompute") - (description "Peer-reviewed portable C++ source libraries,BoostCompute") - (license (list license:x11-style)))) + ("ocl-icd" ,ocl-icd))) + (home-page "http://boostorg.github.io/compute/") + (synopsis "C++ GPU Computing Library for OpenCL") + (description + "@code{Boost.Compute} is a GPU/parallel-computing library for C++ based on +@code{OpenCL}. The core library is a thin C++ wrapper over the @code{OpenCL +API} and provides access to compute devices, contexts, command queues and memory +buffers.") + (license license:boost1.0))) -- cgit v1.2.3 From 53b4241d13050faf073a1db1f0b91c936b1f174b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 6 Aug 2019 07:48:19 -0500 Subject: gn: clFFT: Update to 2.12.2. * gn/packages/arrayfire.scm (clFFT): Update to 2.12.2. --- gn/packages/arrayfire.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn') diff --git a/gn/packages/arrayfire.scm b/gn/packages/arrayfire.scm index 6a7c07f..9cb86fa 100644 --- a/gn/packages/arrayfire.scm +++ b/gn/packages/arrayfire.scm @@ -171,7 +171,7 @@ user from the task of writing, optimizing and maintaining kernel code themselves (define-public clFFT (package (name "clFFT") - (version "2.10.1") + (version "2.12.2") (source (origin (method git-fetch) (uri (git-reference @@ -180,7 +180,7 @@ user from the task of writing, optimizing and maintaining kernel code themselves (file-name (git-file-name name version)) (sha256 (base32 - "1ksmcsqf25bmaq9rr2z1m936mxgh9cx6can2l7nna4mzlj0aghrs")))) + "134vb6214hn00qy84m4djg4hqs6hw19gkp8d0wlq8gb9m3mfx7na")))) (build-system cmake-build-system) (arguments `(#:configure-flags '("../source/src" -- cgit v1.2.3 From a3d3db673a4aff3468c00e9edf276fd7ef3ba6c6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 9 Aug 2019 04:01:12 -0500 Subject: gn: 4store upstreamed --- gn/packages/4store.scm | 86 -------------------------------------------------- 1 file changed, 86 deletions(-) delete mode 100644 gn/packages/4store.scm (limited to 'gn') diff --git a/gn/packages/4store.scm b/gn/packages/4store.scm deleted file mode 100644 index ec09112..0000000 --- a/gn/packages/4store.scm +++ /dev/null @@ -1,86 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016 Roel Janssen -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see . - -(define-module (gn packages 4store) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix packages) - #:use-module (guix utils) - #:use-module (guix download) - #:use-module (guix build-system gnu) - #:use-module (gnu packages) - #:use-module (gnu packages autotools) - #:use-module (gnu packages python) - #:use-module (gnu packages perl) - #:use-module (gnu packages rdf) - #:use-module (gnu packages pcre) - #:use-module (gnu packages avahi) - #:use-module (gnu packages gettext) - #:use-module (gnu packages glib) - #:use-module (gnu packages linux) - #:use-module (gnu packages readline) - #:use-module (gnu packages cyrus-sasl) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages tls) - #:use-module (gnu packages file) - #:use-module (gnu packages xml)) - -(define-public 4store ; guix ready - (let ((commit "c5a56d7c7504551a1f2fff6c16c4d9a440e4a317")) - (package - (name "4store") - (version (string-append "1.1.6-0." (string-take commit 7))) - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/garlik/4store/archive/" - commit ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12pn5masjrfp1d8v1dz47qga0ns8d03f2f5icnb9d6m1jfp8l38a")) - (patches (list (search-patch "4store-fix-buildsystem.patch"))))) - (build-system gnu-build-system) - (native-inputs - `(("perl" ,perl) - ("python" ,python-2) - ("file" ,file) - ("autoconf" ,autoconf) - ("automake" ,automake) - ("gettext" ,gnu-gettext) - ("libtool" ,libtool) - ("pkg-config" ,pkg-config))) - (inputs - `(("glib" ,glib) - ("rasqal" ,rasqal) - ("libxml2" ,libxml2) - ("raptor2" ,raptor2) - ("readline" ,readline) - ("avahi" ,avahi) - ("pcre" ,pcre) - ("cyrus-sasl" ,cyrus-sasl) - ("openssl" ,openssl) - ("util-linux" ,util-linux))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'generate-configure - (lambda _ - (zero? (system* "./autogen.sh"))))))) - (home-page "http://www.4store.org") - (synopsis "Clustered RDF storage and query engine") - (description "4store is a RDF/SPARQL store written in C, either single -machines or networked clusters.") - (license license:gpl3+)))) -- cgit v1.2.3 From ef7725fb77344ce126ba688813868596ec1799fb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 9 Aug 2019 04:10:31 -0500 Subject: gn: openfbya: Clean up package. * gn/packages/openfyba.scm (openfyba)[source]: Don't use unstable tarball. [arguments]: Use 'boostrap phase to replace 'boostrap phase. Adjust for change in source. --- gn/packages/openfyba.scm | 39 ++++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 21 deletions(-) (limited to 'gn') diff --git a/gn/packages/openfyba.scm b/gn/packages/openfyba.scm index bfc50b7..c1a1c90 100644 --- a/gn/packages/openfyba.scm +++ b/gn/packages/openfyba.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Dennis Mungai +;;; Copyright © 2019 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -18,44 +19,40 @@ (define-module (gn packages openfyba) #:use-module ((guix licenses)) - #:use-module (gnu packages) - #:use-module (gnu packages autotools) #:use-module (guix packages) - #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) - #:use-module (gnu packages linux) - #:use-module (gnu packages textutils) - #:use-module (gnu packages base) - ;;#:use-module (gnu packages tls) + #:use-module (gnu packages autotools) #:use-module (gnu packages compression) - #:use-module (gnu packages gnupg) - #:use-module (gnu packages bootstrap) - #:use-module (guix git-download)) + #:use-module (gnu packages gnupg)) (define-public openfyba (package (name "openfyba") (version "4.1.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/kartverket/fyba/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/kartverket/fyba.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0ya1agi78d386skq353dk400fl11q6whfqmv31qrkn4g5vamixlr")))) + "0zxw4pf3s7rb9g8209i3rj0v5jjw1vb79knd5mzvw9drpl9bbgpl")))) (inputs `(("zip" ,zip) ("autoconf" ,autoconf) ("automake" ,automake) ("libtool" ,libtool) ("libgcrypt" ,libgcrypt))) (build-system gnu-build-system) - (arguments - '(#:phases (modify-phases %standard-phases - (add-after 'unpack `bootstrap - (lambda _ - (zero? (system* "autoreconf" "-vfi"))))))) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'bootstrap + (lambda _ + (for-each make-file-writable (find-files "." ".*")) + (invoke "autoreconf" "-vfi")))))) (home-page "http://labs.kartverket.no/sos/") (synopsis "source code release of the FYBA library") (description "OpenFYBA is the source code release of the FYBA library.") - (license (list gpl2)))) + (license gpl2))) -- cgit v1.2.3 From 5fa8e9b0d5a95d801627cc11373260734fd6a509 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 12 Aug 2019 02:50:47 -0500 Subject: gn: add missing module imports --- gn/packages/cwl.scm | 1 + gn/packages/mongodb.scm | 3 ++- gn/packages/yaj.scm | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'gn') diff --git a/gn/packages/cwl.scm b/gn/packages/cwl.scm index 245af84..84251a4 100644 --- a/gn/packages/cwl.scm +++ b/gn/packages/cwl.scm @@ -7,6 +7,7 @@ #:use-module (gnu packages databases) #:use-module (gnu packages python) #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages node) #:use-module (gnu packages rdf) #:use-module (gnu packages serialization) diff --git a/gn/packages/mongodb.scm b/gn/packages/mongodb.scm index 79c2b75..ccf9ef7 100644 --- a/gn/packages/mongodb.scm +++ b/gn/packages/mongodb.scm @@ -25,7 +25,8 @@ #:use-module (gnu packages) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) - #:use-module (gnu packages python)) + #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz)) (define-public mongodb ; guix fix tests and maybe non-free (package diff --git a/gn/packages/yaj.scm b/gn/packages/yaj.scm index 662d83a..dc19f0f 100644 --- a/gn/packages/yaj.scm +++ b/gn/packages/yaj.scm @@ -34,6 +34,7 @@ #:use-module (gnu packages protobuf) #:use-module (gnu packages python) #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages check) #:use-module (gnu packages statistics) #:use-module (gnu packages tbb) -- cgit v1.2.3 From 54d38e0c0ecf0421b0cff5c5bee5d1a9487bd392 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 12 Aug 2019 03:55:23 -0500 Subject: gn: mongodb upstreamed --- gn/packages/mongodb.scm | 75 ------------------------------------------------- 1 file changed, 75 deletions(-) delete mode 100644 gn/packages/mongodb.scm (limited to 'gn') diff --git a/gn/packages/mongodb.scm b/gn/packages/mongodb.scm deleted file mode 100644 index ccf9ef7..0000000 --- a/gn/packages/mongodb.scm +++ /dev/null @@ -1,75 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016 Roel Janssen -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see . - -(define-module (gn packages mongodb) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix packages) - #:use-module (guix utils) - #:use-module (guix download) - #:use-module (guix build-system gnu) - #:use-module (gnu packages) - #:use-module (gnu packages perl) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages python) - #:use-module (gnu packages python-xyz)) - -(define-public mongodb ; guix fix tests and maybe non-free - (package - (name "mongodb") - (version "3.3.3") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/mongodb/mongo/archive/r" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01v16j8xbry7m7apwlhiqhgx3zyyk2kadyk2sr9m6k20wnh5j24y")) - (patches (list (search-patch "mongodb-add-version-file.patch"))))) - (build-system gnu-build-system) - (native-inputs - `(("scons" ,scons) - ("python" ,python-2) - ("perl" ,perl))) - (arguments - `(#:tests? #f ; There is no 'check' target. - #:phases - (modify-phases %standard-phases - (delete 'configure) ; There is no configure phase - (add-after 'unpack 'scons-propagate-environment - (lambda _ - ;; Modify the SConstruct file to arrange for - ;; environment variables to be propagated. - (substitute* "SConstruct" - (("^env = Environment\\(") - "env = Environment(ENV=os.environ, ")))) - (replace 'build - (lambda _ - (zero? (system* "scons" "mongod" "mongo" "mongos")))) - (replace 'install - (lambda _ - (let ((bin (string-append (assoc-ref %outputs "out") "/bin"))) - (install-file "mongod" bin) - (install-file "mongos" bin) - (install-file "mongo" bin))))))) - (home-page "https://www.mongodb.org/") - (synopsis "High performance and high availability document database") - (description "Mongo is a high-performance, high availability, -schema-free document-oriented database. A key goal of MongoDB is to bridge -the gap between key/value stores (which are fast and highly scalable) and -traditional RDBMS systems (which are deep in functionality).") - (license (list license:agpl3 license:asl2.0)))) -- cgit v1.2.3 From df4e25920fea6e0d70332d19aab1b449e0fb2fe8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 12 Aug 2019 04:13:48 -0500 Subject: 42 crates upstreamed --- gn/packages/crates-io.scm | 933 ++-------------------------------------------- 1 file changed, 35 insertions(+), 898 deletions(-) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index abc69d9..9e2774f 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -260,28 +260,6 @@ "This package provides a simple interface for querying atty") (license license:expat))) -(define-public rust-autocfg ; guix upstreamable - (package - (name "rust-autocfg") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "autocfg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0asl6fnc35yk5l2rxwhp25v128jgm45dp754h9z8x51b6n90w4r2")))) - (build-system cargo-build-system) - (home-page "https://github.com/cuviper/autocfg") - (synopsis "Automatic cfg for Rust compiler features") - (description "Rust library for build scripts to automatically configure -code based on compiler support. Code snippets are dynamically tested to see -if the @code{rustc} will accept them, rather than hard-coding specific version -support.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-automod (package (name "rust-automod") @@ -503,28 +481,6 @@ support.") (license (list license:asl2.0 license:expat)))) -(define-public rust-bencher ; guix upstreamable - (package - (name "rust-bencher") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "bencher" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1x8p2xblgqssay8cdykp5pkfc0np0jk5bs5cx4f5av097aav9zbx")))) - (build-system cargo-build-system) - (home-page "https://github.com/bluss/bencher/") - (synopsis "Port of the libtest benchmark runner to Rust stable") - (description "This package provides a port of the libtest (unstable Rust) -benchmark runner to Rust stable releases. Supports running benchmarks and -filtering based on the name. Benchmark execution works exactly the same way -and no more (caveat: black_box is still missing!).") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-bincode (package (name "rust-bincode") @@ -625,26 +581,6 @@ and no more (caveat: black_box is still missing!).") (license (list license:asl2.0 license:expat)))) -(define-public rust-bitflags ; guix upstreamable - (package - (name "rust-bitflags") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "bitflags" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1zc1qb1hwsnl2d8rhzicsv9kqd5b2hwbrscrcfw5as4sfr35659x")))) - (build-system cargo-build-system) - (home-page "https://github.com/bitflags/bitflags") - (synopsis "Macro to generate structures which behave like bitflags") - (description "This package provides a macro to generate structures which -behave like a set of bitflags.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-blobby (package (name "rust-blobby") @@ -845,27 +781,6 @@ behave like a set of bitflags.") (license (list license:asl2.0 license:expat)))) -(define-public rust-cfg-if ; guix upstreamable - (package - (name "rust-cfg-if") - (version "0.1.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "cfg-if" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0csygklgz3ybpr0670rkip49zh76m43ar3k7xgypkzbzrwycx1ml")))) - (build-system cargo-build-system) - (home-page "https://github.com/alexcrichton/cfg-if") - (synopsis "Define an item depending on parameters") - (description "This package provides a macro to ergonomically define an item -depending on a large number of #[cfg] parameters. Structured like an -@code{if-else} chain, the first matching branch is the item that gets emitted.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-chrono (package (name "rust-chrono") @@ -1716,45 +1631,6 @@ depending on a large number of #[cfg] parameters. Structured like an "System-level helper functions for the dirs and directories crates.") (license #f))) -(define-public rust-discard ; guix upstreamable - (package - (name "rust-discard") - (version "1.0.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "discard" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1h67ni5bxvg95s91wgicily4ix7lcw7cq0a5gy9njrybaibhyb91")))) - (build-system cargo-build-system) - (home-page "https://github.com/Pauan/rust-discard") - (synopsis "Allow for intentionally leaking memory") - (description "There are situations where you need to intentionally leak some -memory but not other memory. This package provides a discard trait which allows -for intentionally leaking memory") - (license license:expat))) - -(define-public rust-doc-comment ; guix upstreamable - (package - (name "rust-doc-comment") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "doc-comment" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "15rsqxgarfpb1yim9sbp9yfgj7p2dq6v51c6bq1a62paii9ylgcj")))) - (build-system cargo-build-system) - (home-page "https://github.com/GuillaumeGomez/doc-comment") - (synopsis "Macro to generate doc comments") - (description "This package provides a way to generate doc comments -from macros.") - (license license:expat))) - (define-public rust-docopt (package (name "rust-docopt") @@ -1781,26 +1657,6 @@ from macros.") (license (list license:unlicense license:expat)))) -(define-public rust-dtoa ; guix upstreamable - (package - (name "rust-dtoa") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "dtoa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0phbm7i0dpn44gzi07683zxaicjap5064w62pidci4fhhciv8mza")))) - (build-system cargo-build-system) - (home-page "https://github.com/dtolnay/dtoa") - (synopsis "Fast functions for printing floating-point primitives") - (description "This crate provides fast functions for printing -floating-point primitives to an @code{io::Write}.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-either (package (name "rust-either") @@ -2023,28 +1879,6 @@ floating-point primitives to an @code{io::Write}.") (license (list license:asl2.0 license:expat)))) -(define-public rust-fallible-iterator ; guix upstreamable - (package - (name "rust-fallible-iterator") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "fallible-iterator" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4")))) - (build-system cargo-build-system) - (home-page "https://github.com/sfackler/rust-fallible-iterator") - (synopsis "Fallible iterator traits") - (description "If the @code{std} or @code{alloc} features are enabled, this -crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and -@code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally -provides implementations for @code{HashMap} and @code{HashSet}.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-findshlibs (package (name "rust-findshlibs") @@ -2098,46 +1932,6 @@ provides implementations for @code{HashMap} and @code{HashSet}.") (license (list license:asl2.0 license:expat)))) -(define-public rust-fnv ; guix upstreamable - (package - (name "rust-fnv") - (version "1.0.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "fnv" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ww56bi1r5b8id3ns9j3qxbi7w5h005rzhiryy0zi9h97raqbb9g")))) - (build-system cargo-build-system) - (home-page "https://github.com/servo/rust-fnv") - (synopsis "implementation of the Fowler-Noll-Vo hash function") - (description "The @code{fnv} hash function is a custom @code{Hasher} -implementation that is more efficient for smaller hash keys.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-fs-extra ; guix upstreamable - (package - (name "rust-fs-extra") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "fs_extra" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0x6675wdhsx277k1k1235jwcv38naf20d8kwrk948ds26hh4lajz")))) - (build-system cargo-build-system) - (home-page "https://github.com/webdesus/fs_extra") - (synopsis "Extra filesystem methods") - (description "Expanding opportunities standard library @code{std::fs} and -@code{std::io}. Recursively copy folders with recept information about -process and much more.") - (license license:expat))) - (define-public rust-fst (package (name "rust-fst") @@ -2243,26 +2037,6 @@ process and much more.") pseudorandom number generator") (license license:bsd-3))) -(define-public rust-futures ; guix upstreamable - (package - (name "rust-futures") - (version "0.1.28") - (source - (origin - (method url-fetch) - (uri (crate-uri "futures" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0saq8ffjw1pwf1pzhw3kq1z7dfq6wpd8x93dnni6vbkc799kkp25")))) - (build-system cargo-build-system) - (home-page "https://github.com/rust-lang-nursery/futures-rs") - (synopsis "Implementation of zero-cost futures in Rust") - (description "An implementation of @code{futures} and @code{streams} -featuring zero allocations, composability, and iterator-like interfaces.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-futures-channel-preview (package (name "rust-futures-channel-preview") @@ -2784,26 +2558,6 @@ featuring zero allocations, composability, and iterator-like interfaces.") (license (list license:asl2.0 license:expat)))) -(define-public rust-hex ; guix upstreamable - (package - (name "rust-hex") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "hex" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40")))) - (build-system cargo-build-system) - (home-page "https://github.com/KokaKiwi/rust-hex") - (synopsis "Encode and decode data to/from hexadecimals") - (description "This crate allows for encoding and decoding data into/from -hexadecimal representation.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-hex-literal (package (name "rust-hex-literal") @@ -3152,26 +2906,6 @@ hexadecimal representation.") (license (list license:asl2.0 license:expat)))) -(define-public rust-itoa ; guix upstreamable - (package - (name "rust-itoa") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "itoa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0zvg2d9qv3avhf3d8ggglh6fdyw8kkwqg3r4622ly5yhxnvnc4jh")))) - (build-system cargo-build-system) - (home-page "https://github.com/dtolnay/itoa") - (synopsis "Fast functions for printing integer primitives") - (description "This crate provides fast functions for printing integer -primitives to an @code{io::Write}.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-jemalloc-sys (package (name "rust-jemalloc-sys") @@ -3228,26 +2962,6 @@ primitives to an @code{io::Write}.") (license (list license:asl2.0 license:expat)))) -(define-public rust-json ; guix upstreamable - (package - (name "rust-json") - (version "0.11.14") - (source - (origin - (method url-fetch) - (uri (crate-uri "json" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1hj8c6xj5c2aqqszi8naaflmcdbya1i9byyjrq4iybxjb4q91mq1")))) - (build-system cargo-build-system) - (home-page "https://github.com/maciejhirsz/json-rust") - (synopsis "JSON implementation in Rust") - (description "This crate provides a JSON implementation in Rust, reducing -friction with idiomatic Rust structs to ease interopability.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-lazy-static (package (name "rust-lazy-static") @@ -3601,64 +3315,6 @@ friction with idiomatic Rust structs to ease interopability.") (license (list license:asl2.0 license:expat)))) -(define-public rust-maplit ; guix upstreamable - (package - (name "rust-maplit") - (version "1.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "maplit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0hsczmvd6zkqgzqdjp5hfyg7f339n68w83n4pxvnsszrzssbdjq8")))) - (build-system cargo-build-system) - (home-page "https://github.com/bluss/maplit") - (synopsis "Collection of Map macros") - (description "This crate provides a collection of @code{literal} macros for -@code{HashMap}, @code{HashSet}, @code{BTreeMap}, and @code{BTreeSet.}") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-matches ; guix upstreamable - (package - (name "rust-matches") - (version "0.1.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "matches" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "020axl4q7rk9vz90phs7f8jas4imxal9y9kxl4z4v7a6719mrz3z")))) - (build-system cargo-build-system) - (home-page "https://github.com/SimonSapin/rust-std-candidates") - (synopsis "Macro to evaluate whether an expression matches a pattern.") - (description "This package provides a macro to evaluate, as a boolean, -whether an expression matches a pattern.") - (license license:expat))) - -(define-public rust-md5 ; guix upstreamable - (package - (name "rust-md5") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "md5" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy")))) - (build-system cargo-build-system) - (home-page "https://github.com/stainless-steel/md5") - (synopsis "MD5 hash function in Rust") - (description "The package provides the MD5 hash function.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-memchr (package (name "rust-memchr") @@ -4255,48 +3911,6 @@ implementation (which is unstable / requires nightly).") (license (list license:asl2.0 license:expat)))) -(define-public rust-peeking-take-while ; guix upstreamable - (package - (name "rust-peeking-take-while") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "peeking_take_while" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16bhqr6rdyrp12zv381cxaaqqd0pwysvm1q8h2ygihvypvfprc8r")))) - (build-system cargo-build-system) - (home-page "https://github.com/fitzgen/peeking_take_while") - (synopsis "Provides the peeking_take_while iterator adaptor method") - (description - "Like @code{Iterator::take_while}, but calls the predicate on a peeked -value. This allows you to use @code{Iterator::by_ref} and -@code{Iterator::take_while} together, and still get the first value for which -the @code{take_while} predicate returned false after dropping the @code{by_ref}.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-percent-encoding ; guix upstreamable - (package - (name "rust-percent-encoding") - (version "2.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "percent-encoding" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0m6rkp3iy11la04p6z3492rns6n693pvmx585dvfmzzlzak2hkxs")))) - (build-system cargo-build-system) - (home-page "https://github.com/servo/rust-url/") - (synopsis "Percent encoding and decoding") - (description "This crate provides percent encoding and decoding.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-pest (package (name "rust-pest") @@ -4399,25 +4013,6 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}. (license (list license:asl2.0 license:expat)))) -(define-public rust-pin-utils ; guix upstreamable - (package - (name "rust-pin-utils") - (version "0.1.0-alpha.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "pin-utils" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "11xmyx00n4m37d546by2rxb8ryxs12v55cc172i3yak1rqccd52q")))) - (build-system cargo-build-system) - (home-page "https://github.com/rust-lang-nursery/pin-utils") - (synopsis "Utilities for pinning") - (description "This crate provides utilities for pinning values on the stack.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-pkg-config (package (name "rust-pkg-config") @@ -4446,98 +4041,39 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}. (license (list license:asl2.0 license:expat)))) -(define-public rust-plain ; guix upstreamable +(define-public rust-proc-macro-nested ; guix upstreamable (package - (name "rust-plain") - (version "0.2.3") + (name "rust-proc-macro-nested") + (version "0.1.3") (source (origin (method url-fetch) - (uri (crate-uri "plain" version)) + (uri (crate-uri "proc-macro-nested" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "19n1xbxb4wa7w891268bzf6cbwq4qvdb86bik1z129qb0xnnnndl")))) + "0bmlksm8vl44wkwihmwr7jsjznhbg0n7aibcw1cs2jgjcp86x6in")))) (build-system cargo-build-system) - (home-page "https://github.com/randomites/plain") - (synopsis "Rust library that allows reinterpreting data safely") - (description "This package provides a small Rust library that allows users - to reinterpret data of certain types safely.") + (home-page "https://github.com/dtolnay/proc-macro-hack") + (synopsis "Support for nested proc-macro-hack invocations") + (description "This crate provides support for nested proc-macro-hack +invocations.") (license (list license:asl2.0 license:expat)))) -(define-public rust-pocket-resources ; guix upstreamable +(define-public rust-proptest (package - (name "rust-pocket-resources") - (version "0.3.2") + (name "rust-proptest") + (version "0.9.4") (source (origin (method url-fetch) - (uri (crate-uri "pocket-resources" version)) - (file-name (string-append name "-" version ".tar.gz")) + (uri (crate-uri "proptest" version)) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1n2i5vmi8fdbw89wm5nz1ws1z9f1qax911p6ksg4scmdg23z6df1")))) - (build-system cargo-build-system) - (home-page "https://github.com/tomaka/pocket-resources") - (synopsis "Include resources in your applications") - (description "This crate allows you to include resources in your -applications.") - (license license:expat))) - -(define-public rust-ppv-lite86 ; guix upstreamable - (package - (name "rust-ppv-lite86") - (version "0.2.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "ppv-lite86" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06snnv338w341nicfqba2jgln5dsla72ndkgrw7h1dfdb3vgkjz3")))) - (build-system cargo-build-system) - (home-page "https://github.com/cryptocorrosion/cryptocorrosion") - (synopsis "Implementation of the crypto-simd API for x86") - (description "This crate provides an implementation of the crypto-simd API -for x86.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-proc-macro-nested ; guix upstreamable - (package - (name "rust-proc-macro-nested") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "proc-macro-nested" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0bmlksm8vl44wkwihmwr7jsjznhbg0n7aibcw1cs2jgjcp86x6in")))) - (build-system cargo-build-system) - (home-page "https://github.com/dtolnay/proc-macro-hack") - (synopsis "Support for nested proc-macro-hack invocations") - (description "This crate provides support for nested proc-macro-hack -invocations.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-proptest - (package - (name "rust-proptest") - (version "0.9.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "proptest" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17sjg8isas4qk85807c4panih9k0lwa4k1mbajhciw5c5q17w56g")))) + (base32 + "17sjg8isas4qk85807c4panih9k0lwa4k1mbajhciw5c5q17w56g")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -4656,26 +4192,6 @@ invocations.") "a collection of approximate quantile algorithms") (license license:expat))) -(define-public rust-quick-error ; guix upstreamable - (package - (name "rust-quick-error") - (version "1.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "quick-error" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j")))) - (build-system cargo-build-system) - (home-page "http://github.com/tailhook/quick-error") - (synopsis "Macro which makes error types pleasant to write") - (description "This crate provides a macro which makes error types pleasant -to write.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-quickcheck (package (name "rust-quickcheck") @@ -5674,26 +5190,6 @@ system calls.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rustc-std-workspace-core ; guix upstreamable - (package - (name "rust-rustc-std-workspace-core") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustc-std-workspace-core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr")))) - (build-system cargo-build-system) - (home-page "https://crates.io/crates/rustc-std-workspace-core") - (synopsis "Explicitly empty crate for rust-lang/rust integration") - (description "This crate provides an explicitly empty crate for -rust-lang/rust integration.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-rustc-test (package (name "rust-rustc-test") @@ -5805,50 +5301,6 @@ rust-lang/rust integration.") (license (list license:unlicense license:expat)))) -(define-public rust-scoped-tls ; guix upstreamable - (package - (name "rust-scoped-tls") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "scoped-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1hj8lifzvivdb1z02lfnzkshpvk85nkgzxsy2hc0zky9wf894spa")))) - (build-system cargo-build-system) - (home-page "https://github.com/alexcrichton/scoped-tls") - (synopsis "Rust library providing the old standard library's scoped_thread_local") - (description "This crate provides a library implementation of the standard -library's old @code{scoped_thread_local!} macro for providing scoped access to -@dfn{thread local storage} (TLS) so any type can be stored into TLS.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-scopeguard ; guix upstreamable - (package - (name "rust-scopeguard") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "scopeguard" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml")))) - (build-system cargo-build-system) - (home-page "https://github.com/bluss/scopeguard") - (synopsis "Scope guard which will run a closure even out of scope") - (description "This package provides a RAII scope guard that will run a -given closure when it goes out of scope, even if the code between panics -(assuming unwinding panic). Defines the macros @code{defer!}, -@code{defer_on_unwind!}, @code{defer_on_success!} as shorthands for guards -with one of the implemented strategies.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-scopeguard-0.3 (package (inherit rust-scopeguard) @@ -5999,25 +5451,6 @@ function with proven statistical guarantees.") (license (list license:asl2.0 license:expat)))) -(define-public rust-semver-parser ; guix upstreamable - (package - (name "rust-semver-parser") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "semver-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml")))) - (build-system cargo-build-system) - (home-page "https://github.com/steveklabnik/semver-parser") - (synopsis "Parsing of the semver spec") - (description "This package provides for parsing of the semver spec.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-semver-parser-0.7 (package (inherit rust-semver-parser) @@ -6027,11 +5460,10 @@ function with proven statistical guarantees.") (origin (method url-fetch) (uri (crate-uri "semver-parser" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "18vhypw6zgccnrlm5ps1pwa0khz7ry927iznpr88b87cagr1v2iq")))))) + (base32 + "18vhypw6zgccnrlm5ps1pwa0khz7ry927iznpr88b87cagr1v2iq")))))) (define-public rust-serde (package @@ -6369,45 +5801,6 @@ function with proven statistical guarantees.") "Minimal implementation of SHA1 for Rust.") (license license:bsd-3))) -(define-public rust-shlex ; guix upstreamable - (package - (name "rust-shlex") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "shlex" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1lmv6san7g8dv6jdfp14m7bdczq9ss7j7bgsfqyqjc3jnjfippvz")))) - (build-system cargo-build-system) - (home-page "https://github.com/comex/rust-shlex") - (synopsis "Split a string into shell words, like Python's shlex") - (description "This crate provides a method to split a string into shell -words, like Python's shlex.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-slab ; guix upstreamable - (package - (name "rust-slab") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "slab" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1")))) - (build-system cargo-build-system) - (home-page "https://github.com/carllerche/slab") - (synopsis "Pre-allocated storage for a uniform data type") - (description "This create provides a pre-allocated storage for a uniform -data type.") - (license license:expat))) - (define-public rust-sleef-sys (package (name "rust-sleef-sys") @@ -6464,26 +5857,6 @@ data type.") license:mpl2.0 license:expat)))) -(define-public rust-spin ; guix upstreamable - (package - (name "rust-spin") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "spin" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0m9clchsj0rf13bggsgvbv9haiy0f6rhvnvkpvkk8720a5pkydj4")))) - (build-system cargo-build-system) - (home-page "https://github.com/mvdnes/spin-rs.git") - (synopsis "Synchronization primitives based on spinning") - (description "This crate provides synchronization primitives based on -spinning. They may contain data, are usable without @code{std},and static -initializers are available.") - (license license:expat))) - (define-public rust-stacker (package (name "rust-stacker") @@ -6625,26 +5998,6 @@ initializers are available.") (license (list license:asl2.0 license:expat)))) -(define-public rust-stdweb-internal-runtime ; guix upstreamable - (package - (name "rust-stdweb-internal-runtime") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "stdweb-internal-runtime" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1nhpyra7glbwcpakhpj5a3d7h7kx1ynif473nzshmk226m91f8ym")))) - (build-system cargo-build-system) - (home-page "https://github.com/koute/stdweb") - (synopsis "Internal runtime for the @code{stdweb} crate") - (description "This crate provides internal runtime for the @code{stdweb} -crate.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-stdweb-internal-test-macro (package (name "rust-stdweb-internal-test-macro") @@ -6721,26 +6074,6 @@ crate.") (license (list license:unlicense license:expat)))) -(define-public rust-strsim ; guix upstreamable - (package - (name "rust-strsim") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "strsim" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1xphwhf86yxxmcpvm4mikj8ls41f6nf7gqyjm98b74mfk81h6b03")))) - (build-system cargo-build-system) - (home-page "https://github.com/dguo/strsim-rs") - (synopsis "Rust implementations of string similarity metrics") - (description "This crate includes implementations of string similarity -metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro, -and Jaro-Winkler.") - (license license:expat))) - (define-public rust-strsim-0.8 (package (inherit rust-strsim) @@ -6874,25 +6207,6 @@ and Jaro-Winkler.") "Helper methods and macros for custom derives") (license license:expat))) -(define-public rust-synstructure-test-traits ; guix upstreamable - (package - (name "rust-synstructure-test-traits") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "synstructure_test_traits" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1b3fs2b9kc1gy9dilaxqjbdl4z0mlrbbxjzkprdx953rif1c3q66")))) - (build-system cargo-build-system) - (home-page "https://crates.io/crates/synstructure_test_traits") - (synopsis "Helper test traits for synstructure doctests") - (description - "This package provides helper test traits for synstructure doctests.") - (license license:expat))) - (define-public rust-tempdir (package (name "rust-tempdir") @@ -7671,28 +6985,6 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) -(define-public rust-typenum ; guix upstreamable - (package - (name "rust-typenum") - (version "1.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "typenum" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0sc1jirllfhdi52z1xv9yqzxzpk6v7vadd13n7wvs1wnjipn6bb1")))) - (build-system cargo-build-system) - (home-page "https://github.com/paholg/typenum") - (synopsis "Rust library for type-level numbers evaluated at compile time") - (description "Typenum is a Rust library for type-level numbers evaluated at -compile time. It currently supports bits, unsigned integers, and signed -integers. It also provides a type-level array of type-level numbers, but its -implementation is incomplete.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-ucd-trie (package (name "rust-ucd-trie") @@ -7719,26 +7011,6 @@ implementation is incomplete.") (license (list license:asl2.0 license:expat)))) -(define-public rust-ucd-util ; guix upstreamable - (package - (name "rust-ucd-util") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "ucd-util" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0x088q5z0m09a2jqcfgsnq955y8syn1mgn35cl78qinkxm4kp6zs")))) - (build-system cargo-build-system) - (home-page "https://github.com/BurntSushi/ucd-generate") - (synopsis "library for working with the Unicode character database") - (description "This package provides a small utility library for working -with the Unicode character database.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-unicode-normalization (package (name "rust-unicode-normalization") @@ -7793,46 +7065,6 @@ with the Unicode character database.") (license (list license:asl2.0 license:expat)))) -(define-public rust-unicode-width ; guix upstreamable - (package - (name "rust-unicode-width") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "unicode-width" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "09k5lipygardwy0660jhls08fsgknrazzivmn804gps53hiqc8w8")))) - (build-system cargo-build-system) - (home-page "https://github.com/unicode-rs/unicode-width") - (synopsis "Determine displayed width according to Unicode rules") - (description "This crate allows you to determine displayed width of -@code{char} and @code{str} types according to Unicode Standard Annex #11 rules.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-unindent ; guix upstreamable - (package - (name "rust-unindent") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "unindent" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1x21ilf78aqcq9xzb9b7i628wm10rhk0jp0chlv06rkc690l8jw3")))) - (build-system cargo-build-system) - (home-page "https://github.com/dtolnay/indoc") - (synopsis "Remove a column of leading whitespace from a string") - (description "This crate allows you to remove a column of leading -whitespace from a string.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-url (package (name "rust-url") @@ -8165,26 +7397,6 @@ whitespace from a string.") (license (list license:asl2.0 license:expat)))) -(define-public rust-wasm-bindgen-shared ; guix upstreamable - (package - (name "rust-wasm-bindgen-shared") - (version "0.2.48") - (source - (origin - (method url-fetch) - (uri (crate-uri "wasm-bindgen-shared" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "08rnfhjyk0f6liv8n4rdsvhx7r02glkhcbj2lp9lcbkbfpad9hnr")))) - (build-system cargo-build-system) - (home-page "https://rustwasm.github.io/wasm-bindgen/") - (synopsis "Shared support between wasm-bindgen and wasm-bindgen cli") - (description "This package provides shared support between -@code{wasm-bindgen} and @code{wasm-bindgen} cli, an internal dependency.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-wasm-bindgen-test (package (name "rust-wasm-bindgen-test") @@ -8275,56 +7487,6 @@ whitespace from a string.") "This package provides a Rust equivalent of Unix command \"which\". Locate installed execuable in cross platforms.") (license license:expat))) -(define-public rust-winapi - (package - (name "rust-winapi") - (version "0.3.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "winapi" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0w7pbhcl087lkggxdflfp2i92rq89ahsfdkjkv44fgmiy9m3h3pi")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-winapi-i686-pc-windows-gnu" - ,rust-winapi-i686-pc-windows-gnu) - ("rust-winapi-x86-64-pc-windows-gnu" - ,rust-winapi-x86-64-pc-windows-gnu)))) - (home-page - "https://github.com/retep998/winapi-rs") - (synopsis - "Raw FFI bindings for all of Windows API.") - (description - "Raw FFI bindings for all of Windows API.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-winapi-i686-pc-windows-gnu ; guix upstreamable? - (package - (name "rust-winapi-i686-pc-windows-gnu") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "winapi-i686-pc-windows-gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc")))) - (build-system cargo-build-system) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Import libraries for the i686-pc-windows-gnu target") - (description "This crate provides import libraries for the -i686-pc-windows-gnu target. Please don't use this crate directly, depend on -@code{winapi} instead.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-winapi-util (package (name "rust-winapi-util") @@ -8333,44 +7495,21 @@ i686-pc-windows-gnu target. Please don't use this crate directly, depend on (origin (method url-fetch) (uri (crate-uri "winapi-util" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1j839dc6y8vszvrsb7yk0qvs0w6asnahxzbyans37vnsw6vbls3i")))) + (base32 + "1j839dc6y8vszvrsb7yk0qvs0w6asnahxzbyans37vnsw6vbls3i")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-winapi" ,rust-winapi)))) - (home-page - "https://github.com/BurntSushi/winapi-util") - (synopsis - "A dumping ground for high level safe wrappers over winapi.") + `(#:cargo-inputs (("rust-winapi" ,rust-winapi)))) + (home-page "https://github.com/BurntSushi/winapi-util") + (synopsis "Dumping ground for high level safe wrappers over winapi") (description - "This package provides a dumping ground for high level safe wrappers over winapi.") + "This package provides a dumping ground for high level safe wrappers over +winapi.") (license (list license:unlicense license:expat)))) -(define-public rust-winapi-x86-64-pc-windows-gnu ; guix upstreamable? - (package - (name "rust-winapi-x86-64-pc-windows-gnu") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "winapi-x86_64-pc-windows-gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki")))) - (build-system cargo-build-system) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Import libraries for the x86_64-pc-windows-gnu target") - (description "This package provides import libraries for the -x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on -@code{winapi} instead.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-wincolor (package (name "rust-wincolor") @@ -8379,18 +7518,16 @@ x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on (origin (method url-fetch) (uri (crate-uri "wincolor" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1fp9sxq63kw3vjjcjrl3f7px082pplzxcr3qza2n2pa6mq0xj7jn")))) + (base32 + "1fp9sxq63kw3vjjcjrl3f7px082pplzxcr3qza2n2pa6mq0xj7jn")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-winapi" ,rust-winapi) - ("rust-winapi-util" ,rust-winapi-util)))) - (home-page - "https://github.com/BurntSushi/termcolor/tree/master/wincolor") + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi) + ("rust-winapi-util" ,rust-winapi-util)))) + (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor") (synopsis "A simple Windows specific API for controlling text color in a Windows console.") (description -- cgit v1.2.3 From c95495b1abfd6d0ed610a27e925c3cb6d5776dbf Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 13 Aug 2019 05:23:04 -0500 Subject: gn: Clean up some crates --- gn/packages/crates-io.scm | 240 ++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 200 insertions(+), 40 deletions(-) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index 9e2774f..4da9217 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -545,7 +545,17 @@ #:cargo-development-inputs (("rust-clap" ,rust-clap) ("rust-diff" ,rust-diff) - ("rust-shlex" ,rust-shlex)))) + ("rust-shlex" ,rust-shlex)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-environmental-variable + (lambda* (#:key inputs #:allow-other-keys) + (let ((clang (assoc-ref inputs "libclang"))) + (setenv "LIBCLANG_PATH" + (string-append clang "/lib"))) + #t))))) + (inputs + `(("libclang" ,(@ (gnu packages llvm) clang)))) (home-page "https://rust-lang.github.io/rust-bindgen/") (synopsis @@ -772,7 +782,17 @@ `(#:cargo-inputs (("rust-nom" ,rust-nom)) #:cargo-development-inputs - (("rust-clang-sys" ,rust-clang-sys)))) + (("rust-clang-sys" ,rust-clang-sys)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-environmental-variable + (lambda* (#:key inputs #:allow-other-keys) + (let ((clang (assoc-ref inputs "libclang"))) + (setenv "LIBCLANG_PATH" + (string-append clang "/lib"))) + #t))))) + (inputs + `(("libclang" ,(@ (gnu packages llvm) clang)))) (home-page "https://github.com/jethrogb/rust-cexpr") (synopsis "A C expression parser and evaluator") @@ -2382,9 +2402,18 @@ pseudorandom number generator") ("rust-serde-derive" ,rust-serde-derive) ("rust-tempdir" ,rust-tempdir) ("rust-thread-id" ,rust-thread-id) - ("rust-time" ,rust-time)))) - ;(inputs - ; `(("libgit" ,(@ (gnu packages version-control) libgit2)))) + ("rust-time" ,rust-time)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + (setenv "LIBGIT2_SYS_USE_PKG_CONFIG" "1") + #t))))) + (inputs + `(("libgit" ,(@ (gnu packages version-control) libgit2)) + ("openssl" ,(@ (gnu packages tls) openssl)))) (home-page "https://github.com/rust-lang/git2-rs") (synopsis @@ -2906,6 +2935,44 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-jemalloc-ctl + (package + (name "rust-jemalloc-ctl") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "jemalloc-ctl" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dx4mik2ww5ic4qqv5zx9dxq6pbkclxnxa9bscg4z4njkpzsa0n5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-jemalloc-sys" ,rust-jemalloc-sys) + ("rust-libc" ,rust-libc) + ("rust-paste" ,rust-paste)) + #:cargo-development-inputs + (("rust-jemallocator" ,rust-jemallocator)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'override-jemalloc + (lambda* (#:key inputs #:allow-other-keys) + (let ((jemalloc (assoc-ref inputs "jemalloc"))) + (setenv "JEMALLOC_OVERRIDE" + (string-append jemalloc "/lib/libjemalloc_pic.a"))) + #t))))) + (inputs + `(("jemalloc" ,(@ (gnu packages jemalloc) jemalloc)))) + (home-page "https://github.com/gnzlbg/jemallocator") + (synopsis + "A safe wrapper over jemalloc's control and introspection APIs") + (description + "This package provides a safe wrapper over jemalloc's control and introspection APIs") + (license #f))) + (define-public rust-jemalloc-sys (package (name "rust-jemalloc-sys") @@ -2914,22 +2981,34 @@ pseudorandom number generator") (origin (method url-fetch) (uri (crate-uri "jemalloc-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0ify9vlql01qhfxlj7d4p9jvcp90mj2h69nkbq7slccvbhzryfqd")))) + (base32 + "0ify9vlql01qhfxlj7d4p9jvcp90mj2h69nkbq7slccvbhzryfqd")) + ;(modules '((guix build utils))) + ;(snippet + ; '(begin + ; ;; unbundle jemalloc source + ; (delete-file-recursively "jemalloc") #t)) + )) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc) - ("rust-cc" ,rust-cc) - ("rust-fs-extra" ,rust-fs-extra)))) + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-cc" ,rust-cc) + ("rust-fs-extra" ,rust-fs-extra)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'override-jemalloc + (lambda* (#:key inputs #:allow-other-keys) + (let ((jemalloc (assoc-ref inputs "jemalloc"))) + (delete-file-recursively "jemalloc") + (setenv "JEMALLOC_OVERRIDE" + (string-append jemalloc "/lib/libjemalloc_pic.a"))) + #t))))) (inputs - `(("jemalloc" ,(@ (gnu packages jemalloc) jemalloc)) - ("rust-cc" ,rust-cc))) - (home-page - "https://github.com/gnzlbg/jemallocator") + `(("jemalloc" ,(@ (gnu packages jemalloc) jemalloc)))) + (home-page "https://github.com/gnzlbg/jemallocator") (synopsis "Rust FFI bindings to jemalloc") (description "Rust FFI bindings to jemalloc") (license (list license:asl2.0 @@ -2954,7 +3033,17 @@ pseudorandom number generator") (("rust-jemalloc-sys" ,rust-jemalloc-sys) ("rust-libc" ,rust-libc)) #:cargo-development-inputs - (("rust-paste" ,rust-paste)))) + (("rust-paste" ,rust-paste)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'override-jemalloc + (lambda* (#:key inputs #:allow-other-keys) + (let ((jemalloc (assoc-ref inputs "jemalloc"))) + (setenv "JEMALLOC_OVERRIDE" + (string-append jemalloc "/lib/libjemalloc_pic.a"))) + #t))))) + (inputs + `(("jemalloc" ,(@ (gnu packages jemalloc) jemalloc)))) (home-page "https://github.com/gnzlbg/jemallocator") (synopsis "A Rust allocator backed by jemalloc") (description @@ -3084,8 +3173,14 @@ pseudorandom number generator") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc")))) + (base32 + "0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc")) + ;(modules '((guix build utils))) + ;(snippet + ; '(begin + ; ;; unbundle jemalloc source + ; (delete-file-recursively "libgit2") #t)) + )) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -3095,9 +3190,22 @@ pseudorandom number generator") ("rust-openssl-sys" ,rust-openssl-sys)) #:cargo-development-inputs (("rust-cc" ,rust-cc) - ("rust-pkg-config" ,rust-pkg-config)))) - ;(inputs - ; `(("libgit" ,(@ (gnu packages version-control) libgit2)))) + ("rust-pkg-config" ,rust-pkg-config)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + (delete-file-recursively "libgit2") + (setenv "LIBGIT2_SYS_USE_PKG_CONFIG" "1") + (setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1") + #t))))) + (inputs + `(("libgit" ,(@ (gnu packages version-control) libgit2)) + ("openssl" ,(@ (gnu packages tls) openssl)) + ("pkg-config" ,(@ (gnu packages pkg-config) pkg-config)) + ("zlib" ,(@ (gnu packages compression) zlib)))) (home-page "https://github.com/rust-lang/git2-rs") (synopsis @@ -3144,8 +3252,14 @@ pseudorandom number generator") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "17dz3xxy5bc73sr52maa6wdqmw1a0ymznrgfzlxid2rng101yshj")))) + (base32 + "17dz3xxy5bc73sr52maa6wdqmw1a0ymznrgfzlxid2rng101yshj")) + ;(modules '((guix build utils))) + ;(snippet + ; '(begin + ; ;; unbundle jemalloc source + ; (delete-file-recursively "libssh2") #t)) + )) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -3155,9 +3269,21 @@ pseudorandom number generator") ("rust-vcpkg" ,rust-vcpkg)) #:cargo-development-inputs (("rust-cc" ,rust-cc) - ("rust-pkg-config" ,rust-pkg-config)))) - ;(inputs - ; `(("libssh2" ,(@ (gnu packages ssh) libssh2)))) + ("rust-pkg-config" ,rust-pkg-config)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + (delete-file-recursively "libssh2") + (setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1") + #t))))) + (inputs + `(("libssh2" ,(@ (gnu packages ssh) libssh2)) + ("openssl" ,(@ (gnu packages tls) openssl)) + ("pkg-config" ,(@ (gnu packages pkg-config) pkg-config)) + ("zlib" ,(@ (gnu packages compression) zlib)))) (home-page "https://github.com/alexcrichton/ssh2-rs") (synopsis @@ -3167,7 +3293,6 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) -;; TODO: Unbundle zlib (define-public rust-libz-sys (package (name "rust-libz-sys") @@ -3179,7 +3304,13 @@ pseudorandom number generator") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1gjycyl2283525abks98bhxa4r259m617xfm5z52p3p3c8ry9d9f")))) + "1gjycyl2283525abks98bhxa4r259m617xfm5z52p3p3c8ry9d9f")) + ;(modules '((guix build utils))) + ;(snippet + ; '(begin + ; ;; unbundle jemalloc source + ; (delete-file-recursively "src/zlib") #t)) + )) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -3187,7 +3318,16 @@ pseudorandom number generator") #:cargo-development-inputs (("rust-cc" ,rust-cc) ("rust-pkg-config" ,rust-pkg-config) - ("rust-vcpkg" ,rust-vcpkg)))) + ("rust-vcpkg" ,rust-vcpkg)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'delete-vendored-zlib + (lambda _ + (delete-file-recursively "src/zlib") + #t))))) + (inputs + `(("pkg-config" ,(@ (gnu packages pkg-config) pkg-config)) + ("zlib" ,(@ (gnu packages compression) zlib)))) (home-page "https://github.com/alexcrichton/libz-sys") (synopsis "Bindings to the system libz library (also known as zlib).") (description @@ -3646,7 +3786,16 @@ implementation (which is unstable / requires nightly).") ("rust-openssl-sys" ,rust-openssl-sys)) #:cargo-development-inputs (("rust-hex" ,rust-hex) - ("rust-tempdir" ,rust-tempdir)))) + ("rust-tempdir" ,rust-tempdir)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + #t))))) + (inputs + `(("openssl" ,(@ (gnu packages tls) openssl)))) (home-page "https://github.com/sfackler/rust-openssl") (synopsis "OpenSSL bindings") @@ -3693,14 +3842,25 @@ implementation (which is unstable / requires nightly).") "1f05kxx8mai9ac16x1lk0404bymghbbj7vcbqrfwqfr52w131fmm")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc)) - #:cargo-development-inputs - (("rust-autocfg" ,rust-autocfg) - ("rust-cc" ,rust-cc) - ("rust-openssl-src" ,rust-openssl-src) - ("rust-pkg-config" ,rust-pkg-config) - ("rust-vcpkg" ,rust-vcpkg)))) + `(#:cargo-inputs + (("rust-autocfg" ,rust-autocfg) + ("rust-libc" ,rust-libc)) + #:cargo-development-inputs + (("rust-autocfg" ,rust-autocfg) + ("rust-cc" ,rust-cc) + ("rust-openssl-src" ,rust-openssl-src) + ("rust-pkg-config" ,rust-pkg-config) + ("rust-vcpkg" ,rust-vcpkg)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + #t))))) + (inputs + `(("openssl" ,(@ (gnu packages tls) openssl)) + ("pkg-config" ,(@ (gnu packages pkg-config) pkg-config)))) (home-page "https://github.com/sfackler/rust-openssl") (synopsis "FFI bindings to OpenSSL") -- cgit v1.2.3 From d7aeb9658caefed71d901acbdd09cd3774ea4fbc Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 15 Aug 2019 06:21:37 -0500 Subject: gn: hyphy: Update to 2.5.0. * gn/packages/hyphy.scm (hyphy): Update to 2.5.0. [source]: Download using 'git-fetch'. [inputs]: Add curl, openssl. [arguments]: Add test-target. --- gn/packages/hyphy.scm | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'gn') diff --git a/gn/packages/hyphy.scm b/gn/packages/hyphy.scm index 1a34c98..d0e9127 100644 --- a/gn/packages/hyphy.scm +++ b/gn/packages/hyphy.scm @@ -19,36 +19,43 @@ (define-module (gn packages hyphy) #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module (guix packages) #:use-module (gnu packages algebra) + #:use-module (gnu packages curl) #:use-module (gnu packages mpi) - #:use-module (gnu packages python)) + #:use-module (gnu packages python) + #:use-module (gnu packages tls)) +;; TODO: Unbundle sqlite, gtest (define-public hyphy ; guix: check (package (name "hyphy") - (version "2.2.6") + (version "2.5.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/veg/hyphy/archive/" version - ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/veg/hyphy.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "00i3609nywb1xfq50p3kvfbvahql241ciq23jrf67z0yp4y5l5a9")))) + "1fvmwg2rxkz3abhhldiir69vmyc4i85vdvy64bizgxd0g2k2bikm")))) (inputs - `(("python" ,python-2) + `(("curl" ,curl) + ("fftw-openmpi" ,fftw-openmpi) ("openmpi" ,openmpi) - ("fftw-openmpi" ,fftw-openmpi))) + ("openssl" ,openssl) + ("python" ,python-2))) (build-system cmake-build-system) (arguments - '(#:make-flags '("MPI") + '(#:make-flags '("MPI") ; Add "GTEST" for tests, currently fails to compile. #:configure-flags (list "-DCMAKE_BUILD_TYPE=Release" (string-append "-DINSTALL_PREFIX=" (assoc-ref %outputs "out"))) - #:tests? #f)) + #:tests? #f + #:test-target "HYPHYGTEST")) (synopsis "hyphy: an open-source software package for the analysis of genetic sequences using techniques in phylogenetics, molecular evolution, and machine learning.") -- cgit v1.2.3 From dd3831e3c5c3c0f2437e3a6e7f96ced93e3379ab Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 20 Aug 2019 07:55:47 -0500 Subject: gn: Add custom edirect package --- gn/packages/bioinformatics.scm | 91 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 79 insertions(+), 12 deletions(-) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index b7db927..31be859 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -921,17 +921,84 @@ reads.") ;; non-profit/not-for-profit institutions (license license:non-copyleft))) -(define-public edirect-11 +(define-public edirect-gn (package (inherit edirect) - (name "edirect") - (version "11.8.20190730") - (source - (origin - (method url-fetch) - (uri (string-append "ftp://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect" - "/versions/" version - "/edirect-" version ".tar.gz")) - (sha256 - (base32 - "037sn5qmari98z5pmmrf9zx3il017nfp67p5hvq1pqzxhv6i29l3")))))) + (name "edirect-gn") + (arguments + (substitute-keyword-arguments (package-arguments edirect) + ((#:phases phases) + `(modify-phases ,phases + ; (replace 'build + ; (lambda* (#:key inputs #:allow-other-keys) + ; (let ((go (string-append (assoc-ref inputs "go") "/bin/go"))) + ; (invoke go "build" "xtract.go")))) + (add-after 'unpack 'patch-programs + (lambda* (#:key inputs #:allow-other-keys) + (let ((gzip (assoc-ref inputs "gzip"))) + (substitute* '("index-bioc" + "pm-index" + "pm-invert" + "pm-stash" + "rchive.go" + "run-ncbi-converter") + (("gunzip") (string-append gzip "/bin/gunzip"))) + (substitute* "efetch" + (("exec perl") "exec")) + (substitute* '("xtract" "rchive") + ;; or add current directory to PATH + ((".*PATH.*") ""))) + #t)) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") "/bin")) + (xtract.linux (assoc-ref inputs "xtract.Linux")) + (rchive.linux (assoc-ref inputs "rchive.Linux"))) + (for-each + (lambda (file) + (install-file file bin)) + '("edirect.pl" "archive-pubmed" "pm-prepare" "download-pubmed" + "pm-stash" "pm-refresh" "fetch-pubmed" "xtract" "has-asp" + "asp-ls" "asp-cp" "ftp-ls" "ftp-cp" "rchive" "efetch")) + (copy-file xtract.linux (string-append bin "/xtract.Linux")) + (copy-file rchive.linux (string-append bin "/rchive.Linux")) + (chmod (string-append bin "/xtract.Linux") #o555) + (chmod (string-append bin "/rchive.Linux") #o555)) + #t)) + (replace 'wrap-program + (lambda* (#:key outputs #:allow-other-keys) + ;; Make sure 'edirect.pl' finds all perl inputs at runtime. + (let ((out (assoc-ref outputs "out")) + (path (getenv "PERL5LIB"))) + (for-each + (lambda (file) + (wrap-program (string-append out "/bin/" file) + `("PERL5LIB" ":" prefix (,path)))) + '("edirect.pl" "asp-ls" "ftp-cp" "ftp-ls"))) + #t)))))) + (inputs + `(("gzip" ,gzip) + ,@(package-inputs edirect))) + (native-inputs + `( + ;("go" ,go) + ("xtract.Linux" + ,(origin + (method url-fetch) + (uri (string-append "ftp://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect/" + "versions/" (package-version edirect) "/xtract.Linux")) + (file-name (string-append "xtract.Linux-" (package-version edirect))) + (sha256 + (base32 + "0fx6arpn38spnwszmvkkpa3498qrrlglg2l9jw91icgqbyjjq9wq")))) + ("rchive.Linux" + ,(origin + (method url-fetch) + (uri (string-append "ftp://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect/" + "versions/" (package-version edirect) "/rchive.Linux")) + (file-name (string-append "rchive.Linux-" (package-version edirect))) + (sha256 + (base32 + "134y0zprplqlplc6qmcjb97411bxkwghmq3z0qjgh0dgdbzjq1w3")))))) + ;; Due to the precompiled binaries we download: + (supported-systems "x86_64-linux"))) -- cgit v1.2.3 From cb7c4cbfa8a1c83ad8cf230d951c0b7913126c1b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 21 Aug 2019 01:37:01 -0500 Subject: gn: edirect-gn: Install missing binary. * gn/packages/bioinformatics.scm (edirect-gn)[arguments]: Install missing 'efetch' binary. Sort installed files alphabetically. Substitute call to 'exec perl' for all potentially affected files. --- gn/packages/bioinformatics.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 31be859..26337d1 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -943,7 +943,7 @@ reads.") "rchive.go" "run-ncbi-converter") (("gunzip") (string-append gzip "/bin/gunzip"))) - (substitute* "efetch" + (substitute* (find-files "." "^e") (("exec perl") "exec")) (substitute* '("xtract" "rchive") ;; or add current directory to PATH @@ -957,9 +957,10 @@ reads.") (for-each (lambda (file) (install-file file bin)) - '("edirect.pl" "archive-pubmed" "pm-prepare" "download-pubmed" - "pm-stash" "pm-refresh" "fetch-pubmed" "xtract" "has-asp" - "asp-ls" "asp-cp" "ftp-ls" "ftp-cp" "rchive" "efetch")) + '("archive-pubmed" "asp-cp" "asp-ls" "download-pubmed" + "edirect.pl" "efetch" "epost" "fetch-pubmed" "ftp-cp" + "ftp-ls" "has-asp" "pm-prepare" "pm-refresh" "pm-stash" + "rchive" "xtract")) (copy-file xtract.linux (string-append bin "/xtract.Linux")) (copy-file rchive.linux (string-append bin "/rchive.Linux")) (chmod (string-append bin "/xtract.Linux") #o555) -- cgit v1.2.3 From ed2a695c3c491183bb61260ad9769aecd156795a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 21 Aug 2019 01:43:11 -0500 Subject: gn: edirect-gn: Add native-search-path. * gn/packages/bioinformatics.scm (edirect-gn)[native-search-paths]: New field. --- gn/packages/bioinformatics.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 26337d1..b0f5d26 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -1001,5 +1001,12 @@ reads.") (sha256 (base32 "134y0zprplqlplc6qmcjb97411bxkwghmq3z0qjgh0dgdbzjq1w3")))))) + (native-search-paths + ;; Ideally this should be set for LWP somewhere. + (list (search-path-specification + (variable "PERL_LWP_SSL_CA_FILE") + (file-type 'regular) + (separator #f) + (files '("/etc/ssl/certs/ca-certificates.crt"))))) ;; Due to the precompiled binaries we download: (supported-systems "x86_64-linux"))) -- cgit v1.2.3 From 9d0761ce5ea79fe050fa139a0b6213449cac41a2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 21 Aug 2019 02:28:23 -0500 Subject: gn: edirect-gn: Fix typo * gn/packages/bioinformatics.scm (edirect-gn)[supported-systems]: Replace atom with list. --- gn/packages/bioinformatics.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index b0f5d26..040373c 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -1009,4 +1009,4 @@ reads.") (separator #f) (files '("/etc/ssl/certs/ca-certificates.crt"))))) ;; Due to the precompiled binaries we download: - (supported-systems "x86_64-linux"))) + (supported-systems '("x86_64-linux")))) -- cgit v1.2.3 From 5315ff52dda035e5e969d992f4ee943ca884f4c8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 23 Aug 2019 05:12:54 -0500 Subject: gn: Update some crates --- gn/packages/crates-io.scm | 136 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 108 insertions(+), 28 deletions(-) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index 4da9217..4c7aed5 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -50,7 +50,7 @@ (define-public rust-afl (package (name "rust-afl") - (version "0.4.3") + (version "0.4.4") (source (origin (method url-fetch) @@ -58,7 +58,7 @@ (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0g2chc18ji7qxi0d03n2ai140qdcww958v5si6rcjnnhmri1vyfb")))) + "14k6hnwzqn7rrs0hs87vcfqj4334k9wff38d15378frlxpviaard")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -79,7 +79,7 @@ (define-public rust-aho-corasick (package (name "rust-aho-corasick") - (version "0.7.4") + (version "0.7.6") (source (origin (method url-fetch) @@ -87,7 +87,7 @@ (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "10p2yl9fz7a4zwc4kj4zpk0wcz64n4m5l0ng6zsa6zkxrcfamdrn")))) + "0b8dh20fhdc59dhhnfi89n2bi80a8zbagzd5c122hf1vv2amxysq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -95,7 +95,7 @@ #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment)))) (home-page "https://github.com/BurntSushi/aho-corasick") - (synopsis "Fast multiple substring searching.") + (synopsis "Fast multiple substring searching") (description "Fast multiple substring searching.") (license (list license:unlicense @@ -355,7 +355,7 @@ (define-public rust-backtrace (package (name "rust-backtrace") - (version "0.3.33") + (version "0.3.35") (source (origin (method url-fetch) @@ -364,7 +364,7 @@ (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1iiinw3c494lz8xb823ccl9zwifka9zsg44734wsd3xgr6dngyw8")))) + "0mfwbb6832rh1za304w8x37bvs9fjbybpmmz0iksqfzsaf108w8k")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -420,7 +420,7 @@ #:cargo-development-inputs (("rust-cc" ,rust-cc)))) (home-page - "https://github.com/alexcrichton/backtrace-rs") + "https://github.com/rust-lang/backtrace-rs") (synopsis "Bindings to the libbacktrace gcc library") (description @@ -473,7 +473,7 @@ (("rust-criterion" ,rust-criterion) ("rust-rand" ,rust-rand)))) (home-page - "https://github.com/alicemaz/rust-base64") + "https://github.com/marshallpierce/rust-base64") (synopsis "encodes and decodes base64 as bytes or utf8") (description @@ -503,7 +503,7 @@ #:cargo-development-inputs (("rust-serde-bytes" ,rust-serde-bytes) ("rust-serde-derive" ,rust-serde-derive)))) - (home-page "https://github.com/TyOverby/bincode") + (home-page "https://github.com/servo/bincode") (synopsis "A binary serialization / deserialization strategy that uses Serde for transforming structs into bytes and vice versa!") (description @@ -513,7 +513,7 @@ (define-public rust-bindgen (package (name "rust-bindgen") - (version "0.50.0") + (version "0.51.0") (source (origin (method url-fetch) @@ -522,7 +522,7 @@ (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1k4n1d002vrfn1mlpww3ib7f275yn4rpxfwkqpr9bym27zg17ab5")))) + "1l4sifn771v83q8wafyvmsrphjni8i8wvgdlddd09v35f3fhq9qq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -639,7 +639,7 @@ ("rust-quickcheck" ,rust-quickcheck)))) (home-page "https://github.com/fitzgen/bumpalo") (synopsis - "A fast bump allocation arena for Rust.") + "Fast bump allocation arena for Rust") (description "This package provides a fast bump allocation arena for Rust.") (license (list license:asl2.0 @@ -695,7 +695,7 @@ ("rust-serde" ,rust-serde)) #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test)))) - (home-page "https://github.com/carllerche/bytes") + (home-page "https://github.com/tokio-rs/bytes") (synopsis "Types and traits for working with bytes") (description @@ -723,7 +723,7 @@ ("rust-ppv-lite86" ,rust-ppv-lite86) ("rust-stream-cipher" ,rust-stream-cipher)) #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal)))) + (("rust-hex-literal" ,rust-hex-literal-0.1)))) (home-page "https://github.com/cryptocorrosion/cryptocorrosion") (synopsis "The ChaCha family of stream ciphers") @@ -856,7 +856,7 @@ ("rust-serde" ,rust-serde) ("rust-serde-derive" ,rust-serde-derive)))) (home-page - "http://github.com/sagiegurari/ci_info") + "https://github.com/sagiegurari/ci_info") (synopsis "Provides current CI environment information.") (description @@ -983,7 +983,7 @@ `(#:cargo-development-inputs (("rust-term" ,rust-term)))) (home-page - "https://github.com/rust-lang-nursery/rust-clippy") + "https://github.com/rust-lang/rust-clippy") (synopsis "A bunch of helpful lints to avoid common pitfalls in Rust.") (description @@ -1151,7 +1151,7 @@ (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test)))) (home-page - "https://github.com/rust-lang-nursery/stdsimd") + "https://github.com/rust-lang/stdarch") (synopsis "`core::arch` - Rust's core library architecture-specific intrinsics.") (description @@ -1778,7 +1778,7 @@ `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap)))) (home-page - "http://github.com/sagiegurari/envmnt") + "https://github.com/sagiegurari/envmnt") (synopsis "Environment variables utility functions.") (description @@ -2078,7 +2078,7 @@ pseudorandom number generator") ("rust-futures-sink-preview" ,rust-futures-sink-preview)))) (home-page - "https://rust-lang-nursery.github.io/futures-rs") + "https://rust-lang-nursery.github.io/futures-rs/") (synopsis "Channels for asynchronous communication using futures-rs.") (description @@ -2130,7 +2130,7 @@ pseudorandom number generator") ,rust-futures-util-preview) ("rust-num-cpus" ,rust-num-cpus)))) (home-page - "https://rust-lang-nursery.github.io/futures-rs") + "https://rust-lang-nursery.github.io/futures-rs/") (synopsis "Executors for asynchronous tasks based on the futures-rs library.") (description @@ -2151,7 +2151,7 @@ pseudorandom number generator") (base32 "0fhvwhdb8ywjjbfng0ra1r8yyc9yzpyxg9sv3spb3f7w0lk40bh8")))) (build-system cargo-build-system) - (home-page "https://rust-lang-nursery.github.io/futures-rs") + (home-page "https://rust-lang-nursery.github.io/futures-rs/") (synopsis "Async read and write traits for the futures library") (description "This crate provides the @code{AsyncRead} and @code{AsyncWrite} traits for the @code{futures-rs} library.") @@ -2181,7 +2181,7 @@ pseudorandom number generator") ("rust-quote" ,rust-quote) ("rust-syn" ,rust-syn)))) (home-page - "https://rust-lang-nursery.github.io/futures-rs") + "https://rust-lang-nursery.github.io/futures-rs/") (synopsis "The `select!` macro for waiting on multiple different `Future`s at once and handling the first one to complete.") (description @@ -2208,7 +2208,7 @@ pseudorandom number generator") (("rust-futures-core-preview" ,rust-futures-core-preview)))) (home-page - "https://rust-lang-nursery.github.io/futures-rs") + "https://rust-lang-nursery.github.io/futures-rs/") (synopsis "The asynchronous `Sink` trait for the futures-rs library.") (description @@ -2252,7 +2252,7 @@ pseudorandom number generator") ("rust-slab" ,rust-slab) ("rust-tokio-io" ,rust-tokio-io)))) (home-page - "https://rust-lang-nursery.github.io/futures-rs") + "https://rust-lang-nursery.github.io/futures-rs/") (synopsis "Common utilities and extension traits for the futures-rs library.") (description @@ -2310,7 +2310,7 @@ pseudorandom number generator") (("rust-bincode" ,rust-bincode) ("rust-serde-json" ,rust-serde-json)))) (home-page - "https://github.com/fizyk20/generic-array.git") + "https://github.com/fizyk20/generic-array") (synopsis "Generic types implementing functionality of arrays") (description @@ -2337,7 +2337,7 @@ pseudorandom number generator") #:cargo-development-inputs (("rust-log" ,rust-log)))) (home-page - "https://github.com/rust-lang/getopts") + "https://github.com/rust-lang-nursery/getopts") (synopsis "getopts-like option parsing.") (description "getopts-like option parsing.") (license (list license:asl2.0 @@ -2485,7 +2485,7 @@ pseudorandom number generator") (arguments `(#:cargo-development-inputs (("rust-tempdir" ,rust-tempdir)))) - (home-page "https://github.com/rust-lang/glob") + (home-page "https://github.com/rust-lang-nursery/glob") (synopsis "Support for matching file paths against Unix shell style patterns.") (description @@ -2613,6 +2613,24 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-hex-literal-0.1 + (package + (inherit rust-hex-literal) + (name "rust-hex-literal") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "hex-literal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ffnn5g9q5xhdmzj2ic5hk9y18kyqflbmqcssqcya9gixs5r5hnx")))) + (arguments + `(#:cargo-inputs + (("rust-hex-literal-impl" ,rust-hex-literal-impl-0.1) + ("rust-proc-macro-hack" ,rust-proc-macro-hack)))))) + (define-public rust-hex-literal-impl (package (name "rust-hex-literal-impl") @@ -2638,6 +2656,23 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-hex-literal-impl-0.1 + (package + (inherit rust-hex-literal-impl) + (name "rust-hex-literal-impl") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "hex-literal-impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1nnxqhyn9l998ma04ip79bmpqv1as6003s03g26ynhrr471p022j")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4)))))) + (define-public rust-humantime (package (name "rust-humantime") @@ -4291,6 +4326,28 @@ invocations.") (license (list license:asl2.0 license:expat)))) +(define-public rust-proc-macro-hack-0.4 + (package + (inherit rust-proc-macro-hack) + (name "rust-proc-macro-hack") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "proc-macro-hack" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fxn3qfhw76c518dfal2qqjwj5dbf0a1f7z0r5c4wd0igygg4fs6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro-hack-impl" ,rust-proc-macro-hack-impl)) + #:cargo-development-inputs + (("rust-demo-hack" ,rust-demo-hack) + ("rust-demo-hack-impl" ,rust-demo-hack-impl)))))) + (define-public rust-pulldown-cmark (package (name "rust-pulldown-cmark") @@ -7695,6 +7752,29 @@ winapi.") (license (list license:unlicense license:expat)))) +(define-public rust-xdg + (package + (name "rust-xdg") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "xdg" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh")))) + (build-system cargo-build-system) + (home-page + "https://github.com/whitequark/rust-xdg") + (synopsis + "A library for storing and retrieving files according to XDG Base Directory specification") + (description + "This package provides a library for storing and retrieving files according to XDG Base Directory specification") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-yaml-rust (package (name "rust-yaml-rust") -- cgit v1.2.3 From 9c8482386107d551b3823f3e4af1fb8c67b706fa Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 25 Aug 2019 02:48:45 -0500 Subject: gn: remove some upstreamed crates --- gn/packages/crates-io.scm | 78 ----------------------------------------------- 1 file changed, 78 deletions(-) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index 4c7aed5..c7a0136 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -3171,32 +3171,6 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) -(define-public rust-libc - (package - (name "rust-libc") - (version "0.2.60") - (source - (origin - (method url-fetch) - (uri (crate-uri "libc" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1sxmlcyb39v8awlq5ndaiiq2vja3mc4vf97nxz3qjy007xiq0knl")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-rustc-std-workspace-core" - ,rust-rustc-std-workspace-core)))) - (home-page "https://github.com/rust-lang/libc") - (synopsis - "Raw FFI bindings to platform libraries like libc.") - (description - "Raw FFI bindings to platform libraries like libc.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-libgit2-sys (package (name "rust-libgit2-sys") @@ -3716,32 +3690,6 @@ implementation (which is unstable / requires nightly).") (license (list license:asl2.0 license:expat)))) -(define-public rust-num-integer - (package - (name "rust-num-integer") - (version "0.1.41") - (source - (origin - (method url-fetch) - (uri (crate-uri "num-integer" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "02dwjjpfbi16c71fq689s4sw3ih52cvfzr5z5gs6qpr5z0g58pmq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-num-traits" ,rust-num-traits)) - #:cargo-development-inputs - (("rust-autocfg" ,rust-autocfg)))) - (home-page - "https://github.com/rust-num/num-integer") - (synopsis "Integer traits and functions") - (description "Integer traits and functions") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-num-iter (package (name "rust-num-iter") @@ -3771,32 +3719,6 @@ implementation (which is unstable / requires nightly).") (license (list license:asl2.0 license:expat)))) -(define-public rust-num-traits - (package - (name "rust-num-traits") - (version "0.2.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "num-traits" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0clvrm34rrqc8p6gq5ps5fcgws3kgq5knh7nlqxf2ayarwks9abb")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-autocfg" ,rust-autocfg)))) - (home-page - "https://github.com/rust-num/num-traits") - (synopsis - "Numeric traits for generic mathematics") - (description - "Numeric traits for generic mathematics") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-openssl (package (name "rust-openssl") -- cgit v1.2.3 From 23919f27753db2c2258f4fed035be70e502428ff Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 26 Aug 2019 04:37:44 -0500 Subject: gn: rust-qtlreaper: Update to 0.1.4. * gn/packages/genenetwork.scm (rust-qtlreaper): Update to 0.1.4. [arguments]: Add rust-ndarray to cargo-inputs. * gn/packages/crates-io.scm: Add many new crates. --- gn/packages/crates-io.scm | 8282 ++++++++++++++++++++++++++++++++----------- gn/packages/genenetwork.scm | 9 +- 2 files changed, 6302 insertions(+), 1989 deletions(-) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index c7a0136..098e279 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -9,6 +9,32 @@ ;; Please keep these packages sorted alphabetically +(define-public rust-accelerate-src + (package + (name "rust-accelerate-src") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "accelerate-src" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17fiqyq7f9k41pbsyrvk9pxyx9z6fw399wq036cvwkbmb14xcpj1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-libc" ,rust-libc)))) + (home-page + "https://github.com/blas-lapack-rs/accelerate-src") + (synopsis + "The package provides a source of BLAS and LAPACK via the Accelerate framework.") + (description + "The package provides a source of BLAS and LAPACK via the Accelerate framework.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-addr2line (package (name "rust-addr2line") @@ -47,6 +73,30 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-adler32 + (package + (name "rust-adler32") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "adler32" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0p7fxlnks9l7p7rwfqi7aqgnk2bps5zc0rjiw00mdw19nnbjjlky")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.4)))) + (home-page "https://github.com/remram44/adler32-rs") + (synopsis + "It is an implementation of the Adler32 rolling hash algorithm in the Rust programming language.") + (description + "It is an implementation of the Adler32 rolling hash algorithm in the Rust programming language.") + (license (list license:bsd-3 + license:zlib)))) + (define-public rust-afl (package (name "rust-afl") @@ -101,6 +151,31 @@ (license (list license:unlicense license:expat)))) +(define-public rust-aho-corasick-0.6 + (package + (inherit rust-aho-corasick) + (name "rust-aho-corasick") + (version "0.6.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "aho-corasick" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19f8v503ibvlyr824g5ynicrh1lsmp2i0zmpszr8lqay0qw3vkl1")))) + (arguments + `(#:cargo-inputs + (("rust-memchr" ,rust-memchr)) + #:cargo-development-inputs + (("rust-csv" ,rust-csv) + ("rust-docopt" ,rust-docopt) + ("rust-memmap" ,rust-memmap) + ("rust-quickcheck" ,rust-quickcheck) + ("rust-rand" ,rust-rand-0.5) + ("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive)))))) + (define-public rust-ansi-term (package (name "rust-ansi-term") @@ -147,6 +222,27 @@ `(#:cargo-inputs (("rust-winapi" ,rust-winapi)))))) +(define-public rust-antidote + (package + (name "rust-antidote") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "antidote" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19g2sw2qa2ibnh4x7j1snk46593jgx6y7rnvva496ynq61af5z9l")))) + (build-system cargo-build-system) + (home-page "https://github.com/sfackler/rust-antidote") + (synopsis + "Poison-free versions of the Rust standard library Mutex and RwLock types.") + (description + "Poison-free versions of the Rust standard library Mutex and RwLock types.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-arrayvec (package (name "rust-arrayvec") @@ -591,6 +687,48 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-blas-src + (package + (name "rust-blas-src") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "blas-src" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cxln7bgwxbknaf3qbv4hscy9k53msax14x0szvvp680km3z9zs6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-accelerate-src" ,rust-accelerate-src) + ("rust-intel-mkl-src" ,rust-intel-mkl-src) + ("rust-netlib-src" ,rust-netlib-src) + ("rust-openblas-src" ,rust-openblas-src)))) + (home-page + "https://github.com/blas-lapack-rs/blas-src") + (synopsis + "The package provides a BLAS source of choice.") + (description + "The package provides a BLAS source of choice.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-blas-src-0.2 + (package + (inherit rust-blas-src) + (name "rust-blas-src") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "blas-src" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0l9c1gjhld3ajalak1ipklxfjvwqyy3l7xl019spdbqlrk8r9f57")))))) + (define-public rust-blobby (package (name "rust-blobby") @@ -619,6 +757,34 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-bodyparser + (package + (name "rust-bodyparser") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bodyparser" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0c1gynj9l7wv3mjrzr5jifmy0pjdwachfqz09aygdmmab3xan8zh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-iron" ,rust-iron) + ("rust-persistent" ,rust-persistent) + ("rust-plugin" ,rust-plugin) + ("rust-serde" ,rust-serde) + ("rust-serde-json" ,rust-serde-json)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive)))) + (home-page "https://github.com/iron/body-parser") + (synopsis "Body parsing middleware for Iron.") + (description "Body parsing middleware for Iron.") + (license license:expat))) + (define-public rust-bumpalo (package (name "rust-bumpalo") @@ -732,6 +898,31 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-cblas-sys + (package + (name "rust-cblas-sys") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "cblas-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0rgsn3klhhh09d8qf3b87zl4rwk93l2g0qzh9hhb0lff5kcfrzmn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc)))) + (home-page + "https://github.com/blas-lapack-rs/cblas-sys") + (synopsis + "The package provides bindings to CBLAS (C).") + (description + "The package provides bindings to CBLAS (C).") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-cc (package (name "rust-cc") @@ -1132,6 +1323,70 @@ "This crate provides a number of conversion traits with more specific semantics than those provided by 'as' or 'From'/'Into'.") (license license:expat))) +(define-public rust-cookie + (package + (name "rust-cookie") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mdvqixahcywvqp0y8k2skkgbpfhsp0w73l9mz93dcrx1gq091l8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-time" ,rust-time) + ("rust-base64" ,rust-base64) + ("rust-ring" ,rust-ring) + ("rust-url" ,rust-url)))) + (home-page + "https://github.com/alexcrichton/cookie-rs") + (synopsis "Crate for parsing HTTP cookie headers and managing a cookie jar. Supports signed and private (encrypted + signed) jars.") + (description "Crate for parsing HTTP cookie headers and managing a cookie jar. Supports signed and private (encrypted + signed) jars.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-cookie-store + (package + (name "rust-cookie-store") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie_store" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0204vzqszkjs5j4bqf8rrzrjj9c6f1zdydsid8ndkc7h7bx1v90l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cookie" ,rust-cookie) + ("rust-idna" ,rust-idna) + ("rust-log" ,rust-log) + ("rust-publicsuffix" ,rust-publicsuffix) + ("rust-serde" ,rust-serde) + ("rust-serde-json" ,rust-serde-json) + ("rust-time" ,rust-time) + ("rust-try-from" ,rust-try-from) + ("rust-url" ,rust-url)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger) + ("rust-pretty-assertions" ,rust-pretty-assertions)))) + (home-page + "https://github.com/pfernie/cookie_store") + (synopsis + "Implementation of Cookie storage and retrieval per [RFC6265](http://tools.ietf.org/html/rfc6265)") + (description + "Implementation of Cookie storage and retrieval per [RFC6265](http://tools.ietf.org/html/rfc6265)") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-core-arch (package (name "rust-core-arch") @@ -1159,6 +1414,56 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-core-foundation + (package + (name "rust-core-foundation") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-foundation" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0va97wf49c8dzm9c8pgyk1jn7z21rl0bj1syf2zz5m2z2hzy1f95")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-chrono" ,rust-chrono) + ("rust-core-foundation-sys" + ,rust-core-foundation-sys) + ("rust-libc" ,rust-libc) + ("rust-uuid" ,rust-uuid)))) + (home-page + "https://github.com/servo/core-foundation-rs") + (synopsis + "Bindings to Core Foundation for macOS") + (description + "Bindings to Core Foundation for macOS") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-core-foundation-sys + (package + (name "rust-core-foundation-sys") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-foundation-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7")))) + (build-system cargo-build-system) + (home-page "https://github.com/servo/core-foundation-rs") + (synopsis "Bindings to Core Foundation for OS X") + (description + "Bindings to Core Foundation for OS X") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-cpp-demangle (package (name "rust-cpp-demangle") @@ -1167,11 +1472,10 @@ (origin (method url-fetch) (uri (crate-uri "cpp_demangle" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0a4hqsfc0sfdwy7pcr0rc1fjp2j47fxbkqfc2lfrbi4zlm5hq36k")))) + (base32 + "0a4hqsfc0sfdwy7pcr0rc1fjp2j47fxbkqfc2lfrbi4zlm5hq36k")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -1221,6 +1525,34 @@ "Library for retrieving and interacting with the crates.io index") (license license:asl2.0))) +(define-public rust-crc32fast + (package + (name "rust-crc32fast") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crc32fast" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1c9dhkvf3brrzzplcijaywxi2w8wv5578i0ryhcm7x8dmzi5s4ms")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher) + ("rust-quickcheck" ,rust-quickcheck-0.6) + ("rust-rand" ,rust-rand-0.4)))) + (home-page "https://github.com/srijs/rust-crc32fast") + (synopsis + "Fast, SIMD-accelerated CRC32 (IEEE) checksum computation") + (description + "Fast, SIMD-accelerated CRC32 (IEEE) checksum computation") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-criterion (package (name "rust-criterion") @@ -1270,6 +1602,38 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-crossbeam + (package + (name "rust-crossbeam") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "crossbeam" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0g5jysq5x4gndc1v5sq9n3f1m97k7qihwdpigw6ar6knj14qm09d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if) + ("rust-crossbeam-channel" + ,rust-crossbeam-channel) + ("rust-crossbeam-deque" ,rust-crossbeam-deque) + ("rust-crossbeam-epoch" ,rust-crossbeam-epoch) + ("rust-crossbeam-queue" ,rust-crossbeam-queue) + ("rust-crossbeam-utils" ,rust-crossbeam-utils)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.6)))) + (home-page + "https://github.com/crossbeam-rs/crossbeam") + (synopsis "Tools for concurrent programming") + (description "Tools for concurrent programming") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-crossbeam-deque (package (name "rust-crossbeam-deque") @@ -1467,32 +1831,142 @@ `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if)))))) -(define-public rust-custom-derive +(define-public rust-csv (package - (name "rust-custom-derive") - (version "0.1.7") + (name "rust-csv") + (version "1.1.1") (source (origin (method url-fetch) - (uri (crate-uri "custom_derive" version)) + (uri (crate-uri "csv" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1f81bavw1wnykwh21hh4yyzigs6zl6f6pkk9p3car8kq95yfb2pg")))) + "0zgq18xam24rbggm3ybmrygipa0mrr7rscf9r8hmi9vkzp6rql9p")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-rustc-serialize" ,rust-rustc-serialize)))) + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr) + ("rust-csv-core" ,rust-csv-core) + ("rust-itoa" ,rust-itoa) + ("rust-ryu" ,rust-ryu) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-serde" ,rust-serde)))) (home-page - "https://github.com/DanielKeep/rust-custom-derive/tree/custom_derive-master") + "https://github.com/BurntSushi/rust-csv") (synopsis - "(Note: superseded by `macro-attr`) This crate provides a macro that enables the use of custom derive attributes.") + "Fast CSV parsing with support for serde.") + (description + "Fast CSV parsing with support for serde.") + (license (list license:unlicense + license:expat)))) + +(define-public rust-ct-logs + (package + (name "rust-ct-logs") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ct-logs" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04wiwiv4ghni3x2vni3z711mlz0ndqvh04vmdkbw3nr7zbsqcdjd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-sct" ,rust-sct)))) + (home-page "https://github.com/ctz/ct-logs") + (synopsis + "Google's list of Certificate Transparency logs for use with sct crate") + (description + "Google's list of Certificate Transparency logs for use with sct crate") + (license (list license:asl2.0 + license:isc + license:expat)))) + +(define-public rust-custom-derive + (package + (name "rust-custom-derive") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "custom_derive" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1f81bavw1wnykwh21hh4yyzigs6zl6f6pkk9p3car8kq95yfb2pg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-rustc-serialize" ,rust-rustc-serialize)))) + (home-page + "https://github.com/DanielKeep/rust-custom-derive/tree/custom_derive-master") + (synopsis + "(Note: superseded by `macro-attr`) This crate provides a macro that enables the use of custom derive attributes.") (description "(Note: superseded by `macro-attr`) This crate provides a macro that enables the use of custom derive attributes.") (license (list license:asl2.0 license:expat)))) +(define-public rust-data-encoding + (package + (name "rust-data-encoding") + (version "2.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "data-encoding" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15xd6afhsjl08285piwczrafmckpp8i29padj8v12xhahshprx7l")))) + (build-system cargo-build-system) + (home-page "https://github.com/ia0/data-encoding") + (synopsis + "This library provides the following common encodings") + (description + "This library provides the following common encodings") + (license license:expat))) + +(define-public rust-defmac + (package + (name "rust-defmac") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "defmac" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "01ff3jdmcc5waffkwllndnx5hsn414r7x1rq4ib73n7awsyzxkxv")))) + (build-system cargo-build-system) + (home-page "https://github.com/bluss/defmac") + (synopsis "A macro to define lambda-like macros inline.") + (description "A macro to define lambda-like macros inline.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-defmac-0.1 + (package + (inherit rust-defmac) + (name "rust-defmac") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "defmac" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17giv0n0n1r64z0dahfvkjy3ys517jxyhs8sd9lmgvcljpjyryxa")))))) + (define-public rust-demo-hack (package (name "rust-demo-hack") @@ -1730,6 +2204,61 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-encoding-rs + (package + (name "rust-encoding-rs") + (version "0.8.17") + (source + (origin + (method url-fetch) + (uri (crate-uri "encoding_rs" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1v902qqnbd37vdq4rjvp6k05wmghrasfdcjy30gp1xpjg5f7hma1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if) + ("rust-packed-simd" ,rust-packed-simd) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode) + ("rust-serde-derive" ,rust-serde-derive) + ("rust-serde-json" ,rust-serde-json)))) + (home-page "https://docs.rs/encoding_rs/") + (synopsis + "A Gecko-oriented implementation of the Encoding Standard") + (description + "This package provides a Gecko-oriented implementation of the Encoding Standard") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-enum-as-inner + (package + (name "rust-enum-as-inner") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-as-inner" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0zg3h7k3g1z7a9ayqy63sk302d4dg5g2h274ddv80mj4jxn2cn1x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn)))) + (home-page "https://github.com/bluejekyll/enum-as-inner") + (synopsis "A deriving proc-macro for generating functions to automatically give access to the inner members of enum.") + (description "A deriving proc-macro for generating functions to automatically give access to the inner members of enum.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-env-logger (package (name "rust-env-logger") @@ -1760,6 +2289,38 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-env-logger-0.5 + (package + (inherit rust-env-logger) + (name "rust-env-logger") + (version "0.5.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "env_logger" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0f0c4i4c65jh8lci0afl5yg74ac0lbnpxcp81chj114zwg9a9c0m")))))) + +(define-public rust-env-logger-0.4 + (package + (inherit rust-env-logger) + (name "rust-env-logger") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "env_logger" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nydz2lidsvx9gs0v2zcz68rzqx8in7fzmiprgsrhqh17vkj3prx")))) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log) + ("rust-regex" ,rust-regex-0.2)))))) + (define-public rust-envmnt (package (name "rust-envmnt") @@ -1899,6 +2460,37 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-filetime + (package + (name "rust-filetime") + (version "0.2.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "filetime" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0sflihq2l77xjrza7yjalnxsc7dxzg25rhzcfbd9vmyfah5kimvb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if) + ("rust-libc" ,rust-libc) + ("rust-redox-syscall" ,rust-redox-syscall) + ("rust-winapi" ,rust-winapi)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir)))) + (home-page + "https://github.com/alexcrichton/filetime") + (synopsis + "Platform-agnostic accessors of timestamps in File metadata") + (description + "Platform-agnostic accessors of timestamps in File metadata") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-findshlibs (package (name "rust-findshlibs") @@ -1926,95 +2518,282 @@ (license (list license:asl2.0 license:expat)))) -(define-public rust-float-ord +(define-public rust-fixedbitset (package - (name "rust-float-ord") - (version "0.2.0") + (name "rust-fixedbitset") + (version "0.1.9") (source (origin (method url-fetch) - (uri (crate-uri "float-ord" version)) + (uri (crate-uri "fixedbitset" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0kin50365sr3spnbscq43lksymybi99ai9rkqdw90m6vixhlibbv")))) + "0czam11mi80dbyhf4rd4lz0ihcf7vkfchrdcrn45wbs0h40dxm46")))) + (build-system cargo-build-system) + (home-page "https://github.com/bluss/fixedbitset") + (synopsis "FixedBitSet is a simple bitset collection") + (description "FixedBitSet is a simple bitset collection") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-flame + (package + (name "rust-flame") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "flame" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0c5bmhyimzxch3pmh0w3z9n57saasgix4bmbbksr9vp1c5j71hhz")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-rand" ,rust-rand)))) - (home-page - "https://github.com/notriddle/rust-float-ord") - (synopsis - "A total ordering for floating-point numbers") + `(#:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static) + ("rust-thread-id" ,rust-thread-id) + ("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive) + ("rust-serde-json" ,rust-serde-json)))) + (home-page "https://github.com/TyOverby/flame") + (synopsis "A cool flamegraph library for rust") (description - "This package provides a total ordering for floating-point numbers") + "Flamegraphs are a great way to view profiling information. At a glance, they give you information about how much time your program spends in critical sections of your code giving you some much-needed insight into where optimizations may be needed.") (license (list license:asl2.0 license:expat)))) -(define-public rust-fst +(define-public rust-flamer (package - (name "rust-fst") - (version "0.3.5") + (name "rust-flamer") + (version "0.4.0") (source (origin (method url-fetch) - (uri (crate-uri "fst" version)) + (uri (crate-uri "flamer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1avszq3fn4ix7p6wjfdkli6fjyxccks1qhzja92a6kpxakd35drn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-flame" ,rust-flame) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn)))) + (home-page "https://github.com/llogiq/flamer") + (synopsis "A proc macro to insert appropriate flame::start_guard(_) calls (for use with flame)") + (description + "A proc macro to insert appropriate flame::start_guard(_) calls (for use with flame)") + (license license:asl2.0))) + +(define-public rust-flate2 + (package + (name "rust-flate2") + (version "1.0.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "flate2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1mpby7wa5mkpgjiilam94a2l9mxx9wpgs3nw2nr1a0czzwsb8zwj")))) + "10j6bpgpipywmrsxxmp1q48qd9vp1c4fs64y2hv02r48cfxgznia")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder) - ("rust-memmap" ,rust-memmap)) + (("rust-crc32fast" ,rust-crc32fast) + ("rust-futures" ,rust-futures) + ("rust-libc" ,rust-libc) + ("rust-libz-sys" ,rust-libz-sys) + ("rust-miniz-sys" ,rust-miniz-sys) + ("rust-miniz-oxide" ,rust-miniz-oxide) + ("rust-miniz-oxide" ,rust-miniz-oxide) + ("rust-tokio-io" ,rust-tokio-io)) #:cargo-development-inputs - (("rust-fnv" ,rust-fnv) - ("rust-fst-levenshtein" ,rust-fst-levenshtein) - ("rust-fst-regex" ,rust-fst-regex) - ("rust-lazy-static" ,rust-lazy-static) + (("rust-futures" ,rust-futures) ("rust-quickcheck" ,rust-quickcheck) - ("rust-rand" ,rust-rand)))) - (home-page "https://github.com/BurntSushi/fst") + ("rust-rand" ,rust-rand) + ("rust-tokio-io" ,rust-tokio-io) + ("rust-tokio-tcp" ,rust-tokio-tcp) + ("rust-tokio-threadpool" ,rust-tokio-threadpool)))) + (home-page + "https://github.com/alexcrichton/flate2-rs") (synopsis - "Use finite state transducers to compactly represents sets or maps of many strings (> 1 billion is possible).") + "Bindings to miniz.c for DEFLATE compression and decompression exposed as + Reader/Writer streams. Contains bindings for zlib, deflate, and gzip-based + streams.") (description - "Use finite state transducers to compactly represents sets or maps of many strings (> 1 billion is possible). ") - (license (list license:unlicense + "Bindings to miniz.c for DEFLATE compression and decompression exposed as + Reader/Writer streams. Contains bindings for zlib, deflate, and gzip-based + streams.") + (license (list license:asl2.0 license:expat)))) -(define-public rust-fst-levenshtein +(define-public rust-float-ord (package - (name "rust-fst-levenshtein") - (version "0.2.1") + (name "rust-float-ord") + (version "0.2.0") (source (origin (method url-fetch) - (uri (crate-uri "fst-levenshtein" version)) + (uri (crate-uri "float-ord" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1s5ml10442bbnpmilmwjh4pfixsj6837rg68vjzg63i3djd4524y")))) + "0kin50365sr3spnbscq43lksymybi99ai9rkqdw90m6vixhlibbv")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-fst" ,rust-fst) - ("rust-utf8-ranges" ,rust-utf8-ranges)))) - (home-page "https://github.com/BurntSushi/fst") + `(#:cargo-development-inputs + (("rust-rand" ,rust-rand)))) + (home-page + "https://github.com/notriddle/rust-float-ord") (synopsis - "Search finite state transducers with fuzzy queries using Levenshtein automata.") + "A total ordering for floating-point numbers") (description - "Search finite state transducers with fuzzy queries using Levenshtein automata.") - (license (list license:unlicense + "This package provides a total ordering for floating-point numbers") + (license (list license:asl2.0 license:expat)))) -(define-public rust-fst-regex +(define-public rust-foreign-types (package - (name "rust-fst-regex") - (version "0.2.2") + (name "rust-foreign-types") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "foreign-types" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ca4i38yrf9iy5k47lr1ylb3rvcbn36d81k5pr5kzf6kmj6p111n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-foreign-types-macros" ,rust-foreign-types-macros) + ("rust-foreign-types-shared" ,rust-foreign-types-shared)))) + (home-page + "https://github.com/sfackler/foreign-types") + (synopsis + "A framework for Rust wrappers over C APIs.") + (description + "A framework for Rust wrappers over C APIs.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-foreign-types-macros + (package + (name "rust-foreign-types-macros") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "foreign-types-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16yjigjcsklcwy2ad32l24k1nwm9n3bsnyhxc3z9whjbsrj60qk6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn)))) + (home-page "https://github.com/sfackler/foreign-types") + (synopsis "An internal crate used by foreign-types") + (description + "An internal crate used by foreign-types.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-foreign-types-shared + (package + (name "rust-foreign-types-shared") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "foreign-types-shared" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0kanxlif1vp0ffh2r9l610jqbkmb3183yqykxq1z5w1vay2rn7y6")))) + (build-system cargo-build-system) + (home-page "https://github.com/sfackler/foreign-types") + (synopsis "An internal crate used by foreign-types") + (description + "An internal crate used by foreign-types.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-fst + (package + (name "rust-fst") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "fst" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mpby7wa5mkpgjiilam94a2l9mxx9wpgs3nw2nr1a0czzwsb8zwj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder) + ("rust-memmap" ,rust-memmap)) + #:cargo-development-inputs + (("rust-fnv" ,rust-fnv) + ("rust-fst-levenshtein" ,rust-fst-levenshtein) + ("rust-fst-regex" ,rust-fst-regex) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-quickcheck" ,rust-quickcheck) + ("rust-rand" ,rust-rand)))) + (home-page "https://github.com/BurntSushi/fst") + (synopsis + "Use finite state transducers to compactly represents sets or maps of many strings (> 1 billion is possible).") + (description + "Use finite state transducers to compactly represents sets or maps of many strings (> 1 billion is possible). ") + (license (list license:unlicense + license:expat)))) + +(define-public rust-fst-levenshtein + (package + (name "rust-fst-levenshtein") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "fst-levenshtein" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1s5ml10442bbnpmilmwjh4pfixsj6837rg68vjzg63i3djd4524y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-fst" ,rust-fst) + ("rust-utf8-ranges" ,rust-utf8-ranges)))) + (home-page "https://github.com/BurntSushi/fst") + (synopsis + "Search finite state transducers with fuzzy queries using Levenshtein automata.") + (description + "Search finite state transducers with fuzzy queries using Levenshtein automata.") + (license (list license:unlicense + license:expat)))) + +(define-public rust-fst-regex + (package + (name "rust-fst-regex") + (version "0.2.2") (source (origin (method url-fetch) @@ -2057,6 +2836,46 @@ pseudorandom number generator") (license license:bsd-3))) +(define-public rust-fuchsia-zircon + (package + (name "rust-fuchsia-zircon") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "fuchsia-zircon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10jxc5ks1x06gpd0xg51kcjrxr35nj6qhx2zlc5n7bmskv3675rf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags) + ("rust-fuchsia-zircon-sys" ,rust-fuchsia-zircon-sys)))) + (home-page "https://fuchsia.googlesource.com/garnet/") + (synopsis "Rust bindings for the Zircon kernel") + (description "Rust bindings for the Zircon kernel.") + (license license:bsd-3))) + +(define-public rust-fuchsia-zircon-sys + (package + (name "rust-fuchsia-zircon-sys") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "fuchsia-zircon-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19zp2085qsyq2bh1gvcxq1lb8w6v6jj9kbdkhpdjrl95fypakjix")))) + (build-system cargo-build-system) + (home-page "https://fuchsia.googlesource.com/garnet/") + (synopsis "Low-level Rust bindings for the Zircon kernel") + (description "Low-level Rust bindings for the Zircon kernel.") + (license license:bsd-3))) + (define-public rust-futures-channel-preview (package (name "rust-futures-channel-preview") @@ -2106,6 +2925,33 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-futures-cpupool + (package + (name "rust-futures-cpupool") + (version "0.1.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures-cpupool" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1r32456gpblzfvnkf60545v8acqk7gh5zhyhi1jn669k9gicv45b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures) + ("rust-num-cpus" ,rust-num-cpus)))) + (home-page + "https://github.com/alexcrichton/futures-rs") + (synopsis + "An implementation of thread pools which hand out futures to the results of the computation on the threads themselves.") + (description + "An implementation of thread pools which hand out futures to the results of the computation on the threads themselves.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-futures-executor-preview (package (name "rust-futures-executor-preview") @@ -2158,6 +3004,43 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-futures-preview + (package + (name "rust-futures-preview") + (version "0.3.0-alpha.18") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures-preview" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dg4qijba037xqykminifxpnjasabcjx9pwa3ww8wcmj9w6gka7g")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures-channel-preview" + ,rust-futures-channel-preview) + ("rust-futures-core-preview" + ,rust-futures-core-preview) + ("rust-futures-executor-preview" + ,rust-futures-executor-preview) + ("rust-futures-io-preview" + ,rust-futures-io-preview) + ("rust-futures-sink-preview" + ,rust-futures-sink-preview) + ("rust-futures-util-preview" + ,rust-futures-util-preview)))) + (home-page + "https://rust-lang-nursery.github.io/futures-rs") + (synopsis + "An implementation of futures and streams featuring zero allocations, composability, and iterator-like interfaces.") + (description + "An implementation of futures and streams featuring zero allocations, composability, and iterator-like interfaces.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-futures-select-macro-preview (package (name "rust-futures-select-macro-preview") @@ -2216,6 +3099,35 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-futures-timer + (package + (name "rust-futures-timer") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures-timer" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0l35r7nm8p43j0adkhybnwxzbjiqy0b00kgccjy3l513m9abb7lg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures-preview" ,rust-futures-preview) + ("rust-pin-utils" ,rust-pin-utils)) + #:cargo-development-inputs + (("rust-runtime" ,rust-runtime)))) + (home-page + "https://github.com/alexcrichton/futures-timer") + (synopsis + "Timeouts and intervals for futures.") + (description + "Timeouts and intervals for futures.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-futures-util-preview (package (name "rust-futures-util-preview") @@ -2537,6 +3449,52 @@ pseudorandom number generator") "An impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate") (license license:expat))) +(define-public rust-h2 + (package + (name "rust-h2") + (version "0.1.26") + (source + (origin + (method url-fetch) + (uri (crate-uri "h2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qn457y8xh03p7c7cpk76r22gqpyqxc58g5022j3iya7d0j4rcx5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder) + ("rust-bytes" ,rust-bytes) + ("rust-fnv" ,rust-fnv) + ("rust-futures" ,rust-futures) + ("rust-http" ,rust-http) + ("rust-indexmap" ,rust-indexmap) + ("rust-log" ,rust-log) + ("rust-slab" ,rust-slab) + ("rust-string" ,rust-string) + ("rust-tokio-io" ,rust-tokio-io)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger) + ("rust-hex" ,rust-hex) + ("rust-quickcheck" ,rust-quickcheck) + ("rust-rand" ,rust-rand) + ("rust-rustls" ,rust-rustls) + ("rust-serde" ,rust-serde) + ("rust-serde-json" ,rust-serde-json) + ("rust-tokio" ,rust-tokio) + ("rust-tokio-rustls" ,rust-tokio-rustls) + ("rust-walkdir" ,rust-walkdir) + ("rust-webpki" ,rust-webpki) + ("rust-webpki-roots" ,rust-webpki-roots)))) + (home-page "https://github.com/hyperium/h2") + (synopsis + "A Tokio aware, HTTP/2.0 client & server implementation for Rust.") + (description + "A Tokio aware, HTTP/2.0 client & server implementation for Rust.") + (license license:expat))) + (define-public rust-heapsize (package (name "rust-heapsize") @@ -2561,6 +3519,29 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-heapsize-plugin + (package + (name "rust-heapsize-plugin") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "heapsize_plugin" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1i72isf699q9jl167g2kg4xd6h3cd05rc79zaph58aqjy0g0m9y9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-heapsize" ,rust-heapsize)))) + (home-page "https://github.com/servo/heapsize") + (synopsis + "Automatically generating infrastructure for measuring the total runtime size of an object on the heap") + (description + "Automatically generating infrastructure for measuring the total runtime size of an object on the heap") + (license license:mpl2.0))) + (define-public rust-heck (package (name "rust-heck") @@ -2673,28 +3654,143 @@ pseudorandom number generator") `(#:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4)))))) -(define-public rust-humantime +(define-public rust-hostname (package - (name "rust-humantime") - (version "1.2.0") + (name "rust-hostname") + (version "0.1.5") (source (origin (method url-fetch) - (uri (crate-uri "humantime" version)) + (uri (crate-uri "hostname" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "057ilhy6vc9iqhhby5ymh45m051pgxwq2z437gwkbnqhw7rfb9rw")))) + "0kprf862qaa7lwdms6aw7f3275h0j2rwhs9nz5784pm8hdmb9ki1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-quick-error" ,rust-quick-error)) - #:cargo-development-inputs - (("rust-chrono" ,rust-chrono) - ("rust-rand" ,rust-rand-0.4) - ("rust-time" ,rust-time)))) - (home-page + (("rust-libc" ,rust-libc) + ("rust-winutil" ,rust-winutil)))) + (home-page "https://github.com/fengcen/hostname") + (synopsis + "Get hostname. Compatible with windows and linux, redox.") + (description + "Get hostname. Compatible with windows and linux, redox.") + (license license:expat))) + +(define-public rust-http + (package + (name "rust-http") + (version "0.1.18") + (source + (origin + (method url-fetch) + (uri (crate-uri "http" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1r5nlliz3340dqn1fanr4f13lxfqiwp9r1mhgw8lkr1rz5bcnarp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes) + ("rust-fnv" ,rust-fnv) + ("rust-itoa" ,rust-itoa)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment) + ("rust-indexmap" ,rust-indexmap) + ("rust-quickcheck" ,rust-quickcheck) + ("rust-rand" ,rust-rand-0.4) + ("rust-seahash" ,rust-seahash) + ("rust-serde" ,rust-serde) + ("rust-serde-json" ,rust-serde-json)))) + (home-page + "https://github.com/hyperium/http") + (synopsis + "A general purpose library of common HTTP types") + (description + "A general purpose library of common HTTP types") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-http-body + (package + (name "rust-http-body") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "http-body" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0b99404k4mw6a92hvyr0qwzkqv4f866ykg0x7913limjq5cwhhb7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes) + ("rust-futures" ,rust-futures) + ("rust-http" ,rust-http) + ("rust-tokio-buf" ,rust-tokio-buf)))) + (home-page + "https://github.com/hyperium/http-body") + (synopsis + "Trait representing an asynchronous, streaming, HTTP request or response body.") + (description + "Trait representing an asynchronous, streaming, HTTP request or response body.") + (license license:expat))) + +(define-public rust-httparse + (package + (name "rust-httparse") + (version "1.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "httparse" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1yf23ldnjwfkkhkca7f4w15mky9961gjz28dlwyybhphc7l9l5yd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-pico-sys" ,rust-pico-sys)))) + (home-page + "https://github.com/seanmonstar/httparse") + (synopsis + "A push parser for the HTTP 1.x protocol.") + (description + "A push parser for the HTTP 1.x protocol.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-humantime + (package + (name "rust-humantime") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "humantime" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "057ilhy6vc9iqhhby5ymh45m051pgxwq2z437gwkbnqhw7rfb9rw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-quick-error" ,rust-quick-error)) + #:cargo-development-inputs + (("rust-chrono" ,rust-chrono) + ("rust-rand" ,rust-rand-0.4) + ("rust-time" ,rust-time)))) + (home-page "https://github.com/tailhook/humantime") (synopsis "A parser and formatter for std::time::{Duration, SystemTime}") @@ -2703,6 +3799,186 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-hyper + (package + (name "rust-hyper") + (version "0.12.33") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "13rc9js5n8b338lwif94v6mfni5cjjvxf2jcdsrlzvnqx6y4rd3w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes) + ("rust-futures" ,rust-futures) + ("rust-futures-cpupool" ,rust-futures-cpupool) + ("rust-h2" ,rust-h2) + ("rust-http" ,rust-http) + ("rust-http-body" ,rust-http-body) + ("rust-httparse" ,rust-httparse) + ("rust-iovec" ,rust-iovec) + ("rust-itoa" ,rust-itoa) + ("rust-log" ,rust-log) + ("rust-net2" ,rust-net2) + ("rust-time" ,rust-time) + ("rust-tokio" ,rust-tokio) + ("rust-tokio-buf" ,rust-tokio-buf) + ("rust-tokio-executor" ,rust-tokio-executor) + ("rust-tokio-io" ,rust-tokio-io) + ("rust-tokio-reactor" ,rust-tokio-reactor) + ("rust-tokio-tcp" ,rust-tokio-tcp) + ("rust-tokio-threadpool" ,rust-tokio-threadpool) + ("rust-tokio-timer" ,rust-tokio-timer) + ("rust-want" ,rust-want)) + #:cargo-development-inputs + (("rust-futures-timer" ,rust-futures-timer) + ("rust-num-cpus" ,rust-num-cpus) + ("rust-pretty-env-logger" + ,rust-pretty-env-logger) + ("rust-rustc-version" ,rust-rustc-version) + ("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive) + ("rust-serde-json" ,rust-serde-json) + ("rust-spmc" ,rust-spmc) + ("rust-tokio-fs" ,rust-tokio-fs) + ("rust-tokio-mockstream" ,rust-tokio-mockstream) + ("rust-url" ,rust-url)))) + (home-page "https://hyper.rs") + (synopsis "A fast and correct HTTP library.") + (description + "This package provides a fast and correct HTTP library.") + (license license:expat))) + +(define-public rust-hyper-old-types + (package + (name "rust-hyper-old-types") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-old-types" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1i69sks0bwamzqdbx8ffgkssxffv6crdmwjgl47nr5pkxi8vx5k8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64) + ("rust-bytes" ,rust-bytes) + ("rust-http" ,rust-http) + ("rust-httparse" ,rust-httparse) + ("rust-language-tags" ,rust-language-tags) + ("rust-log" ,rust-log) + ("rust-mime" ,rust-mime) + ("rust-percent-encoding" ,rust-percent-encoding) + ("rust-time" ,rust-time) + ("rust-unicase" ,rust-unicase)))) + (home-page "https://hyper.rs") + (synopsis "HTTP types from hyper 0.11.x") + (description "HTTP types from hyper 0.11.x") + (license license:expat))) + +(define-public rust-hyper-native-tls + (package + (name "rust-hyper-native-tls") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-native-tls" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0s30y20qy0akzss91yxsq1x1q7rr04jy33i0cq72nx22yjc5advd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-antidote" ,rust-antidote) + ("rust-hyper" ,rust-hyper) + ("rust-native-tls" ,rust-native-tls)))) + (home-page "https://github.com/sfackler/hyper-native-tls") + (synopsis "native-tls support for Hyper 0.10.") + (description "native-tls support for Hyper 0.10.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-hyper-rustls + (package + (name "rust-hyper-rustls") + (version "0.17.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-rustls" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0li9xkzmqd40dbjbl9g0nbf2ka9y0q538ififyd30zsavz3qb7bi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes) + ("rust-ct-logs" ,rust-ct-logs) + ("rust-futures" ,rust-futures) + ("rust-hyper" ,rust-hyper) + ("rust-rustls" ,rust-rustls) + ("rust-tokio-io" ,rust-tokio-io) + ("rust-tokio-rustls" ,rust-tokio-rustls) + ("rust-webpki" ,rust-webpki) + ("rust-webpki-roots" ,rust-webpki-roots)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio) + ("rust-tokio-tcp" ,rust-tokio-tcp)))) + (home-page "https://github.com/ctz/hyper-rustls") + (synopsis + "Rustls+hyper integration for pure rust HTTPS") + (description + "Rustls+hyper integration for pure rust HTTPS") + (license (list license:asl2.0 + license:isc + license:expat)))) + +(define-public rust-hyper-tls + (package + (name "rust-hyper-tls") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-tls" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0kqp4sz8613j6nv375wfj3gh95ff4nb6a3rb1f2vbx0almm0v01s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes) + ("rust-futures" ,rust-futures) + ("rust-hyper" ,rust-hyper) + ("rust-native-tls" ,rust-native-tls) + ("rust-tokio-io" ,rust-tokio-io)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio)))) + (home-page "https://hyper.rs") + (synopsis + "Default TLS implementation for use with hyper") + (description + "Default TLS implementation for use with hyper") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-hyphenation (package (name "rust-hyphenation") @@ -2889,6 +4165,38 @@ pseudorandom number generator") "This package provides a snapshot testing library for Rust") (license license:asl2.0))) +(define-public rust-intel-mkl-src + (package + (name "rust-intel-mkl-src") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "intel-mkl-src" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16kq725cl4rnvfpwq9x4rl83ylcqs7d0xryagx8ijm6bdblbfabc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-failure" ,rust-failure) + ("rust-pkg-config" ,rust-pkg-config) + ("rust-reqwest" ,rust-reqwest) + ("rust-tar" ,rust-tar) + ("rust-xz2" ,rust-xz2)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc)))) + (home-page + "https://github.com/termoshtt/rust-intel-mkl") + (synopsis + "Redistribution of Intel MKL as a crate.") + (description + "Redistribution of Intel MKL as a crate.") + (license (list license:non-copyleft "Intel Simplified Software License" + license:expat)))) ; some wrapper codes + (define-public rust-intervaltree (package (name "rust-intervaltree") @@ -2914,6 +4222,39 @@ pseudorandom number generator") "This package provides a simple and generic implementation of an immutable interval tree.") (license license:expat))) +(define-public rust-iron + (package + (name "rust-iron") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "iron" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1s4mf8395f693nhwsr0znw3j5frzn56gzllypyl50il85p50ily6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-hyper" ,rust-hyper) + ("rust-log" ,rust-log) + ("rust-mime-guess" ,rust-mime-guess) + ("rust-modifier" ,rust-modifier) + ("rust-num-cpus" ,rust-num-cpus) + ("rust-plugin" ,rust-plugin) + ("rust-typemap" ,rust-typemap) + ("rust-url" ,rust-url) + ("rust-hyper-native-tls" ,rust-hyper-native-tls)) + #:cargo-development-inputs + (("rust-mime" ,rust-mime) + ("rust-time" ,rust-time)))) + (home-page "https://github.com/iron/iron") + (synopsis "Extensible, Concurrency Focused Web Development in Rust.") + (description "Extensible, Concurrency Focused Web Development in Rust.") + (license license:expat))) + (define-public rust-iovec (package (name "rust-iovec") @@ -2940,6 +4281,35 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-ipconfig + (package + (name "rust-ipconfig") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ipconfig" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0gyqiqr4nk2dw9ild1aq3hnv6984sgydfdq7ki586q5ydwhzlyda")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-socket2" ,rust-socket2) + ("rust-widestring" ,rust-widestring) + ("rust-winapi" ,rust-winapi) + ("rust-winreg" ,rust-winreg)))) + (home-page + "https://github.com/liranringel/ipconfig") + (synopsis + "Get network adapters information and network configuration for windows.") + (description + "Get network adapters information and network configuration for windows.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-itertools (package (name "rust-itertools") @@ -2970,9 +4340,29 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) -(define-public rust-jemalloc-ctl +(define-public rust-itertools-0.7 (package - (name "rust-jemalloc-ctl") + (inherit rust-itertools) + (name "rust-itertools") + (version "0.7.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "itertools" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03cpsj26xmyamcalclqzr1i700vwx8hnbgxbpjvs354f8mnr8iqd")))) + (arguments + `(#:cargo-inputs + (("rust-either" ,rust-either)) + #:cargo-development-inputs + (("rust-permutohedron" ,rust-permutohedron) + ("rust-quickcheck" ,rust-quickcheck-0.5)))))) + +(define-public rust-jemalloc-ctl + (package + (name "rust-jemalloc-ctl") (version "0.3.3") (source (origin @@ -3086,6 +4476,87 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-js-sys + (package + (name "rust-js-sys") + (version "0.3.27") + (source + (origin + (method url-fetch) + (uri (crate-uri "js-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1m6p0bdgdkhwwy6bvapl9z3bw9nq3li2x480anfffn3calm4zz0y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-wasm-bindgen" ,rust-wasm-bindgen)) + #:cargo-development-inputs + (("rust-futures" ,rust-futures) + ("rust-wasm-bindgen-futures" + ,rust-wasm-bindgen-futures) + ("rust-wasm-bindgen-test" + ,rust-wasm-bindgen-test)))) + (home-page + "https://rustwasm.github.io/wasm-bindgen/") + (synopsis + "Bindings for all JS global objects and functions in all JS environments like Node.js and browsers, built on `#[wasm_bindgen]` using the `wasm-bindgen` crate.") + (description + "Bindings for all JS global objects and functions in all JS environments like Node.js and browsers, built on `#[wasm_bindgen]` using the `wasm-bindgen` crate.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-kernel32-sys + (package + (name "rust-kernel32-sys") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "kernel32-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi) + ("rust-winapi-build" ,rust-winapi-build)))) + (home-page "https://github.com/retep998/winapi-rs") + (synopsis "Contains function definitions for the Windows API library kernel32") + (description "Contains function definitions for the Windows API library kernel32.") + (license license:expat))) + +(define-public rust-language-tags + (package + (name "rust-language-tags") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "language-tags" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-heapsize" ,rust-heapsize)) + #:cargo-development-inputs + (("rust-heapsize-plugin" ,rust-heapsize-plugin)))) + (home-page + "https://github.com/pyfisch/rust-language-tags") + (synopsis + "Language tags for Rust") + (description + "Language tags for Rust") + (license license:expat))) + (define-public rust-lazy-static (package (name "rust-lazy-static") @@ -3171,6 +4642,35 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-libflate + (package + (name "rust-libflate") + (version "0.1.27") + (source + (origin + (method url-fetch) + (uri (crate-uri "libflate" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1p8z839c5lpl0g01mf8iglys9lgcjxw6xjw56crhwp8z7gs5s4yr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-adler32" ,rust-adler32) + ("rust-crc32fast" ,rust-crc32fast) + ("rust-rle-decode-fast" ,rust-rle-decode-fast) + ("rust-take-mut" ,rust-take-mut)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap)))) + (home-page "https://github.com/sile/libflate") + (synopsis + "A Rust implementation of DEFLATE algorithm and related formats (ZLIB, GZIP)") + (description + "This package provides a Rust implementation of DEFLATE algorithm and related formats (ZLIB, GZIP)") + (license license:expat))) + (define-public rust-libgit2-sys (package (name "rust-libgit2-sys") @@ -3444,26 +4944,180 @@ pseudorandom number generator") (origin (method url-fetch) (uri (crate-uri "log" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cx51p86d9s1y2vbyi6jr4wj5cs7nryikygfcpbc42h7ajnvcxf2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-serde-test" ,rust-serde-test)))) + (home-page "https://github.com/rust-lang/log") + (synopsis + "A lightweight logging facade for Rust") + (description + "This package provides a lightweight logging facade for Rust") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-log-0.3 + (package + (inherit rust-log) + (name "rust-log") + (version "0.3.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "log" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0jq23hhn5h35k7pa8r7wqnsywji6x3wn1q5q7lif5q536if8v7p1")))) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log)))))) + +(define-public rust-loom + (package + (name "rust-loom") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "loom" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1cx51p86d9s1y2vbyi6jr4wj5cs7nryikygfcpbc42h7ajnvcxf2")))) + "0w95rjw0sv3f5psaxlgfl4fsj6imjv16v2pap18alx2w7n2f8j24")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if) - ("rust-serde" ,rust-serde)) + ("rust-futures-util-preview" + ,rust-futures-util-preview) + ("rust-generator" ,rust-generator) + ("rust-scoped-tls" ,rust-scoped-tls) + ("rust-serde" ,rust-serde) + ("rust-serde-json" ,rust-serde-json)))) + (home-page "https://github.com/carllerche/loom") + (synopsis + "Permutation testing for concurrent code") + (description + "Permutation testing for concurrent code") + (license license:expat))) + +(define-public rust-lru-cache + (package + (name "rust-lru-cache") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "lru-cache" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "071viv6g2p3akwqmfb3c8vsycs5n7kr17b70l7la071jv0d4zqii")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-heapsize" ,rust-heapsize) + ("rust-linked-hash-map" ,rust-linked-hash-map)))) + (home-page + "https://github.com/contain-rs/lru-cache") + (synopsis + "A cache that holds a limited number of key-value pairs") + (description + "This package provides a cache that holds a limited number of key-value pairs") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-lzma-sys + (package + (name "rust-lzma-sys") + (version "0.1.15") + (source + (origin + (method url-fetch) + (uri (crate-uri "lzma-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc)) #:cargo-development-inputs - (("rust-serde-test" ,rust-serde-test)))) - (home-page "https://github.com/rust-lang/log") + (("rust-cc" ,rust-cc) + ("rust-pkg-config" ,rust-pkg-config)))) + (home-page + "https://github.com/alexcrichton/xz2-rs") (synopsis - "A lightweight logging facade for Rust") + "Raw bindings to liblzma which contains an implementation of LZMA and xz stream + encoding/decoding. + + High level Rust bindings are available in the `xz2` crate.") (description - "This package provides a lightweight logging facade for Rust") + "Raw bindings to liblzma which contains an implementation of LZMA and xz stream + encoding/decoding. + + High level Rust bindings are available in the `xz2` crate.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-matrixmultiply + (package + (name "rust-matrixmultiply") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "matrixmultiply" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16sgc1j87hmsqmhlqpqgcpbrb00f267ikbr55fhxla8nhwnxgznw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rawpointer" ,rust-rawpointer)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher) + ("rust-itertools" ,rust-itertools)))) + (home-page + "https://github.com/bluss/matrixmultiply/") + (synopsis "General matrix multiplication for f32 and f64 matrices.") + (description "General matrix multiplication for f32 and f64 matrices. Operates on matrices with general layout (they can use arbitrary row and column stride). Detects and uses AVX or SSE2 on x86 platforms transparently for higher performance. Uses a microkernel strategy, so that the implementation is easy to parallelize and optimize.") (license (list license:asl2.0 license:expat)))) +(define-public rust-matrixmultiply-0.1 + (package + (inherit rust-matrixmultiply) + (name "rust-matrixmultiply") + (version "0.1.15") + (source + (origin + (method url-fetch) + (uri (crate-uri "matrixmultiply" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "00p0fpjhm45qdzi37mgv7ggsy8b9gqvq4999yrbgyn1dxkf6gbfw")))) + (arguments + `(#:cargo-inputs + (("rust-rawpointer" ,rust-rawpointer)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher)))))) + (define-public rust-memchr (package (name "rust-memchr") @@ -3552,3577 +5206,5722 @@ pseudorandom number generator") (origin (method url-fetch) (uri (crate-uri "memoffset" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1cvm2z7dy138s302ii7wlzcxbka5a8yfl5pl5di7lbdnw9hw578g")))))) + (base32 + "1cvm2z7dy138s302ii7wlzcxbka5a8yfl5pl5di7lbdnw9hw578g")))))) -(define-public rust-no-panic +(define-public rust-mime (package - (name "rust-no-panic") - (version "0.1.10") + (name "rust-mime") + (version "0.3.13") (source (origin (method url-fetch) - (uri (crate-uri "no-panic" version)) + (uri (crate-uri "mime" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "089gmyxg7kviimqn5nmghm5kngnmi77a0c6fbv0j67jxx7pjhq3r")))) + "09clbyvdkwflp8anwjhqdib0sw8191gphcchdp80nc8ayhhwl9ry")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote) - ("rust-syn" ,rust-syn)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile)))) - (home-page "https://github.com/dtolnay/no-panic") + (("rust-unicase" ,rust-unicase)))) + (home-page "https://github.com/hyperium/mime") (synopsis - "Attribute macro to require that the compiler prove a function can't ever panic.") + "Strongly Typed Mimes") (description - "Attribute macro to require that the compiler prove a function can't ever panic.") + "Strongly Typed Mimes") (license (list license:asl2.0 license:expat)))) -(define-public rust-nodrop ; guix upstreamable +(define-public rust-mime-guess (package - (name "rust-nodrop") - (version "0.1.13") + (name "rust-mime-guess") + (version "2.0.1") (source (origin (method url-fetch) - (uri (crate-uri "nodrop" version)) - (file-name (string-append name "-" version ".tar.gz")) + (uri (crate-uri "mime_guess" version)) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0if9ifn6rvar5jirx4b3qh4sl5kjkmcifycvzhxa9j3crkfng5ig")))) + (base32 + "16c5ssgali30db6jh1cndy77dd1qgcykhshiyfyjvxxf94wx03hs")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-nodrop-union" ,rust-nodrop-union)))) - (home-page "https://github.com/bluss/arrayvec") - (synopsis "Wrapper type to inhibit drop (destructor)") - (description "This package provides a wrapper type to inhibit drop -(destructor). Use @code{std::mem::ManuallyDrop} instead!") - (license (list license:asl2.0 - license:expat)))) + `(#:cargo-inputs + (("rust-mime" ,rust-mime) + ("rust-unicase" ,rust-unicase)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion)))) + (home-page "https://github.com/abonander/mime_guess") + (synopsis + "MIME/MediaType guessing by file extension. Uses a static map of known file extension -> MIME type mappings.") + (description + "MIME/MediaType guessing by file extension. Uses a static map of known file extension -> MIME type mappings.") + (license license:expat))) -(define-public rust-nodrop-union ; guix upstreamable +(define-public rust-miniz-oxide (package - (name "rust-nodrop-union") - (version "0.1.10") + (name "rust-miniz-oxide") + (version "0.3.2") (source (origin (method url-fetch) - (uri (crate-uri "nodrop-union" version)) - (file-name (string-append name "-" version ".tar.gz")) + (uri (crate-uri "miniz_oxide" version)) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0jsnkdn9l8jlmb9h4wssi76sxnyxwnyi00p6y1p2gdq7c1gdw2b7")))) - (build-system cargo-build-system) - (home-page "https://github.com/bluss/arrayvec") - (synopsis "Wrapper type to inhibit drop (destructor)") - (description "This package provides a wrapper type to inhibit drop -(destructor). Implementation crate for nodrop, the untagged unions -implementation (which is unstable / requires nightly).") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-nom - (package - (name "rust-nom") - (version "5.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nom" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06snml9wfrvk8k71l4md6gg29jgj4pa8wzsg180q3qr0jf2isxp9")))) + (base32 + "041s41l5w7z8pkp93pdzn8rngxr93q4wxp034pr0cvc7bgway23i")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static) - ("rust-lexical-core" ,rust-lexical-core) - ("rust-memchr" ,rust-memchr) - ("rust-regex" ,rust-regex)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion) - ("rust-doc-comment" ,rust-doc-comment) - ("rust-jemallocator" ,rust-jemallocator) - ("rust-version-check" ,rust-version-check)))) - (home-page "https://github.com/Geal/nom") + `(#:cargo-inputs (("rust-adler32" ,rust-adler32)))) + (home-page + "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide") (synopsis - "A byte-oriented, zero-copy, parser combinators library") + "DEFLATE compression and decompression library rewritten in Rust based on miniz") (description - "This package provides a byte-oriented, zero-copy, parser combinators library") + "DEFLATE compression and decompression library rewritten in Rust based on miniz") (license license:expat))) -(define-public rust-num-cpus +(define-public rust-miniz-sys (package - (name "rust-num-cpus") - (version "1.10.1") + (name "rust-miniz-sys") + (version "0.1.12") (source (origin (method url-fetch) - (uri (crate-uri "num_cpus" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "miniz-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw")))) + (base32 + "00l2r4anm8g35x0js2zfdnwfbrih9m43vphdpb77c5ga3kjkm7hy")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment)))) - (home-page - "https://github.com/seanmonstar/num_cpus") - (synopsis "Get the number of CPUs on a machine.") + `(#:cargo-inputs + (("rust-cc" ,rust-cc) + ("rust-libc" ,rust-libc)))) + (home-page "https://github.com/alexcrichton/flate2-rs") + (synopsis + "Bindings to the miniz.c library.") (description - "Get the number of CPUs on a machine.") + "Bindings to the miniz.c library.") (license (list license:asl2.0 license:expat)))) -(define-public rust-num-iter +(define-public rust-mio (package - (name "rust-num-iter") - (version "0.1.39") + (name "rust-mio") + (version "0.6.19") (source (origin (method url-fetch) - (uri (crate-uri "num-iter" version)) + (uri (crate-uri "mio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn")))) + "08zzs227vrnyz5kvws6awzlgzb8zqpnihs71hkqlw07dlfb1kxc3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-num-integer" ,rust-num-integer) - ("rust-num-traits" ,rust-num-traits)) + (("rust-fuchsia-zircon" ,rust-fuchsia-zircon) + ("rust-fuchsia-zircon-sys" + ,rust-fuchsia-zircon-sys) + ("rust-iovec" ,rust-iovec) + ("rust-kernel32-sys" ,rust-kernel32-sys) + ("rust-libc" ,rust-libc) + ("rust-log" ,rust-log) + ("rust-miow" ,rust-miow) + ("rust-net2" ,rust-net2) + ("rust-slab" ,rust-slab) + ("rust-winapi" ,rust-winapi)) #:cargo-development-inputs - (("rust-autocfg" ,rust-autocfg)))) - (home-page - "https://github.com/rust-num/num-iter") - (synopsis - "External iterators for generic mathematics") - (description - "External iterators for generic mathematics") - (license (list license:asl2.0 - license:expat)))) + (("rust-bytes" ,rust-bytes) + ("rust-env-logger" ,rust-env-logger) + ("rust-tempdir" ,rust-tempdir)))) + (home-page "https://github.com/carllerche/mio") + (synopsis "Lightweight non-blocking IO") + (description "Lightweight non-blocking IO") + (license license:expat))) -(define-public rust-openssl +(define-public rust-mio-uds (package - (name "rust-openssl") - (version "0.10.24") + (name "rust-mio-uds") + (version "0.6.7") (source (origin (method url-fetch) - (uri (crate-uri "openssl" version)) + (uri (crate-uri "mio-uds" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "05dg25rmg17rl3ykfl2yf69ghfd5z6zf6di38qw1awjvkddbnll1")))) + "09gimdbnj7b9yca99pk8lxh9jhl79msj795c8fxi2sqr9slmfqln")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags) - ("rust-cfg-if" ,rust-cfg-if) - ("rust-foreign-types" ,rust-foreign-types) - ("rust-lazy-static" ,rust-lazy-static) + (("rust-iovec" ,rust-iovec) ("rust-libc" ,rust-libc) - ("rust-openssl-sys" ,rust-openssl-sys)) + ("rust-mio" ,rust-mio)) #:cargo-development-inputs - (("rust-hex" ,rust-hex) - ("rust-tempdir" ,rust-tempdir)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'find-openssl - (lambda* (#:key inputs #:allow-other-keys) - (let ((openssl (assoc-ref inputs "openssl"))) - (setenv "OPENSSL_DIR" openssl)) - #t))))) - (inputs - `(("openssl" ,(@ (gnu packages tls) openssl)))) + (("rust-tempdir" ,rust-tempdir)))) (home-page - "https://github.com/sfackler/rust-openssl") - (synopsis "OpenSSL bindings") - (description "OpenSSL bindings") - (license license:asl2.0))) + "https://github.com/alexcrichton/mio-uds") + (synopsis + "Unix domain socket bindings for mio") + (description + "Unix domain socket bindings for mio") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-openssl-src +(define-public rust-miow (package - (name "rust-openssl-src") - (version "111.4.0+1.1.1c") + (name "rust-miow") + (version "0.3.3") (source (origin (method url-fetch) - (uri (crate-uri "openssl-src" version)) + (uri (crate-uri "miow" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "10s3hvkfk6bi4ba1ssvj914rjs31vs8plssy4kbvsa0w7idkqfkq")))) + "09ljvx6wg30f2xlv7b7hhpkw7k312n3hjgmrbhwzhz9x03ra0sir")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-cc" ,rust-cc)))) + `(#:cargo-inputs + (("rust-socket2" ,rust-socket2) + ("rust-winapi" ,rust-winapi)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand)))) (home-page - "https://github.com/alexcrichton/openssl-src-rs") + "https://github.com/alexcrichton/miow") (synopsis - "Source of OpenSSL and logic to build it.") + "A zero overhead I/O library for Windows, focusing on IOCP and Async I/O abstractions.") (description - "Source of OpenSSL and logic to build it.") + "This package provides a zero overhead I/O library for Windows, focusing on IOCP and Async I/O abstractions.") (license (list license:asl2.0 license:expat)))) -(define-public rust-openssl-sys +(define-public rust-modifier (package - (name "rust-openssl-sys") - (version "0.9.48") + (name "rust-modifier") + (version "0.1.0") (source (origin (method url-fetch) - (uri (crate-uri "openssl-sys" version)) + (uri (crate-uri "modifier" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1f05kxx8mai9ac16x1lk0404bymghbbj7vcbqrfwqfr52w131fmm")))) + (base32 + "0n3fmgli1nsskl0whrfzm1gk0rmwwl6pw1q4nb9sqqmn5h8wkxa1")))) (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-autocfg" ,rust-autocfg) - ("rust-libc" ,rust-libc)) - #:cargo-development-inputs - (("rust-autocfg" ,rust-autocfg) - ("rust-cc" ,rust-cc) - ("rust-openssl-src" ,rust-openssl-src) - ("rust-pkg-config" ,rust-pkg-config) - ("rust-vcpkg" ,rust-vcpkg)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'find-openssl - (lambda* (#:key inputs #:allow-other-keys) - (let ((openssl (assoc-ref inputs "openssl"))) - (setenv "OPENSSL_DIR" openssl)) - #t))))) - (inputs - `(("openssl" ,(@ (gnu packages tls) openssl)) - ("pkg-config" ,(@ (gnu packages pkg-config) pkg-config)))) - (home-page - "https://github.com/sfackler/rust-openssl") - (synopsis "FFI bindings to OpenSSL") - (description "FFI bindings to OpenSSL") + (home-page "https://github.com/reem/rust-modifier") + (synopsis + "Chaining APIs for both self -> Self and &mut self methods.") + (description + "Chaining APIs for both self -> Self and &mut self methods.") (license license:expat))) -(define-public rust-rand-os +(define-public rust-native-tls (package - (name "rust-rand-os") - (version "0.2.0") + (name "rust-native-tls") + (version "0.2.3") (source (origin (method url-fetch) - (uri (crate-uri "rand_os" version)) + (uri (crate-uri "native-tls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "06is69f8rfzs620g5b54k6cgy5yaycrsyqg55flyfrsf8g88733f")))) + "0ki7cj4wzyd2nach4qdjly69sp7rs0yz3n3z2ii4mm1gqajg2bab")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-getrandom" ,rust-getrandom) - ("rust-rand-core" ,rust-rand-core)))) - (home-page "https://crates.io/crates/rand_os") - (synopsis "OS backed Random Number Generator") - (description "OS backed Random Number Generator") + (("rust-lazy-static" ,rust-lazy-static) + ("rust-libc" ,rust-libc) + ("rust-log" ,rust-log) + ("rust-openssl" ,rust-openssl) + ("rust-openssl-probe" ,rust-openssl-probe) + ("rust-openssl-sys" ,rust-openssl-sys) + ("rust-schannel" ,rust-schannel) + ("rust-security-framework" ,rust-security-framework) + ("rust-security-framework-sys" ,rust-security-framework-sys) + ("rust-tempfile" ,rust-tempfile)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex)))) + (home-page "https://github.com/sfackler/rust-native-tls") + (synopsis + "An abstraction over platform-specific TLS implementations.") + (description + "An abstraction over platform-specific TLS implementations.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rand-os-0.1 +(define-public rust-ndarray (package - (inherit rust-rand-os) - (name "rust-rand-os") - (version "0.1.3") + (name "rust-ndarray") + (version "0.12.1") (source (origin (method url-fetch) - (uri (crate-uri "rand_os" version)) + (uri (crate-uri "ndarray" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0wahppm0s64gkr2vmhcgwc0lij37in1lgfxg5rbgqlz0l5vgcxbv")))) + "0a5rfwcbqnvbwi3nw5sfz6kf0flhmjxs64s0b4kxc6lhmyl81wvw")))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-cloudabi" ,rust-cloudabi) - ("rust-fuchsia-cprng" ,rust-fuchsia-cprng) - ("rust-getrandom" ,rust-getrandom) - ("rust-libc" ,rust-libc) - ("rust-log" ,rust-log) - ("rust-rand-core" ,rust-rand-core-0.4) - ("rust-rdrand" ,rust-rdrand-0.4) - ("rust-stdweb" ,rust-stdweb) - ("rust-wasm-bindgen" ,rust-wasm-bindgen) - ("rust-winapi" ,rust-winapi)))))) + (("rust-itertools" ,rust-itertools-0.7) + ("rust-matrixmultiply" ,rust-matrixmultiply-0.1) + ("rust-num-complex" ,rust-num-complex) + ("rust-num-traits" ,rust-num-traits) + ("rust-blas-src" ,rust-blas-src-0.2) + ("rust-cblas-sys" ,rust-cblas-sys) + ("rust-rustc-serialize" ,rust-rustc-serialize) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-defmac" ,rust-defmac-0.1) + ("rust-quickcheck" ,rust-quickcheck-0.7) + ("rust-rawpointer" ,rust-rawpointer)))) + (home-page "https://github.com/rust-ndarray/ndarray") + (synopsis + "ndarray implements an n-dimensional container for general elements and for numerics.") + (description + "ndarray implements an n-dimensional container for general elements and for numerics.") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-packed-simd +(define-public rust-net2 (package - (name "rust-packed-simd") - (version "0.3.3") + (name "rust-net2") + (version "0.2.33") (source (origin (method url-fetch) - (uri (crate-uri "packed_simd" version)) + (uri (crate-uri "net2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0822wqf6kzw4ig9ykndg348w2bxkhs3x64brzsvdxh2a1pyajpm8")))) + "126g3fgfxp06zimc1l9iyxnn9cif1hjsg7sd81nlls5nnyghsma2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if) - ("rust-core-arch" ,rust-core-arch) - ("rust-sleef-sys" ,rust-sleef-sys)) - #:cargo-development-inputs - (("rust-arrayvec" ,rust-arrayvec) - ("rust-paste" ,rust-paste) - ("rust-wasm-bindgen" ,rust-wasm-bindgen) - ("rust-wasm-bindgen-test" - ,rust-wasm-bindgen-test)))) + ("rust-libc" ,rust-libc) + ("rust-winapi" ,rust-winapi)))) (home-page - "https://github.com/rust-lang-nursery/packed_simd") - (synopsis "Portable Packed SIMD vectors") - (description "Portable Packed SIMD vectors") + "https://github.com/rust-lang-nursery/net2-rs") + (synopsis + "Extensions to the standard library's networking types as proposed in RFC 1158.") + (description + "Extensions to the standard library's networking types as proposed in RFC 1158.") (license (list license:asl2.0 license:expat)))) -(define-public rust-parking-lot +(define-public rust-netlib-src (package - (name "rust-parking-lot") - (version "0.9.0") + (name "rust-netlib-src") + (version "0.7.4") (source (origin (method url-fetch) - (uri (crate-uri "parking_lot" version)) + (uri (crate-uri "netlib-src" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0lk2vq3hp88ygpgsrypdr3ss71fidnqbykva0csgxhmn5scb2hpq")))) + "112hwfw1zzdj10h3j213xxqjrq38iygb3nb3ijay65ycmrg819s4")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-lock-api" ,rust-lock-api) - ("rust-parking-lot-core" ,rust-parking-lot-core)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode) - ("rust-lazy-static" ,rust-lazy-static) - ("rust-rand" ,rust-rand) - ("rust-rustc-version" ,rust-rustc-version)))) - (home-page - "https://github.com/Amanieu/parking_lot") + `(#:cargo-development-inputs + (("rust-cmake" ,rust-cmake) + ("rust-libc" ,rust-libc)))) + (home-page "https://github.com/cmr/netlib-src") (synopsis - "More compact and efficient implementations of the standard synchronization primitives.") + "The package provides a source of BLAS and LAPACK via Netlib.") (description - "More compact and efficient implementations of the standard synchronization primitives.") + "The package provides a source of BLAS and LAPACK via Netlib.") (license (list license:asl2.0 license:expat)))) -(define-public rust-parking-lot-core +(define-public rust-no-panic (package - (name "rust-parking-lot-core") - (version "0.6.2") + (name "rust-no-panic") + (version "0.1.10") (source (origin (method url-fetch) - (uri (crate-uri "parking_lot_core" version)) + (uri (crate-uri "no-panic" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ay67dpnrn68ryyvp720m9i8hzp189fd4d6slrs1lvmcwywv2xmq")))) + "089gmyxg7kviimqn5nmghm5kngnmi77a0c6fbv0j67jxx7pjhq3r")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-backtrace" ,rust-backtrace) - ("rust-cfg-if" ,rust-cfg-if) - ("rust-cloudabi" ,rust-cloudabi) - ("rust-libc" ,rust-libc) - ("rust-petgraph" ,rust-petgraph) - ("rust-redox-syscall" ,rust-redox-syscall) - ("rust-smallvec" ,rust-smallvec) - ("rust-thread-id" ,rust-thread-id) - ("rust-winapi" ,rust-winapi)) + (("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn)) #:cargo-development-inputs - (("rust-rustc-version" ,rust-rustc-version)))) - (home-page - "https://github.com/Amanieu/parking_lot") + (("rust-tempfile" ,rust-tempfile)))) + (home-page "https://github.com/dtolnay/no-panic") (synopsis - "An advanced API for creating custom synchronization primitives.") + "Attribute macro to require that the compiler prove a function can't ever panic.") (description - "An advanced API for creating custom synchronization primitives.") + "Attribute macro to require that the compiler prove a function can't ever panic.") (license (list license:asl2.0 license:expat)))) -(define-public rust-paste +(define-public rust-nodrop ; guix upstreamable (package - (name "rust-paste") - (version "0.1.5") + (name "rust-nodrop") + (version "0.1.13") (source (origin (method url-fetch) - (uri (crate-uri "paste" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "nodrop" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0ygs077hlq8qlx5y46sfgrmhlqqgkmvvhn4x3y10arawalf4ljhz")))) + (base32 + "0if9ifn6rvar5jirx4b3qh4sl5kjkmcifycvzhxa9j3crkfng5ig")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-paste-impl" ,rust-paste-impl) - ("rust-proc-macro-hack" ,rust-proc-macro-hack)))) - (home-page "https://github.com/dtolnay/paste") - (synopsis - "Macros for all your token pasting needs") - (description - "Macros for all your token pasting needs") + `(#:cargo-inputs + (("rust-nodrop-union" ,rust-nodrop-union)))) + (home-page "https://github.com/bluss/arrayvec") + (synopsis "Wrapper type to inhibit drop (destructor)") + (description "This package provides a wrapper type to inhibit drop +(destructor). Use @code{std::mem::ManuallyDrop} instead!") (license (list license:asl2.0 license:expat)))) -(define-public rust-paste-impl +(define-public rust-nodrop-union ; guix upstreamable (package - (name "rust-paste-impl") - (version "0.1.5") + (name "rust-nodrop-union") + (version "0.1.10") (source (origin (method url-fetch) - (uri (crate-uri "paste-impl" version)) + (uri (crate-uri "nodrop-union" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0jsnkdn9l8jlmb9h4wssi76sxnyxwnyi00p6y1p2gdq7c1gdw2b7")))) + (build-system cargo-build-system) + (home-page "https://github.com/bluss/arrayvec") + (synopsis "Wrapper type to inhibit drop (destructor)") + (description "This package provides a wrapper type to inhibit drop +(destructor). Implementation crate for nodrop, the untagged unions +implementation (which is unstable / requires nightly).") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-nom + (package + (name "rust-nom") + (version "5.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nom" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1rkh8nixmb7r1y0mjnsz62p6r1bqah5ciri7bwhmgcmq4gk9drr6")))) + "06snml9wfrvk8k71l4md6gg29jgj4pa8wzsg180q3qr0jf2isxp9")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro-hack" ,rust-proc-macro-hack) - ("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote) - ("rust-syn" ,rust-syn)))) - (home-page "https://github.com/dtolnay/paste") + (("rust-lazy-static" ,rust-lazy-static) + ("rust-lexical-core" ,rust-lexical-core) + ("rust-memchr" ,rust-memchr) + ("rust-regex" ,rust-regex)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion) + ("rust-doc-comment" ,rust-doc-comment) + ("rust-jemallocator" ,rust-jemallocator) + ("rust-version-check" ,rust-version-check)))) + (home-page "https://github.com/Geal/nom") (synopsis - "Implementation detail of the `paste` crate") + "A byte-oriented, zero-copy, parser combinators library") (description - "Implementation detail of the `paste` crate") - (license (list license:asl2.0 - license:expat)))) + "This package provides a byte-oriented, zero-copy, parser combinators library") + (license license:expat))) -(define-public rust-pest +(define-public rust-num-complex (package - (name "rust-pest") - (version "2.1.1") + (name "rust-num-complex") + (version "0.2.3") (source (origin (method url-fetch) - (uri (crate-uri "pest" version)) + (uri (crate-uri "num-complex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "134686mwxm73asbiads53zfchqvvcrsrsyax2cghfcizmvg8ac4k")))) + "1z6zjdzx1g1hj4y132ddy83d3p3zvw06igbf59npxxrzzcqwzc7w")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-serde" ,rust-serde) - ("rust-serde-json" ,rust-serde-json) - ("rust-ucd-trie" ,rust-ucd-trie)))) - (home-page "https://pest-parser.github.io/") - (synopsis "The Elegant Parser") - (description "The Elegant Parser") + (("rust-num-traits" ,rust-num-traits) + ("rust-rand" ,rust-rand) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-autocfg" ,rust-autocfg)))) + (home-page + "https://github.com/rust-num/num-complex") + (synopsis + "Complex numbers implementation for Rust") + (description + "Complex numbers implementation for Rust") (license (list license:asl2.0 license:expat)))) -(define-public rust-pest-derive +(define-public rust-num-cpus (package - (name "rust-pest-derive") - (version "2.1.0") + (name "rust-num-cpus") + (version "1.10.1") (source (origin (method url-fetch) - (uri (crate-uri "pest_derive" version)) + (uri (crate-uri "num_cpus" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1l5jfa6ril71cw5nsiw0r45br54dd8cj2r1nc2d1wq6wb3jilgc3")))) + "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-pest" ,rust-pest) - ("rust-pest-generator" ,rust-pest-generator)))) - (home-page "https://pest-parser.github.io/") - (synopsis "pest's derive macro") - (description "pest's derive macro") + (("rust-libc" ,rust-libc)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment)))) + (home-page + "https://github.com/seanmonstar/num_cpus") + (synopsis "Get the number of CPUs on a machine.") + (description + "Get the number of CPUs on a machine.") (license (list license:asl2.0 license:expat)))) -(define-public rust-pest-generator +(define-public rust-num-iter (package - (name "rust-pest-generator") - (version "2.1.0") + (name "rust-num-iter") + (version "0.1.39") (source (origin (method url-fetch) - (uri (crate-uri "pest_generator" version)) + (uri (crate-uri "num-iter" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ipnv77lqhj4d4fpfxi8m168lcjp482kszaknlardmpgqiv0a4k3")))) + "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-pest" ,rust-pest) - ("rust-pest-meta" ,rust-pest-meta) - ("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote) - ("rust-syn" ,rust-syn)))) - (home-page "https://pest-parser.github.io/") - (synopsis "pest code generator") - (description "pest code generator") + (("rust-num-integer" ,rust-num-integer) + ("rust-num-traits" ,rust-num-traits)) + #:cargo-development-inputs + (("rust-autocfg" ,rust-autocfg)))) + (home-page + "https://github.com/rust-num/num-iter") + (synopsis + "External iterators for generic mathematics") + (description + "External iterators for generic mathematics") (license (list license:asl2.0 license:expat)))) -(define-public rust-pest-meta +(define-public rust-object (package - (name "rust-pest-meta") - (version "2.1.1") + (name "rust-object") + (version "0.13.0") (source (origin (method url-fetch) - (uri (crate-uri "pest_meta" version)) + (uri (crate-uri "object" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0kaprdz3jis9bjfwhri1zncbsvack5m3gx2g5flspdy7wxnyljgj")))) + "05gfh6da1aavksxxq52hpzy40yiqpwzra8lfk7pcc45qqrdw97nq")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-maplit" ,rust-maplit) - ("rust-pest" ,rust-pest) - ("rust-sha-1" ,rust-sha-1)))) - (home-page "https://pest-parser.github.io/") - (synopsis "pest meta language parser and validator") + `(#:cargo-inputs + (("rust-goblin" ,rust-goblin) + ("rust-scroll" ,rust-scroll) + ("rust-target-lexicon" ,rust-target-lexicon) + ("rust-uuid" ,rust-uuid) + ("rust-crc32fast" ,rust-crc32fast) + ("rust-flate2" ,rust-flate2) + ("rust-indexmap" ,rust-indexmap) + ("rust-parity-wasm" ,rust-parity-wasm)) + #:cargo-development-inputs + (("rust-memmap" ,rust-memmap)))) + (home-page "https://github.com/gimli-rs/object") + (synopsis + "A unified interface for parsing object file formats.") (description - "pest meta language parser and validator") + "A unified interface for parsing object file formats.") (license (list license:asl2.0 license:expat)))) -(define-public rust-pkg-config +(define-public rust-odds (package - (name "rust-pkg-config") - (version "0.3.14") + (name "rust-odds") + (version "0.3.1") (source (origin (method url-fetch) - (uri (crate-uri "pkg-config" version)) + (uri (crate-uri "odds" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "135ia995lqzr0gxpk85h0bjxf82kj6hbxdx924sh9jdln6r8wvk7")))) + "0rdnxa0na4897yb0svb3figz35g4imxjv61yfm2j21gbh5q8v8d9")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-lazy-static" ,rust-lazy-static)))) - (inputs - `(("pkg-config" ,(@ (gnu packages pkg-config) pkg-config)))) + `(#:cargo-inputs + (("rust-rawpointer" ,rust-rawpointer) + ("rust-rawslice" ,rust-rawslice) + ("rust-unchecked-index" ,rust-unchecked-index)) + #:cargo-development-inputs + (("rust-itertools" ,rust-itertools) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-memchr" ,rust-memchr) + ("rust-quickcheck" ,rust-quickcheck)))) (home-page - "https://github.com/alexcrichton/pkg-config-rs") + "https://github.com/bluss/odds") (synopsis - "A library to run the pkg-config system tool at build time in order to be used in Cargo build scripts.") + "Odds and ends") (description - "A library to run the pkg-config system tool at build time in order to be used in Cargo build scripts.") + "Odds and ends collection miscellania. Extra functionality for slices (`.find()`, `RevSlice`), strings and other things. Things in odds may move to more appropriate crates if we find them.") (license (list license:asl2.0 license:expat)))) -(define-public rust-proc-macro-nested ; guix upstreamable +(define-public rust-openblas-src (package - (name "rust-proc-macro-nested") - (version "0.1.3") + (name "rust-openblas-src") + (version "0.7.0") (source (origin (method url-fetch) - (uri (crate-uri "proc-macro-nested" version)) - (file-name (string-append name "-" version ".tar.gz")) + (uri (crate-uri "openblas-src" version)) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0bmlksm8vl44wkwihmwr7jsjznhbg0n7aibcw1cs2jgjcp86x6in")))) + (base32 + "1dyf7yh6rmkk7k3pgcp5p8248f08hhajkigw42bfwjw1d3jk6d8b")))) (build-system cargo-build-system) - (home-page "https://github.com/dtolnay/proc-macro-hack") - (synopsis "Support for nested proc-macro-hack invocations") - (description "This crate provides support for nested proc-macro-hack -invocations.") + (arguments + `(#:cargo-development-inputs + (("rust-libc" ,rust-libc)))) + (home-page + "https://github.com/blas-lapack-rs/openblas-src") + (synopsis + "The package provides a source of BLAS and LAPACK via OpenBLAS.") + (description + "The package provides a source of BLAS and LAPACK via OpenBLAS.") (license (list license:asl2.0 license:expat)))) -(define-public rust-proptest +(define-public rust-openssl (package - (name "rust-proptest") - (version "0.9.4") + (name "rust-openssl") + (version "0.10.24") (source (origin (method url-fetch) - (uri (crate-uri "proptest" version)) + (uri (crate-uri "openssl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "17sjg8isas4qk85807c4panih9k0lwa4k1mbajhciw5c5q17w56g")))) + "05dg25rmg17rl3ykfl2yf69ghfd5z6zf6di38qw1awjvkddbnll1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-bit-set" ,rust-bit-set) - ("rust-bitflags" ,rust-bitflags) - ("rust-byteorder" ,rust-byteorder) + (("rust-bitflags" ,rust-bitflags) + ("rust-cfg-if" ,rust-cfg-if) + ("rust-foreign-types" ,rust-foreign-types) ("rust-lazy-static" ,rust-lazy-static) - ("rust-num-traits" ,rust-num-traits) - ("rust-quick-error" ,rust-quick-error) - ("rust-rand" ,rust-rand) - ("rust-rand-chacha" ,rust-rand-chacha) - ("rust-rand-xorshift" ,rust-rand-xorshift) - ("rust-regex-syntax" ,rust-regex-syntax) - ("rust-rusty-fork" ,rust-rusty-fork) - ("rust-tempfile" ,rust-tempfile)) + ("rust-libc" ,rust-libc) + ("rust-openssl-sys" ,rust-openssl-sys)) #:cargo-development-inputs - (("rust-regex" ,rust-regex)))) - (home-page - "https://altsysrq.github.io/proptest-book/proptest/index.html") - (synopsis - "Hypothesis-like property-based testing and shrinking.") - (description - "Hypothesis-like property-based testing and shrinking.") - (license (list license:asl2.0 - license:expat)))) + (("rust-hex" ,rust-hex) + ("rust-tempdir" ,rust-tempdir)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + #t))))) + (inputs + `(("openssl" ,(@ (gnu packages tls) openssl)))) + (home-page + "https://github.com/sfackler/rust-openssl") + (synopsis "OpenSSL bindings") + (description "OpenSSL bindings") + (license license:asl2.0))) -(define-public rust-proc-macro-hack +(define-public rust-openssl-probe (package - (name "rust-proc-macro-hack") - (version "0.5.8") + (name "rust-openssl-probe") + (version "0.1.2") (source (origin (method url-fetch) - (uri (crate-uri "proc-macro-hack" version)) + (uri (crate-uri "openssl-probe" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0y2ix90qdvsfks4j1g5qnpyzaa6a4j6sdi35klqvm120378kaalq")))) + "1pijrdifgsdwd45b08c2g0dsmnhz7c3kmagb70839ngrd7d29bvp")))) (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote) - ("rust-syn" ,rust-syn)) - #:cargo-development-inputs - (("rust-demo-hack" ,rust-demo-hack) - ("rust-demo-hack-impl" ,rust-demo-hack-impl)))) (home-page - "https://github.com/dtolnay/proc-macro-hack") + "https://github.com/alexcrichton/openssl-probe") (synopsis - "Procedural functionlike!() macros using only Macros 1.1") + "Tool for helping to find SSL certificate locations on the system for OpenSSL") (description - "Procedural functionlike!() macros using only Macros 1.1") + "Tool for helping to find SSL certificate locations on the system for OpenSSL") (license (list license:asl2.0 license:expat)))) -(define-public rust-proc-macro-hack-0.4 +(define-public rust-openssl-src (package - (inherit rust-proc-macro-hack) - (name "rust-proc-macro-hack") - (version "0.4.2") + (name "rust-openssl-src") + (version "111.4.0+1.1.1c") (source (origin (method url-fetch) - (uri (crate-uri "proc-macro-hack" version)) + (uri (crate-uri "openssl-src" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0fxn3qfhw76c518dfal2qqjwj5dbf0a1f7z0r5c4wd0igygg4fs6")))) + "10s3hvkfk6bi4ba1ssvj914rjs31vs8plssy4kbvsa0w7idkqfkq")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-proc-macro-hack-impl" ,rust-proc-macro-hack-impl)) - #:cargo-development-inputs - (("rust-demo-hack" ,rust-demo-hack) - ("rust-demo-hack-impl" ,rust-demo-hack-impl)))))) + `(#:cargo-inputs (("rust-cc" ,rust-cc)))) + (home-page + "https://github.com/alexcrichton/openssl-src-rs") + (synopsis + "Source of OpenSSL and logic to build it.") + (description + "Source of OpenSSL and logic to build it.") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-pulldown-cmark +(define-public rust-openssl-sys (package - (name "rust-pulldown-cmark") - (version "0.5.3") + (name "rust-openssl-sys") + (version "0.9.48") (source (origin (method url-fetch) - (uri (crate-uri "pulldown-cmark" version)) + (uri (crate-uri "openssl-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0mq3cgjwxlrv0p1svjg93m1jkybzyfrl9p0jwa76hx1352hks13p")))) + "1f05kxx8mai9ac16x1lk0404bymghbbj7vcbqrfwqfr52w131fmm")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags) - ("rust-getopts" ,rust-getopts) - ("rust-memchr" ,rust-memchr) - ("rust-unicase" ,rust-unicase)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion) - ("rust-html5ever" ,rust-html5ever) - ("rust-lazy-static" ,rust-lazy-static) - ("rust-regex" ,rust-regex) - ("rust-tendril" ,rust-tendril)))) + `(#:cargo-inputs + (("rust-autocfg" ,rust-autocfg) + ("rust-libc" ,rust-libc)) + #:cargo-development-inputs + (("rust-autocfg" ,rust-autocfg) + ("rust-cc" ,rust-cc) + ("rust-openssl-src" ,rust-openssl-src) + ("rust-pkg-config" ,rust-pkg-config) + ("rust-vcpkg" ,rust-vcpkg)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + #t))))) + (inputs + `(("openssl" ,(@ (gnu packages tls) openssl)) + ("pkg-config" ,(@ (gnu packages pkg-config) pkg-config)))) (home-page - "https://github.com/raphlinus/pulldown-cmark") - (synopsis "A pull parser for CommonMark") - (description - "This package provides a pull parser for CommonMark") + "https://github.com/sfackler/rust-openssl") + (synopsis "FFI bindings to OpenSSL") + (description "FFI bindings to OpenSSL") (license license:expat))) -(define-public rust-quantiles +(define-public rust-ordermap (package - (name "rust-quantiles") - (version "0.7.1") + (name "rust-ordermap") + (version "0.4.2") (source (origin (method url-fetch) - (uri (crate-uri "quantiles" version)) + (uri (crate-uri "ordermap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1wjp16a3d4bmldq9w2wds0q4gjz4mnsqac3g38r6ryr6zc9sh3y1")))) + "1m0vxmlm1x92m1ydgpddzg5mrfk3ddy8gk3r9dmpml18qrs9ch4i")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde) - ("rust-serde-derive" ,rust-serde-derive)) - #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck)))) - (home-page - "https://github.com/postmates/quantiles") + `(#:cargo-inputs + (("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-fnv" ,rust-fnv) + ("rust-itertools" ,rust-itertools) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-quickcheck" ,rust-quickcheck) + ("rust-rand" ,rust-rand-0.4) + ("rust-serde-test" ,rust-serde-test)))) + (home-page "https://github.com/bluss/ordermap") (synopsis - "a collection of approximate quantile algorithms") + "A hash table with consistent order and fast iteration. NOTE: This crate was renamed to indexmap. Please use it under its new name.") (description - "a collection of approximate quantile algorithms") - (license license:expat))) + "A hash table with consistent order and fast iteration. NOTE: This crate was renamed to indexmap. Please use it under its new name.") + (properties `((superseded . ,rust-indexmap))) + (license (list license:asl2.0 + license:expat)))) -(define-public rust-quickcheck +(define-public rust-owning-ref (package - (name "rust-quickcheck") - (version "0.8.5") + (name "rust-owning-ref") + (version "0.4.0") (source (origin (method url-fetch) - (uri (crate-uri "quickcheck" version)) + (uri (crate-uri "owning_ref" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0mkl4wnvvjk4m32aq3an4ayfyvnmbxnzcybfm7n3fbsndb1xjdcw")))) + "04zgwy77lin8qz398s6g44467pd6kjhbrlqifkia5rkr47mbi929")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-env-logger" ,rust-env-logger) - ("rust-log" ,rust-log) - ("rust-rand" ,rust-rand-0.6) - ("rust-rand-core" ,rust-rand-core)))) + (("rust-stable-deref-trait" ,rust-stable-deref-trait)))) (home-page - "https://github.com/BurntSushi/quickcheck") + "https://github.com/Kimundi/owning-ref-rs") (synopsis - "Automatic property based testing with shrinking.") + "A library for creating references that carry their owner with them.") (description - "Automatic property based testing with shrinking.") - (license (list license:unlicense - license:expat)))) + "A library for creating references that carry their owner with them.") + (license license:expat))) -(define-public rust-rand +(define-public rust-rand-os (package - (name "rust-rand") - (version "0.7.0") + (name "rust-rand-os") + (version "0.2.0") (source (origin (method url-fetch) - (uri (crate-uri "rand" version)) - (file-name (string-append name "-" version ".tar.gz")) + (uri (crate-uri "rand_os" version)) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0b05gwx8nnxr9bydyjxd1rszdvqnm946ky15z103ssfrhc7anznl")))) + (base32 + "06is69f8rfzs620g5b54k6cgy5yaycrsyqg55flyfrsf8g88733f")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-getrandom" ,rust-getrandom) - ("rust-libc" ,rust-libc) - ("rust-log" ,rust-log) - ("rust-packed-simd" ,rust-packed-simd) - ("rust-rand-chacha" ,rust-rand-chacha) - ("rust-rand-core" ,rust-rand-core) - ("rust-rand-hc" ,rust-rand-hc) - ("rust-rand-pcg" ,rust-rand-pcg)) - #:cargo-development-inputs - (("rust-rand-hc" ,rust-rand-hc) - ("rust-rand-isaac" ,rust-rand-isaac) - ("rust-rand-pcg" ,rust-rand-pcg) - ("rust-rand-xorshift" ,rust-rand-xorshift) - ("rust-rand-xoshiro" ,rust-rand-xoshiro)))) - (home-page "https://crates.io/crates/rand") - (synopsis - "Random number generators and other randomness functionality.") - (description - "Random number generators and other randomness functionality.") + `(#:cargo-inputs + (("rust-getrandom" ,rust-getrandom) + ("rust-rand-core" ,rust-rand-core)))) + (home-page "https://crates.io/crates/rand_os") + (synopsis "OS backed Random Number Generator") + (description "OS backed Random Number Generator") (license (list license:asl2.0 license:expat)))) -(define-public rust-rand-0.6 +(define-public rust-rand-os-0.1 (package - (inherit rust-rand) - (name "rust-rand") - (version "0.6.5") + (inherit rust-rand-os) + (name "rust-rand-os") + (version "0.1.3") (source (origin (method url-fetch) - (uri (crate-uri "rand" version)) + (uri (crate-uri "rand_os" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1jl4449jcl4wgmzld6ffwqj5gwxrp8zvx8w573g1z368qg6xlwbd")))) + "0wahppm0s64gkr2vmhcgwc0lij37in1lgfxg5rbgqlz0l5vgcxbv")))) (arguments `(#:cargo-inputs - (("rust-autocfg" ,rust-autocfg) + (("rust-cloudabi" ,rust-cloudabi) + ("rust-fuchsia-cprng" ,rust-fuchsia-cprng) + ("rust-getrandom" ,rust-getrandom) ("rust-libc" ,rust-libc) ("rust-log" ,rust-log) - ("rust-packed-simd" ,rust-packed-simd) - ("rust-rand-chacha" ,rust-rand-chacha-0.1) ("rust-rand-core" ,rust-rand-core-0.4) - ("rust-rand-hc" ,rust-rand-hc-0.1) - ("rust-rand-isaac" ,rust-rand-isaac-0.1) - ("rust-rand-jitter" ,rust-rand-jitter-0.1) - ("rust-rand-os" ,rust-rand-os-0.1) - ("rust-rand-pcg" ,rust-rand-pcg-0.1) - ("rust-rand-xorshift" ,rust-rand-xorshift-0.1) - ("rust-winapi" ,rust-winapi)) - #:cargo-development-inputs - (("rust-average" ,rust-average-0.9) - ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.1)))))) + ("rust-rdrand" ,rust-rdrand-0.4) + ("rust-stdweb" ,rust-stdweb) + ("rust-wasm-bindgen" ,rust-wasm-bindgen) + ("rust-winapi" ,rust-winapi)))))) -(define-public rust-rand-0.5 +(define-public rust-rawpointer (package - (inherit rust-rand) - (name "rust-rand") - (version "0.5.6") + (name "rust-rawpointer") + (version "0.1.0") (source (origin (method url-fetch) - (uri (crate-uri "rand" version)) + (uri (crate-uri "rawpointer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1fdcgja9167hlzkf4g5daqwp498lwiyq7aqm05whklpbsdyc8666")))) - (arguments - `(#:cargo-inputs - (("rust-cloudabi" ,rust-cloudabi) - ("rust-fuchsia-cprng" ,rust-fuchsia-cprng) - ("rust-libc" ,rust-libc) - ("rust-log" ,rust-log) - ("rust-rand-core" ,rust-rand-core-0.3) - ("rust-serde" ,rust-serde) - ("rust-serde-derive" ,rust-serde-derive) - ("rust-stdweb" ,rust-stdweb) - ("rust-winapi" ,rust-winapi)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode)))))) + "06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b")))) + (build-system cargo-build-system) + (home-page "https://github.com/bluss/rawpointer/") + (synopsis "Extra methods for raw pointers. For example `.post_inc()` and `.pre_dec()` (c.f. `ptr++` and `--ptr`) and `ptrdistance`.") + (description "Extra methods for raw pointers. For example `.post_inc()` and `.pre_dec()` (c.f. `ptr++` and `--ptr`) and `ptrdistance`.") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-rand-0.4 +(define-public rust-rspec (package - (inherit rust-rand) - (name "rust-rand") - (version "0.4.6") + (name "rust-rspec") + (version "1.0.0-beta.4") (source (origin (method url-fetch) - (uri (crate-uri "rand" version)) - (file-name (string-append name "-" version ".tar.gz")) + (uri (crate-uri "rspec" version)) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "14qjfv3gggzhnma20k0sc1jf8y6pplsaq7n1j9ls5c8kf2wl0a2m")))) + (base32 + "1abfzwkbxlwahb243k8d3fp6i135lx1aqmbfl79w9zlpng182ndk")))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-fuchsia-cprng" ,rust-fuchsia-cprng) - ("rust-libc" ,rust-libc) - ("rust-rand-core" ,rust-rand-core-0.3) - ("rust-rdrand" ,rust-rdrand-0.4) - ("rust-winapi" ,rust-winapi)))))) - -(define-public rust-rand-0.3 - (package - (inherit rust-rand) - (name "rust-rand") - (version "0.3.23") - (source - (origin - (method url-fetch) - (uri (crate-uri "rand" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0v679h38pjjqj5h4md7v2slsvj6686qgcn7p9fbw3h43iwnk1b34")))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc) - ("rust-rand" ,rust-rand-0.4)))))) + `(#:cargo-inputs + (("rust-colored" ,rust-colored) + ("rust-derive-new" ,rust-derive-new) + ("rust-derive-builder" ,rust-derive-builder) + ("rust-expectest" ,rust-expectest) + ("rust-rayon" ,rust-rayon)) + #:cargo-development-inputs + (("rust-clippy" ,rust-clippy)))) + (home-page "https://mackwic.github.io/rspec") + (synopsis + "Write Rspec-like tests with stable rust") + (description + "Write Rspec-like tests with stable rust") + (license license:mpl2.0))) -(define-public rust-rand-chacha +(define-public rust-packed-simd (package - (name "rust-rand-chacha") - (version "0.2.0") + (name "rust-packed-simd") + (version "0.3.3") (source (origin (method url-fetch) - (uri (crate-uri "rand_chacha" version)) + (uri (crate-uri "packed_simd" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "178d36jfkc4v95s25scc2vibj2hd2hlk64cs6id4hvzg89whd4z1")))) + "0822wqf6kzw4ig9ykndg348w2bxkhs3x64brzsvdxh2a1pyajpm8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-c2-chacha" ,rust-c2-chacha) - ("rust-rand-core" ,rust-rand-core)) + (("rust-cfg-if" ,rust-cfg-if) + ("rust-core-arch" ,rust-core-arch) + ("rust-sleef-sys" ,rust-sleef-sys)) #:cargo-development-inputs - (("rust-autocfg" ,rust-autocfg)))) + (("rust-arrayvec" ,rust-arrayvec) + ("rust-paste" ,rust-paste) + ("rust-wasm-bindgen" ,rust-wasm-bindgen) + ("rust-wasm-bindgen-test" + ,rust-wasm-bindgen-test)))) (home-page - "https://crates.io/crates/rand_chacha") - (synopsis "ChaCha random number generator") - (description "ChaCha random number generator") + "https://github.com/rust-lang-nursery/packed_simd") + (synopsis "Portable Packed SIMD vectors") + (description "Portable Packed SIMD vectors") (license (list license:asl2.0 license:expat)))) -(define-public rust-rand-chacha-0.1 +(define-public rust-parity-wasm (package - (inherit rust-rand-chacha) - (name "rust-rand-chacha") - (version "0.1.1") + (name "rust-parity-wasm") + (version "0.40.0") (source (origin (method url-fetch) - (uri (crate-uri "rand_chacha" version)) + (uri (crate-uri "parity-wasm" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1vxwyzs4fy1ffjc8l00fsyygpiss135irjf7nyxgq2v0lqf3lvam")))) + "0sp1nv5yjw2wpg2j7mjq3mhqqjqb85wmbxrgk27q2zvw7ddqmrky")))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-autocfg" ,rust-autocfg) - ("rust-rand-core" ,rust-rand-core-0.3)))))) + `(#:cargo-development-inputs + (("rust-time" ,rust-time)))) + (home-page + "https://github.com/paritytech/parity-wasm") + (synopsis + "WebAssembly binary format serialization/deserialization/interpreter") + (description + "WebAssembly binary format serialization/deserialization/interpreter") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-rand-core +(define-public rust-parking-lot (package - (name "rust-rand-core") - (version "0.5.0") + (name "rust-parking-lot") + (version "0.9.0") (source (origin (method url-fetch) - (uri (crate-uri "rand_core" version)) + (uri (crate-uri "parking_lot" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1jis94x9ri8xlxki2w2w5k29sjpfwgzkjylg7paganp74hrnhpk1")))) + "0lk2vq3hp88ygpgsrypdr3ss71fidnqbykva0csgxhmn5scb2hpq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-getrandom" ,rust-getrandom) - ("rust-serde" ,rust-serde) - ("rust-serde-derive" ,rust-serde-derive)))) - (home-page "https://crates.io/crates/rand_core") + (("rust-lock-api" ,rust-lock-api) + ("rust-parking-lot-core" ,rust-parking-lot-core)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-rand" ,rust-rand) + ("rust-rustc-version" ,rust-rustc-version)))) + (home-page + "https://github.com/Amanieu/parking_lot") (synopsis - "Core random number generator traits and tools for implementation.") + "More compact and efficient implementations of the standard synchronization primitives.") (description - "Core random number generator traits and tools for implementation.") + "More compact and efficient implementations of the standard synchronization primitives.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rand-core-0.4 +(define-public rust-parking-lot-core (package - (inherit rust-rand-core) - (name "rust-rand-core") - (version "0.4.0") + (name "rust-parking-lot-core") + (version "0.6.2") (source (origin (method url-fetch) - (uri (crate-uri "rand_core" version)) + (uri (crate-uri "parking_lot_core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1h3dbrhi5qgflqnzzd86s48v1dn1l17bmdssi5q170whsm4sbryh")))) + (base32 + "0ay67dpnrn68ryyvp720m9i8hzp189fd4d6slrs1lvmcwywv2xmq")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde) - ("rust-serde-derive" ,rust-serde-derive)))))) + `(#:cargo-inputs + (("rust-backtrace" ,rust-backtrace) + ("rust-cfg-if" ,rust-cfg-if) + ("rust-cloudabi" ,rust-cloudabi) + ("rust-libc" ,rust-libc) + ("rust-petgraph" ,rust-petgraph) + ("rust-redox-syscall" ,rust-redox-syscall) + ("rust-smallvec" ,rust-smallvec) + ("rust-thread-id" ,rust-thread-id) + ("rust-winapi" ,rust-winapi)) + #:cargo-development-inputs + (("rust-rustc-version" ,rust-rustc-version)))) + (home-page + "https://github.com/Amanieu/parking_lot") + (synopsis + "An advanced API for creating custom synchronization primitives.") + (description + "An advanced API for creating custom synchronization primitives.") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-rand-core-0.3 +(define-public rust-paste (package - (inherit rust-rand-core) - (name "rust-rand-core") - (version "0.3.1") + (name "rust-paste") + (version "0.1.5") (source (origin (method url-fetch) - (uri (crate-uri "rand_core" version)) + (uri (crate-uri "paste" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0jzdgszfa4bliigiy4hi66k7fs3gfwi2qxn8vik84ph77fwdwvvs")))) + (base32 + "0ygs077hlq8qlx5y46sfgrmhlqqgkmvvhn4x3y10arawalf4ljhz")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-rand-core" ,rust-rand-core-0.4)))))) + `(#:cargo-inputs + (("rust-paste-impl" ,rust-paste-impl) + ("rust-proc-macro-hack" ,rust-proc-macro-hack)))) + (home-page "https://github.com/dtolnay/paste") + (synopsis + "Macros for all your token pasting needs") + (description + "Macros for all your token pasting needs") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-rand-distr +(define-public rust-paste-impl (package - (name "rust-rand-distr") - (version "0.2.1") + (name "rust-paste-impl") + (version "0.1.5") (source (origin (method url-fetch) - (uri (crate-uri "rand_distr" version)) + (uri (crate-uri "paste-impl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "08drhcw9k4a79pri3rd1vkv7v9cbm6cf4i342nai39f527c58zn3")))) + "1rkh8nixmb7r1y0mjnsz62p6r1bqah5ciri7bwhmgcmq4gk9drr6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-rand" ,rust-rand)) - #:cargo-development-inputs - (("rust-average" ,rust-average) - ("rust-rand-pcg" ,rust-rand-pcg)))) - (home-page "https://crates.io/crates/rand_distr") + (("rust-proc-macro-hack" ,rust-proc-macro-hack) + ("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn)))) + (home-page "https://github.com/dtolnay/paste") (synopsis - "Sampling from random number distributions") + "Implementation detail of the `paste` crate") (description - "Sampling from random number distributions") + "Implementation detail of the `paste` crate") (license (list license:asl2.0 license:expat)))) -(define-public rust-rand-hc +(define-public rust-permutohedron (package - (name "rust-rand-hc") - (version "0.2.0") + (name "rust-permutohedron") + (version "0.2.4") (source (origin (method url-fetch) - (uri (crate-uri "rand_hc" version)) + (uri (crate-uri "permutohedron" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0g31sqwpmsirdlwr0svnacr4dbqyz339im4ssl9738cjgfpjjcfa")))) + "0b1pzh48j86v46wxngch6k1kx9cdw3jr3lwa86gd6jd4bmxzz1xn")))) (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-rand-core" ,rust-rand-core)))) - (home-page "https://crates.io/crates/rand_hc") - (synopsis "HC128 random number generator") - (description "HC128 random number generator") + (home-page + "https://github.com/bluss/permutohedron") + (synopsis + "Generate permutations of sequences. Either lexicographical order permutations, or a minimal swaps permutation sequence implemented using Heap's algorithm.") + (description + "Generate permutations of sequences. Either lexicographical order permutations, or a minimal swaps permutation sequence implemented using Heap's algorithm.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rand-hc-0.1 +(define-public rust-persistent (package - (inherit rust-rand-hc) - (name "rust-rand-hc") - (version "0.1.0") + (name "rust-persistent") + (version "0.4.0") (source (origin (method url-fetch) - (uri (crate-uri "rand_hc" version)) + (uri (crate-uri "persistent" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1i0vl8q5ddvvy0x8hf1zxny393miyzxkwqnw31ifg6p0gdy6fh3v")))) + "1iblxjjzd0h784l5y573nw5z3pdb3330k69hh413agagkh0a13wf")))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-rand-core" ,rust-rand-core-0.3)))))) + (("rust-iron" ,rust-iron) + ("rust-plugin" ,rust-plugin)))) + (home-page "https://github.com/iron/persistent") + (synopsis "A set of middleware for sharing server-global data in Iron.") + (description "A set of middleware for sharing server-global data in Iron.") + (license license:expat))) -(define-public rust-rand-isaac +(define-public rust-pest (package - (name "rust-rand-isaac") - (version "0.2.0") + (name "rust-pest") + (version "2.1.1") (source (origin (method url-fetch) - (uri (crate-uri "rand_isaac" version)) + (uri (crate-uri "pest" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0xlb9415x518ffkazxhvk8b04i9i548nva4i5l5s34crvjrv1xld")))) + "134686mwxm73asbiads53zfchqvvcrsrsyax2cghfcizmvg8ac4k")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-rand-core" ,rust-rand-core) - ("rust-serde" ,rust-serde)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode)))) - (home-page "https://crates.io/crates/rand_isaac") - (synopsis "ISAAC random number generator") - (description "ISAAC random number generator") + (("rust-serde" ,rust-serde) + ("rust-serde-json" ,rust-serde-json) + ("rust-ucd-trie" ,rust-ucd-trie)))) + (home-page "https://pest-parser.github.io/") + (synopsis "The Elegant Parser") + (description "The Elegant Parser") (license (list license:asl2.0 license:expat)))) -(define-public rust-rand-isaac-0.1 +(define-public rust-pest-derive (package - (inherit rust-rand-isaac) - (name "rust-rand-isaac") - (version "0.1.1") + (name "rust-pest-derive") + (version "2.1.0") (source (origin (method url-fetch) - (uri (crate-uri "rand_isaac" version)) + (uri (crate-uri "pest_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "027flpjr4znx2csxk7gxb7vrf9c7y5mydmvg5az2afgisp4rgnfy")))) + "1l5jfa6ril71cw5nsiw0r45br54dd8cj2r1nc2d1wq6wb3jilgc3")))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-rand-core" ,rust-rand-core-0.3) - ("rust-serde" ,rust-serde) - ("rust-serde-derive" ,rust-serde-derive)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode)))))) + (("rust-pest" ,rust-pest) + ("rust-pest-generator" ,rust-pest-generator)))) + (home-page "https://pest-parser.github.io/") + (synopsis "pest's derive macro") + (description "pest's derive macro") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-rand-jitter +(define-public rust-pest-generator (package - (name "rust-rand-jitter") - (version "0.2.0") + (name "rust-pest-generator") + (version "2.1.0") (source (origin (method url-fetch) - (uri (crate-uri "rand_jitter" version)) + (uri (crate-uri "pest_generator" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1mnjbfzj97g788jslz0k77bpsg6qjhz676cibk82ibbvgqp4sy43")))) + "0ipnv77lqhj4d4fpfxi8m168lcjp482kszaknlardmpgqiv0a4k3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-libc" ,rust-libc) - ("rust-log" ,rust-log) - ("rust-rand-core" ,rust-rand-core) - ("rust-winapi" ,rust-winapi)))) - (home-page "https://github.com/rust-random/rand") - (synopsis - "Random number generator based on timing jitter") - (description - "Random number generator based on timing jitter") + (("rust-pest" ,rust-pest) + ("rust-pest-meta" ,rust-pest-meta) + ("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn)))) + (home-page "https://pest-parser.github.io/") + (synopsis "pest code generator") + (description "pest code generator") (license (list license:asl2.0 license:expat)))) -(define-public rust-rand-jitter-0.1 +(define-public rust-pest-meta (package - (inherit rust-rand-jitter) - (name "rust-rand-jitter") - (version "0.1.4") + (name "rust-pest-meta") + (version "2.1.1") (source (origin (method url-fetch) - (uri (crate-uri "rand_jitter" version)) + (uri (crate-uri "pest_meta" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "16z387y46bfz3csc42zxbjq89vcr1axqacncvv8qhyy93p4xarhi")))) + "0kaprdz3jis9bjfwhri1zncbsvack5m3gx2g5flspdy7wxnyljgj")))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc) - ("rust-log" ,rust-log) - ("rust-rand-core" ,rust-rand-core-0.4) - ("rust-winapi" ,rust-winapi)))))) + `(#:cargo-inputs + (("rust-maplit" ,rust-maplit) + ("rust-pest" ,rust-pest) + ("rust-sha-1" ,rust-sha-1)))) + (home-page "https://pest-parser.github.io/") + (synopsis "pest meta language parser and validator") + (description + "pest meta language parser and validator") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-rand-pcg +(define-public rust-petgraph (package - (name "rust-rand-pcg") - (version "0.2.0") + (name "rust-petgraph") + (version "0.4.13") (source (origin (method url-fetch) - (uri (crate-uri "rand_pcg" version)) + (uri (crate-uri "petgraph" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1dljwilv3640l1c5vlg4isiq7qz8gqa2cjbvgv3p0p5wrd36669y")))) + "0kyfmca854s54jk26g2x1kjb04c3k7cjilaxyr0if8lhxv8mjdlw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-autocfg" ,rust-autocfg) - ("rust-rand-core" ,rust-rand-core) - ("rust-serde" ,rust-serde)) + (("rust-fixedbitset" ,rust-fixedbitset) + ("rust-ordermap" ,rust-ordermap) + ("rust-quickcheck" ,rust-quickcheck) + ("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive)) #:cargo-development-inputs - (("rust-bincode" ,rust-bincode)))) - (home-page "https://crates.io/crates/rand_pcg") + (("rust-defmac" ,rust-defmac) + ("rust-itertools" ,rust-itertools) + ("rust-odds" ,rust-odds) + ("rust-rand" ,rust-rand-0.3)))) + (home-page + "https://github.com/bluss/petgraph") (synopsis - "Selected PCG random number generators") + "Graph data structure library. Provides graph types and graph algorithms.") (description - "Selected PCG random number generators") + "Graph data structure library. Provides graph types and graph algorithms.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rand-pcg-0.1 +(define-public rust-pico-sys (package - (inherit rust-rand-pcg) - (name "rust-rand-pcg") - (version "0.1.2") + (name "rust-pico-sys") + (version "0.0.1") (source (origin (method url-fetch) - (uri (crate-uri "rand_pcg" version)) - (file-name (string-append name "-" version ".tar.gz")) + (uri (crate-uri "pico-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0i0bdla18a8x4jn1w0fxsbs3jg7ajllz6azmch1zw33r06dv1ydb")))) + "1q5pg0ms6szz6b5h26h4k40zb76zbwwjgyigac4wly9qngdj4yl5")))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-autocfg" ,rust-autocfg) - ("rust-rand-core" ,rust-rand-core-0.4) - ("rust-serde" ,rust-serde) - ("rust-serde" ,rust-serde-derive)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode)))))) + (("rust-cc" ,rust-cc) + ("rust-libc" ,rust-libc)))) + (home-page "https://github.com/reem/rust-pico-sys.git") + (synopsis + "Bindings to the PicoHTTPParser.") + (description + "Bindings to the PicoHTTPParser.") + (license license:expat))) -(define-public rust-rand-xorshift +(define-public rust-pkg-config (package - (name "rust-rand-xorshift") - (version "0.2.0") + (name "rust-pkg-config") + (version "0.3.14") (source (origin (method url-fetch) - (uri (crate-uri "rand_xorshift" version)) + (uri (crate-uri "pkg-config" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1a6wy76lc5fimm1n9n8fzhp4cfjwfwxh4hx63bg3vlh1d2w1dm3p")))) + "135ia995lqzr0gxpk85h0bjxf82kj6hbxdx924sh9jdln6r8wvk7")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-rand-core" ,rust-rand-core) - ("rust-serde" ,rust-serde)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode)))) + `(#:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static)))) + (inputs + `(("pkg-config" ,(@ (gnu packages pkg-config) pkg-config)))) (home-page - "https://crates.io/crates/rand_xorshift") - (synopsis "Xorshift random number generator") + "https://github.com/alexcrichton/pkg-config-rs") + (synopsis + "A library to run the pkg-config system tool at build time in order to be used in Cargo build scripts.") (description - "Xorshift random number generator") + "A library to run the pkg-config system tool at build time in order to be used in Cargo build scripts.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rand-xorshift-0.1 +(define-public rust-plugin (package - (inherit rust-rand-xorshift) - (name "rust-rand-xorshift") - (version "0.1.1") + (name "rust-plugin") + (version "0.2.6") (source (origin (method url-fetch) - (uri (crate-uri "rand_xorshift" version)) - (file-name (string-append name "-" version ".tar.gz")) + (uri (crate-uri "plugin" version)) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0p2x8nr00hricpi2m6ca5vysiha7ybnghz79yqhhx6sl4gkfkxyb")))) + (base32 + "1q7nghkpvxxr168y2jnzh3w7qc9vfrby9n7ygy3xpj0bj71hsshs")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-rand-core" ,rust-rand-core-0.3) - ("rust-serde" ,rust-serde) - ("rust-serde" ,rust-serde-derive)) + (("rust-typemap" ,rust-typemap)) #:cargo-development-inputs - (("rust-bincode" ,rust-bincode)))))) + (("rust-void" ,rust-void)))) + (home-page "https://github.com/reem/rust-plugin") + (synopsis + "Lazily evaluated, order-independent plugins for extensible types.") + (description + "Lazily evaluated, order-independent plugins for extensible types.") + (license license:expat))) -(define-public rust-rand-xoshiro +(define-public rust-pretty-env-logger (package - (name "rust-rand-xoshiro") - (version "0.3.0") + (name "rust-pretty-env-logger") + (version "0.3.1") (source (origin (method url-fetch) - (uri (crate-uri "rand_xoshiro" version)) + (uri (crate-uri "pretty_env_logger" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "07w3qgrac8r356lz5vqff42rly6yd9vs3g5lx5pbn13rcmb05rqb")))) + "0x4hyjlnvvhyk9m74iypzybm22w3dl2k8img4b956239n5vf8zki")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder) - ("rust-rand-core" ,rust-rand-core) - ("rust-serde" ,rust-serde)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode)))) + (("rust-chrono" ,rust-chrono) + ("rust-env-logger" ,rust-env-logger) + ("rust-log" ,rust-log)))) (home-page - "https://crates.io/crates/rand_xoshiro") + "https://github.com/seanmonstar/pretty-env-logger") (synopsis - "Xoshiro, xoroshiro and splitmix64 random number generators") + "A simple logger built on top off env_logger. It is configured via an environment variable and writes to standard error with nice colored output for log levels.") (description - "Xoshiro, xoroshiro and splitmix64 random number generators") + "A simple logger built on top off env_logger. It is configured via an environment variable and writes to standard error with nice colored output for log levels.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rand-xoshiro-0.1 +(define-public rust-pretty-assertions (package - (inherit rust-rand-xoshiro) - (name "rust-rand-xoshiro") - (version "0.1.0") + (name "rust-pretty-assertions") + (version "0.6.1") (source (origin (method url-fetch) - (uri (crate-uri "rand_xoshiro" version)) - (file-name (string-append name "-" version ".tar.gz")) + (uri (crate-uri "pretty_assertions" version)) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0ac9ha6ll8b6l1930bd99k29jrjpsbpddvr6ycrnbi5rkwb1id03")))) + (base32 + "09yl14gnmpygiqrdlsa64lcl4w6ydjl9m8jri6kgam0v9rjf309z")))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder) - ("rust-rand-core" ,rust-rand-core-0.3)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.6)))))) + (("rust-ansi-term" ,rust-ansi-term) + ("rust-ctor" ,rust-ctor) + ("rust-difference" ,rust-difference) + ("rust-output-vt100" ,rust-output-vt100)))) + (home-page + "https://github.com/colin-kiegel/rust-pretty-assertions") + (synopsis + "When writing tests in Rust, you'll probably use assert_eq!(a, b) a lot. -(define-public rust-rayon + If such a test fails, it will present all the details of a and b. But you have to spot the differences yourself, which is not always straightforward, like here:") + (description + "When writing tests in Rust, you'll probably use assert_eq!(a, b) a lot. + + If such a test fails, it will present all the details of a and b. But you have to spot the differences yourself, which is not always straightforward, like here:") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-proc-macro-nested ; guix upstreamable (package - (name "rust-rayon") - (version "1.1.0") + (name "rust-proc-macro-nested") + (version "0.1.3") (source (origin (method url-fetch) - (uri (crate-uri "rayon" version)) + (uri (crate-uri "proc-macro-nested" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0bmlksm8vl44wkwihmwr7jsjznhbg0n7aibcw1cs2jgjcp86x6in")))) + (build-system cargo-build-system) + (home-page "https://github.com/dtolnay/proc-macro-hack") + (synopsis "Support for nested proc-macro-hack invocations") + (description "This crate provides support for nested proc-macro-hack +invocations.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-proptest + (package + (name "rust-proptest") + (version "0.9.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "proptest" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "190hkbcdfvcphyyzkdg52zdia2y9d9yanpm072bmnzbn49p1ic54")))) + "17sjg8isas4qk85807c4panih9k0lwa4k1mbajhciw5c5q17w56g")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.6) - ("rust-either" ,rust-either) - ("rust-rayon-core" ,rust-rayon-core)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment) - ("rust-docopt" ,rust-docopt) + (("rust-bit-set" ,rust-bit-set) + ("rust-bitflags" ,rust-bitflags) + ("rust-byteorder" ,rust-byteorder) ("rust-lazy-static" ,rust-lazy-static) - ("rust-rand" ,rust-rand-0.6) + ("rust-num-traits" ,rust-num-traits) + ("rust-quick-error" ,rust-quick-error) + ("rust-rand" ,rust-rand) + ("rust-rand-chacha" ,rust-rand-chacha) ("rust-rand-xorshift" ,rust-rand-xorshift) - ("rust-serde" ,rust-serde) - ("rust-serde-derive" ,rust-serde-derive)))) - (home-page "https://github.com/rayon-rs/rayon") + ("rust-regex-syntax" ,rust-regex-syntax) + ("rust-rusty-fork" ,rust-rusty-fork) + ("rust-tempfile" ,rust-tempfile)) + #:cargo-development-inputs + (("rust-regex" ,rust-regex)))) + (home-page + "https://altsysrq.github.io/proptest-book/proptest/index.html") (synopsis - "Simple work-stealing parallelism for Rust") + "Hypothesis-like property-based testing and shrinking.") (description - "Simple work-stealing parallelism for Rust") + "Hypothesis-like property-based testing and shrinking.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rayon-1.0 +(define-public rust-proc-macro-hack (package - (inherit rust-rayon) - (name "rust-rayon") - (version "1.0.3") + (name "rust-proc-macro-hack") + (version "0.5.8") (source (origin (method url-fetch) - (uri (crate-uri "rayon" version)) + (uri (crate-uri "proc-macro-hack" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0wq41f15y05nlarijn9c1vxscxj5sazn3lhd6mmnicj5fzr18f1p")))) + (base32 + "0y2ix90qdvsfks4j1g5qnpyzaa6a4j6sdi35klqvm120378kaalq")))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.2) - ("rust-either" ,rust-either) - ("rust-rand" ,rust-rand-0.5) - ("rust-rayon-core" ,rust-rayon-core)) + (("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn)) #:cargo-development-inputs - (("rust-docopt" ,rust-docopt) - ("rust-lazy-static" ,rust-lazy-static) - ("rust-serde" ,rust-serde) - ("rust-serde-derive" ,rust-serde-derive)))))) - -(define-public rust-rayon-core + (("rust-demo-hack" ,rust-demo-hack) + ("rust-demo-hack-impl" ,rust-demo-hack-impl)))) + (home-page + "https://github.com/dtolnay/proc-macro-hack") + (synopsis + "Procedural functionlike!() macros using only Macros 1.1") + (description + "Procedural functionlike!() macros using only Macros 1.1") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-proc-macro-hack-0.4 (package - (name "rust-rayon-core") - (version "1.5.0") + (inherit rust-proc-macro-hack) + (name "rust-proc-macro-hack") + (version "0.4.2") (source (origin (method url-fetch) - (uri (crate-uri "rayon-core" version)) + (uri (crate-uri "proc-macro-hack" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fxn3qfhw76c518dfal2qqjwj5dbf0a1f7z0r5c4wd0igygg4fs6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro-hack-impl" ,rust-proc-macro-hack-impl)) + #:cargo-development-inputs + (("rust-demo-hack" ,rust-demo-hack) + ("rust-demo-hack-impl" ,rust-demo-hack-impl)))))) + +(define-public rust-publicsuffix + (package + (name "rust-publicsuffix") + (version "1.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "publicsuffix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ljva6blaf1wmzvg77h1i9pd0hsmsbbcmdk7sjbw7h2s8gw0vgpb")))) + "07ddqpri1xy7nxg5b7z8w49gw90rkn4qjvr423b4y7ngdnlcpzjs")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.6) - ("rust-crossbeam-queue" ,rust-crossbeam-queue) - ("rust-crossbeam-utils" ,rust-crossbeam-utils) + (("rust-error-chain" ,rust-error-chain) + ("rust-idna" ,rust-idna) ("rust-lazy-static" ,rust-lazy-static) - ("rust-num-cpus" ,rust-num-cpus)) + ("rust-regex" ,rust-regex) + ("rust-url" ,rust-url) + ("rust-native-tls" ,rust-native-tls)) #:cargo-development-inputs - (("rust-libc" ,rust-libc) - ("rust-rand" ,rust-rand) - ("rust-rand-xorshift" ,rust-rand-xorshift) - ("rust-scoped-tls" ,rust-scoped-tls)))) - (home-page "https://github.com/rayon-rs/rayon") - (synopsis "Core APIs for Rayon") - (description "Core APIs for Rayon") + (("rust-rspec" ,rust-rspec)))) + (home-page + "https://github.com/rushmorem/publicsuffix") + (synopsis + "Robust domain name parsing and RFC compliant email address validation") + (description + "Robust domain name parsing and RFC compliant email address validation") (license (list license:asl2.0 license:expat)))) -(define-public rust-rdrand +(define-public rust-pulldown-cmark (package - (name "rust-rdrand") - (version "0.5.1") + (name "rust-pulldown-cmark") + (version "0.5.3") (source (origin (method url-fetch) - (uri (crate-uri "rdrand" version)) + (uri (crate-uri "pulldown-cmark" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "02dsyibvl1iygkmljr0ld9vjyp525q4mjy5j9yazrrkyvhvw7gvp")))) + "0mq3cgjwxlrv0p1svjg93m1jkybzyfrl9p0jwa76hx1352hks13p")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-rand-core" ,rust-rand-core)))) + (("rust-bitflags" ,rust-bitflags) + ("rust-getopts" ,rust-getopts) + ("rust-memchr" ,rust-memchr) + ("rust-unicase" ,rust-unicase)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion) + ("rust-html5ever" ,rust-html5ever) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-regex" ,rust-regex) + ("rust-tendril" ,rust-tendril)))) (home-page - "https://github.com/nagisa/rust_rdrand/") + "https://github.com/raphlinus/pulldown-cmark") + (synopsis "A pull parser for CommonMark") + (description + "This package provides a pull parser for CommonMark") + (license license:expat))) + +(define-public rust-quantiles + (package + (name "rust-quantiles") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "quantiles" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wjp16a3d4bmldq9w2wds0q4gjz4mnsqac3g38r6ryr6zc9sh3y1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive)) + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck)))) + (home-page + "https://github.com/postmates/quantiles") (synopsis - "An implementation of random number generator based on rdrand and rdseed instructions") + "a collection of approximate quantile algorithms") (description - "An implementation of random number generator based on rdrand and rdseed instructions") - (license license:isc))) + "a collection of approximate quantile algorithms") + (license license:expat))) -(define-public rust-rdrand-0.4 +(define-public rust-quickcheck (package - (inherit rust-rdrand) - (name "rust-rdrand") - (version "0.4.0") + (name "rust-quickcheck") + (version "0.8.5") (source (origin (method url-fetch) - (uri (crate-uri "rdrand" version)) + (uri (crate-uri "quickcheck" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1cjq0kwx1bk7jx3kzyciiish5gqsj7620dm43dc52sr8fzmm9037")))) + "0mkl4wnvvjk4m32aq3an4ayfyvnmbxnzcybfm7n3fbsndb1xjdcw")))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-rand-core" ,rust-rand-core-0.3)))))) + (("rust-env-logger" ,rust-env-logger) + ("rust-log" ,rust-log) + ("rust-rand" ,rust-rand-0.6) + ("rust-rand-core" ,rust-rand-core)))) + (home-page + "https://github.com/BurntSushi/quickcheck") + (synopsis + "Automatic property based testing with shrinking.") + (description + "Automatic property based testing with shrinking.") + (license (list license:unlicense + license:expat)))) -(define-public rust-redox-syscall ; guix upstreamable +(define-public rust-quickcheck-0.7 + (package + (inherit rust-quickcheck) + (name "rust-quickcheck") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "05pqzja6fwdyrs1za5vmxb9ifb993knmpdsrs1fs2wyz9qz7slyl")))) + (arguments + `(#:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.5) + ("rust-log" ,rust-log) + ("rust-rand" ,rust-rand-0.5) + ("rust-rand-core" ,rust-rand-core-0.2)))))) + +(define-public rust-quickcheck-0.6 + (package + (inherit rust-quickcheck) + (name "rust-quickcheck") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dyazm2fcq0v9fscq1a7597zsvdl9f0j8c2bfj1jm2nlzz2sn6y0")))) + (arguments + `(#:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.5) + ("rust-log" ,rust-log) + ("rust-rand" ,rust-rand-0.4)))))) + +(define-public rust-quickcheck-0.5 + (package + (inherit rust-quickcheck) + (name "rust-quickcheck") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jzm1ygfbn4igaq14b9nipc8yvsn6c8panpgd1qiy5r2insjllyd")))) + (arguments + `(#:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.4) + ("rust-log" ,rust-log-0.3) + ("rust-rand" ,rust-rand-0.3)))))) + +(define-public rust-rand + (package + (name "rust-rand") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0b05gwx8nnxr9bydyjxd1rszdvqnm946ky15z103ssfrhc7anznl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-getrandom" ,rust-getrandom) + ("rust-libc" ,rust-libc) + ("rust-log" ,rust-log) + ("rust-packed-simd" ,rust-packed-simd) + ("rust-rand-chacha" ,rust-rand-chacha) + ("rust-rand-core" ,rust-rand-core) + ("rust-rand-hc" ,rust-rand-hc) + ("rust-rand-pcg" ,rust-rand-pcg)) + #:cargo-development-inputs + (("rust-rand-hc" ,rust-rand-hc) + ("rust-rand-isaac" ,rust-rand-isaac) + ("rust-rand-pcg" ,rust-rand-pcg) + ("rust-rand-xorshift" ,rust-rand-xorshift) + ("rust-rand-xoshiro" ,rust-rand-xoshiro)))) + (home-page "https://crates.io/crates/rand") + (synopsis + "Random number generators and other randomness functionality.") + (description + "Random number generators and other randomness functionality.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rand-0.6 + (package + (inherit rust-rand) + (name "rust-rand") + (version "0.6.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jl4449jcl4wgmzld6ffwqj5gwxrp8zvx8w573g1z368qg6xlwbd")))) + (arguments + `(#:cargo-inputs + (("rust-autocfg" ,rust-autocfg) + ("rust-libc" ,rust-libc) + ("rust-log" ,rust-log) + ("rust-packed-simd" ,rust-packed-simd) + ("rust-rand-chacha" ,rust-rand-chacha-0.1) + ("rust-rand-core" ,rust-rand-core-0.4) + ("rust-rand-hc" ,rust-rand-hc-0.1) + ("rust-rand-isaac" ,rust-rand-isaac-0.1) + ("rust-rand-jitter" ,rust-rand-jitter-0.1) + ("rust-rand-os" ,rust-rand-os-0.1) + ("rust-rand-pcg" ,rust-rand-pcg-0.1) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.1) + ("rust-winapi" ,rust-winapi)) + #:cargo-development-inputs + (("rust-average" ,rust-average-0.9) + ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.1)))))) + +(define-public rust-rand-0.5 + (package + (inherit rust-rand) + (name "rust-rand") + (version "0.5.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fdcgja9167hlzkf4g5daqwp498lwiyq7aqm05whklpbsdyc8666")))) + (arguments + `(#:cargo-inputs + (("rust-cloudabi" ,rust-cloudabi) + ("rust-fuchsia-cprng" ,rust-fuchsia-cprng) + ("rust-libc" ,rust-libc) + ("rust-log" ,rust-log) + ("rust-rand-core" ,rust-rand-core-0.3) + ("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive) + ("rust-stdweb" ,rust-stdweb) + ("rust-winapi" ,rust-winapi)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode)))))) + +(define-public rust-rand-0.4 + (package + (inherit rust-rand) + (name "rust-rand") + (version "0.4.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14qjfv3gggzhnma20k0sc1jf8y6pplsaq7n1j9ls5c8kf2wl0a2m")))) + (arguments + `(#:cargo-inputs + (("rust-fuchsia-cprng" ,rust-fuchsia-cprng) + ("rust-libc" ,rust-libc) + ("rust-rand-core" ,rust-rand-core-0.3) + ("rust-rdrand" ,rust-rdrand-0.4) + ("rust-winapi" ,rust-winapi)))))) + +(define-public rust-rand-0.3 + (package + (inherit rust-rand) + (name "rust-rand") + (version "0.3.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0v679h38pjjqj5h4md7v2slsvj6686qgcn7p9fbw3h43iwnk1b34")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-rand" ,rust-rand-0.4)))))) + +(define-public rust-rand-chacha + (package + (name "rust-rand-chacha") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_chacha" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "178d36jfkc4v95s25scc2vibj2hd2hlk64cs6id4hvzg89whd4z1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-c2-chacha" ,rust-c2-chacha) + ("rust-rand-core" ,rust-rand-core)) + #:cargo-development-inputs + (("rust-autocfg" ,rust-autocfg)))) + (home-page + "https://crates.io/crates/rand_chacha") + (synopsis "ChaCha random number generator") + (description "ChaCha random number generator") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rand-chacha-0.1 + (package + (inherit rust-rand-chacha) + (name "rust-rand-chacha") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_chacha" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vxwyzs4fy1ffjc8l00fsyygpiss135irjf7nyxgq2v0lqf3lvam")))) + (arguments + `(#:cargo-inputs + (("rust-autocfg" ,rust-autocfg) + ("rust-rand-core" ,rust-rand-core-0.3)))))) + +(define-public rust-rand-core + (package + (name "rust-rand-core") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_core" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jis94x9ri8xlxki2w2w5k29sjpfwgzkjylg7paganp74hrnhpk1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-getrandom" ,rust-getrandom) + ("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive)))) + (home-page "https://crates.io/crates/rand_core") + (synopsis + "Core random number generator traits and tools for implementation.") + (description + "Core random number generator traits and tools for implementation.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rand-core-0.4 + (package + (inherit rust-rand-core) + (name "rust-rand-core") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1p09ynysrq1vcdlmcqnapq4qakl2yd1ng3kxh3qscpx09k2a6cww")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive)))))) + +(define-public rust-rand-core-0.3 + (package + (inherit rust-rand-core) + (name "rust-rand-core") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0jzdgszfa4bliigiy4hi66k7fs3gfwi2qxn8vik84ph77fwdwvvs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rand-core" ,rust-rand-core-0.4)))))) + +(define-public rust-rand-core-0.2 + (package + (inherit rust-rand-core) + (name "rust-rand-core") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wikbw2a36bz8ywjyycjrd7db6ra3yzj14zs1ysxz2fiqhia8q8r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rand-core" ,rust-rand-core-0.3)))))) + +(define-public rust-rand-distr + (package + (name "rust-rand-distr") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_distr" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "08drhcw9k4a79pri3rd1vkv7v9cbm6cf4i342nai39f527c58zn3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rand" ,rust-rand)) + #:cargo-development-inputs + (("rust-average" ,rust-average) + ("rust-rand-pcg" ,rust-rand-pcg)))) + (home-page "https://crates.io/crates/rand_distr") + (synopsis + "Sampling from random number distributions") + (description + "Sampling from random number distributions") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rand-hc + (package + (name "rust-rand-hc") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_hc" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0g31sqwpmsirdlwr0svnacr4dbqyz339im4ssl9738cjgfpjjcfa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rand-core" ,rust-rand-core)))) + (home-page "https://crates.io/crates/rand_hc") + (synopsis "HC128 random number generator") + (description "HC128 random number generator") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rand-hc-0.1 + (package + (inherit rust-rand-hc) + (name "rust-rand-hc") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_hc" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1i0vl8q5ddvvy0x8hf1zxny393miyzxkwqnw31ifg6p0gdy6fh3v")))) + (arguments + `(#:cargo-inputs + (("rust-rand-core" ,rust-rand-core-0.3)))))) + +(define-public rust-rand-isaac + (package + (name "rust-rand-isaac") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_isaac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0xlb9415x518ffkazxhvk8b04i9i548nva4i5l5s34crvjrv1xld")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rand-core" ,rust-rand-core) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode)))) + (home-page "https://crates.io/crates/rand_isaac") + (synopsis "ISAAC random number generator") + (description "ISAAC random number generator") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rand-isaac-0.1 + (package + (inherit rust-rand-isaac) + (name "rust-rand-isaac") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_isaac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "027flpjr4znx2csxk7gxb7vrf9c7y5mydmvg5az2afgisp4rgnfy")))) + (arguments + `(#:cargo-inputs + (("rust-rand-core" ,rust-rand-core-0.3) + ("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode)))))) + +(define-public rust-rand-jitter + (package + (name "rust-rand-jitter") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_jitter" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mnjbfzj97g788jslz0k77bpsg6qjhz676cibk82ibbvgqp4sy43")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-log" ,rust-log) + ("rust-rand-core" ,rust-rand-core) + ("rust-winapi" ,rust-winapi)))) + (home-page "https://github.com/rust-random/rand") + (synopsis + "Random number generator based on timing jitter") + (description + "Random number generator based on timing jitter") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rand-jitter-0.1 + (package + (inherit rust-rand-jitter) + (name "rust-rand-jitter") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_jitter" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16z387y46bfz3csc42zxbjq89vcr1axqacncvv8qhyy93p4xarhi")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-log" ,rust-log) + ("rust-rand-core" ,rust-rand-core-0.4) + ("rust-winapi" ,rust-winapi)))))) + +(define-public rust-rand-pcg + (package + (name "rust-rand-pcg") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_pcg" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dljwilv3640l1c5vlg4isiq7qz8gqa2cjbvgv3p0p5wrd36669y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-autocfg" ,rust-autocfg) + ("rust-rand-core" ,rust-rand-core) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode)))) + (home-page "https://crates.io/crates/rand_pcg") + (synopsis + "Selected PCG random number generators") + (description + "Selected PCG random number generators") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rand-pcg-0.1 + (package + (inherit rust-rand-pcg) + (name "rust-rand-pcg") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_pcg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0i0bdla18a8x4jn1w0fxsbs3jg7ajllz6azmch1zw33r06dv1ydb")))) + (arguments + `(#:cargo-inputs + (("rust-autocfg" ,rust-autocfg) + ("rust-rand-core" ,rust-rand-core-0.4) + ("rust-serde" ,rust-serde) + ("rust-serde" ,rust-serde-derive)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode)))))) + +(define-public rust-rand-xorshift + (package + (name "rust-rand-xorshift") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_xorshift" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1a6wy76lc5fimm1n9n8fzhp4cfjwfwxh4hx63bg3vlh1d2w1dm3p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rand-core" ,rust-rand-core) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode)))) + (home-page + "https://crates.io/crates/rand_xorshift") + (synopsis "Xorshift random number generator") + (description + "Xorshift random number generator") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rand-xorshift-0.1 + (package + (inherit rust-rand-xorshift) + (name "rust-rand-xorshift") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_xorshift" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0p2x8nr00hricpi2m6ca5vysiha7ybnghz79yqhhx6sl4gkfkxyb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rand-core" ,rust-rand-core-0.3) + ("rust-serde" ,rust-serde) + ("rust-serde" ,rust-serde-derive)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode)))))) + +(define-public rust-rand-xoshiro + (package + (name "rust-rand-xoshiro") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_xoshiro" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07w3qgrac8r356lz5vqff42rly6yd9vs3g5lx5pbn13rcmb05rqb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder) + ("rust-rand-core" ,rust-rand-core) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode)))) + (home-page + "https://crates.io/crates/rand_xoshiro") + (synopsis + "Xoshiro, xoroshiro and splitmix64 random number generators") + (description + "Xoshiro, xoroshiro and splitmix64 random number generators") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rand-xoshiro-0.1 + (package + (inherit rust-rand-xoshiro) + (name "rust-rand-xoshiro") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_xoshiro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ac9ha6ll8b6l1930bd99k29jrjpsbpddvr6ycrnbi5rkwb1id03")))) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder) + ("rust-rand-core" ,rust-rand-core-0.3)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.6)))))) + +(define-public rust-rayon + (package + (name "rust-rayon") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rayon" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "190hkbcdfvcphyyzkdg52zdia2y9d9yanpm072bmnzbn49p1ic54")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.6) + ("rust-either" ,rust-either) + ("rust-rayon-core" ,rust-rayon-core)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment) + ("rust-docopt" ,rust-docopt) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-rand" ,rust-rand-0.6) + ("rust-rand-xorshift" ,rust-rand-xorshift) + ("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive)))) + (home-page "https://github.com/rayon-rs/rayon") + (synopsis + "Simple work-stealing parallelism for Rust") + (description + "Simple work-stealing parallelism for Rust") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rayon-1.0 + (package + (inherit rust-rayon) + (name "rust-rayon") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rayon" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wq41f15y05nlarijn9c1vxscxj5sazn3lhd6mmnicj5fzr18f1p")))) + (arguments + `(#:cargo-inputs + (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.2) + ("rust-either" ,rust-either) + ("rust-rand" ,rust-rand-0.5) + ("rust-rayon-core" ,rust-rayon-core)) + #:cargo-development-inputs + (("rust-docopt" ,rust-docopt) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive)))))) + +(define-public rust-rayon-core + (package + (name "rust-rayon-core") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rayon-core" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ljva6blaf1wmzvg77h1i9pd0hsmsbbcmdk7sjbw7h2s8gw0vgpb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.6) + ("rust-crossbeam-queue" ,rust-crossbeam-queue) + ("rust-crossbeam-utils" ,rust-crossbeam-utils) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-num-cpus" ,rust-num-cpus)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc) + ("rust-rand" ,rust-rand) + ("rust-rand-xorshift" ,rust-rand-xorshift) + ("rust-scoped-tls" ,rust-scoped-tls)))) + (home-page "https://github.com/rayon-rs/rayon") + (synopsis "Core APIs for Rayon") + (description "Core APIs for Rayon") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rdrand + (package + (name "rust-rdrand") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rdrand" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "02dsyibvl1iygkmljr0ld9vjyp525q4mjy5j9yazrrkyvhvw7gvp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rand-core" ,rust-rand-core)))) + (home-page + "https://github.com/nagisa/rust_rdrand/") + (synopsis + "An implementation of random number generator based on rdrand and rdseed instructions") + (description + "An implementation of random number generator based on rdrand and rdseed instructions") + (license license:isc))) + +(define-public rust-rdrand-0.4 + (package + (inherit rust-rdrand) + (name "rust-rdrand") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rdrand" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cjq0kwx1bk7jx3kzyciiish5gqsj7620dm43dc52sr8fzmm9037")))) + (arguments + `(#:cargo-inputs + (("rust-rand-core" ,rust-rand-core-0.3)))))) + +(define-public rust-redox-syscall ; guix upstreamable + (package + (name "rust-redox-syscall") + (version "0.1.56") + (source + (origin + (method url-fetch) + (uri (crate-uri "redox_syscall" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "110y7dyfm2vci4x5vk7gr0q551dvp31npl99fnsx2fb17wzwcf94")))) + (build-system cargo-build-system) + (home-page "https://gitlab.redox-os.org/redox-os/syscall") + (synopsis "Rust library to access raw Redox system calls") + (description "This package provides a Rust library to access raw Redox +system calls.") + (license license:expat))) + +(define-public rust-redox-users + (package + (name "rust-redox-users") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "redox_users" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0a1q5jv76vj1mwmqf2mmhknmkpw5wndx91gjfgg7vs8p79621r9z")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-argon2rs" ,rust-argon2rs) + ("rust-failure" ,rust-failure) + ("rust-rand-os" ,rust-rand-os) + ("rust-redox-syscall" ,rust-redox-syscall)))) + (home-page + "https://gitlab.redox-os.org/redox-os/users") + (synopsis + "A Rust library to access Redox users and groups functionality") + (description + "This package provides a Rust library to access Redox users and groups functionality") + (license #f))) + +(define-public rust-ref-cast + (package + (name "rust-ref-cast") + (version "0.2.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "ref-cast" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0jgj1zxaikqm030flpifbp517fy4z21lly6ysbwyciii39bkzcf1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ref-cast-impl" ,rust-ref-cast-impl)))) + (home-page "https://github.com/dtolnay/ref-cast") + (synopsis + "Safely cast &T to &U where the struct U contains a single field of type T.") + (description + "Safely cast &T to &U where the struct U contains a single field of type T.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-ref-cast-impl + (package + (name "rust-ref-cast-impl") + (version "0.2.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "ref-cast-impl" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hw0frpzna5rf5szix56zyzd0vackcb3svj94ndj629xi75dkb32")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn)))) + (home-page "https://github.com/dtolnay/ref-cast") + (synopsis + "Derive implementation for ref_cast::RefCast.") + (description + "Derive implementation for ref_cast::RefCast.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-regex + (package + (name "rust-regex") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "regex" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1k6jpx0bqlg6vb8rsdnlmcw2szczbl51j047w3blpa4qzn6xl8vb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-aho-corasick" ,rust-aho-corasick) + ("rust-memchr" ,rust-memchr) + ("rust-regex-syntax" ,rust-regex-syntax) + ("rust-thread-local" ,rust-thread-local) + ("rust-utf8-ranges" ,rust-utf8-ranges)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-quickcheck" ,rust-quickcheck) + ("rust-rand" ,rust-rand)))) + (home-page "https://github.com/rust-lang/regex") + (synopsis + "An implementation of regular expressions for Rust. This implementation uses + finite automata and guarantees linear time matching on all inputs.") + (description + "An implementation of regular expressions for Rust. This implementation uses + finite automata and guarantees linear time matching on all inputs.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-regex-0.2 + (package + (inherit rust-regex) + (name "rust-regex") + (version "0.2.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "regex" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1163ir1k5zjspirfjl4wqbviwrxlhmfwy95xxb69y4irkv4snack")))) + (arguments + `(#:cargo-inputs + (("rust-aho-corasick" ,rust-aho-corasick-0.6) + ("rust-memchr" ,rust-memchr) + ("rust-regex-syntax" ,rust-regex-syntax) + ("rust-thread-local" ,rust-thread-local) + ("rust-utf8-ranges" ,rust-utf8-ranges)) + #:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static) + ("rust-quickcheck" ,rust-quickcheck-0.6) + ("rust-rand" ,rust-rand-0.4)))))) + +(define-public rust-regex-syntax + (package + (name "rust-regex-syntax") + (version "0.6.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "regex-syntax" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ucd-util" ,rust-ucd-util)))) + (home-page "https://github.com/rust-lang/regex") + (synopsis "A regular expression parser.") + (description + "This package provides a regular expression parser.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-remove-dir-all + (package + (name "rust-remove-dir-all") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "remove_dir_all" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment)))) + (home-page + "https://github.com/XAMPPRocky/remove_dir_all.git") + (synopsis + "A safe, reliable implementation of remove_dir_all for Windows") + (description + "This package provides a safe, reliable implementation of remove_dir_all for Windows") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-reqwest + (package + (name "rust-reqwest") + (version "0.9.20") + (source + (origin + (method url-fetch) + (uri (crate-uri "reqwest" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0y4wvzl3pspd8drr2hf9kk107cjw455cb6p529sh90x58dhqjv8g")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64) + ("rust-bytes" ,rust-bytes) + ("rust-cookie" ,rust-cookie) + ("rust-cookie-store" ,rust-cookie-store) + ("rust-encoding-rs" ,rust-encoding-rs) + ("rust-flate2" ,rust-flate2) + ("rust-futures" ,rust-futures) + ("rust-http" ,rust-http) + ("rust-hyper" ,rust-hyper) + ("rust-log" ,rust-log) + ("rust-mime" ,rust-mime) + ("rust-mime-guess" ,rust-mime-guess) + ("rust-serde" ,rust-serde) + ("rust-serde-json" ,rust-serde-json) + ("rust-serde-urlencoded" ,rust-urlencoded) + ("rust-time" ,rust-time) + ("rust-tokio" ,rust-tokio) + ("rust-tokio-executor" ,rust-tokio-executor) + ("rust-tokio-io" ,rust-tokio-io) + ("rust-tokio-threadpool" ,rust-tokio-threadpool) + ("rust-tokio-timer" ,rust-tokio-timer) + ("rust-url" ,rust-url) + ("rust-uuid" ,rust-uuid) + ("rust-winreg" ,rust-winreg) + ("rust-hyper-old-types" ,rust-hyper-old-types) + ("rust-hyper-rustls" ,rust-hyper-rustls) + ("rust-hyper-tls" ,rust-hyper-tls) + ("rust-native-tls" ,rust-native-tls) + ("rust-rustls" ,rust-rustls) + ("rust-socks" ,rust-socks) + ("rust-tokio-rustls" ,rust-tokio-rustls) + ("rust-trust-dns-resolver" ,rust-trust-dns-resolver) + ("rust-webpki-roots" ,rust-webpki-roots)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes) + ("rust-doc-comment" ,rust-doc-comment) + ("rust-env-logger" ,rust-env-logger) + ("rust-libflate" ,rust-libflate) + ("rust-serde" ,rust-serde) + ("rust-tokio" ,rust-tokio) + ("rust-tokio-tcp" ,rust-tokio-tcp)))) + (home-page + "https://github.com/seanmonstar/reqwest") + (synopsis + "An ergonomic, batteries-included HTTP Client for Rust.") + (description + "An ergonomic, batteries-included HTTP Client for Rust.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-resolv-conf + (package + (name "rust-resolv-conf") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "resolv-conf" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jvdsmksdf6yiipm3aqahyv8n1cjd7wqc8sa0p0gzsax3fmb8qxj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-quick-error" ,rust-quick-error) + ("rust-hostname" ,rust-hostname)))) + (home-page + "https://github.com/tailhook/resolv-conf") + (synopsis + "A /etc/resolv.conf parser crate for rust.") + (description + "A /etc/resolv.conf parser crate for rust.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-ring + (package + (name "rust-ring") + (version "0.16.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "ring" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0mzpk6zmvlvzy021fh8b3xs2zl6c8mqdqfwqn7zlvc07g8qyhskr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc) + ("rust-libc" ,rust-libc) + ("rust-spin" ,rust-spin) + ("rust-untrusted" ,rust-untrusted) + ("rust-web-sys" ,rust-web-sys) + ("rust-winapi" ,rust-winapi) + ("rust-lazy-static" ,rust-lazy-static)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test)))) + (home-page "https://github.com/briansmith/ring") + (synopsis + "Safe, fast, small crypto using Rust") + (description + "Safe, fast, small crypto using Rust") + (license (license:non-copyleft "file://LICENSE")))) + +(define-public rust-ron + (package + (name "rust-ron") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ron" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mb2bavvp8jg5wx0kx9n45anrsbjwhjzddim987bjaa11hg45kif")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64) + ("rust-bitflags" ,rust-bitflags) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-serde-bytes" ,rust-serde-bytes) + ("rust-serde-json" ,rust-serde-json)))) + (home-page "https://github.com/ron-rs/ron") + (synopsis "Rusty Object Notation") + (description "Rusty Object Notation") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rustc-demangle + (package + (name "rust-rustc-demangle") + (version "0.1.15") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-demangle" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1brqf2bknkxsdzn3kd3wfifvzfc33bmvdy9r1k6fp4a8dz7xrx57")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-compiler-builtins" + ,rust-compiler-builtins) + ("rust-rustc-std-workspace-core" + ,rust-rustc-std-workspace-core)))) + (home-page + "https://github.com/alexcrichton/rustc-demangle") + (synopsis "Rust compiler symbol demangling.") + (description + "Rust compiler symbol demangling.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rustc-serialize + (package + (name "rust-rustc-serialize") + (version "0.3.24") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-serialize" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3)))) + (home-page + "https://github.com/rust-lang/rustc-serialize") + (synopsis + "Generic serialization/deserialization support corresponding to the `derive(RustcEncodable, RustcDecodable)` mode in the compiler. Also includes support for hex, base64, and json encoding and decoding.") + (description + "Generic serialization/deserialization support corresponding to the `derive(RustcEncodable, RustcDecodable)` mode in the compiler. Also includes support for hex, base64, and json encoding and decoding.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rustc-test + (package + (name "rust-rustc-test") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-test" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0a27mlcg0ck0hgsdvwk792x9z1k1qq1wj091f1l5yggbdbcsnx5w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-getopts" ,rust-getopts) + ("rust-libc" ,rust-libc) + ("rust-rustc-serialize" ,rust-rustc-serialize) + ("rust-term" ,rust-term) + ("rust-time" ,rust-time)) + #:cargo-development-inputs + (("rust-rustc-version" ,rust-rustc-version)))) + (home-page + "https://github.com/SimonSapin/rustc-test") + (synopsis + "A fork of Rustâ\x80\x99s `test` crate that doesnâ\x80\x99t require unstable language features.") + (description + "This package provides a fork of Rustâ\x80\x99s `test` crate that doesnâ\x80\x99t require unstable language features.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rustc-version + (package + (name "rust-rustc-version") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc_version" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "02h3x57lcr8l2pm0a645s9whdh33pn5cnrwvn5cb57vcrc53x3hk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-semver" ,rust-semver)))) + (home-page + "https://github.com/Kimundi/rustc-version-rs") + (synopsis + "A library for querying the version of a installed rustc compiler") + (description + "This package provides a library for querying the version of a installed rustc compiler") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rustls + (package + (name "rust-rustls") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17n0fx3fpkg4fhpdplrdhkissnl003kj90vzbqag11vkpyqihnmj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64) + ("rust-log" ,rust-log) + ("rust-ring" ,rust-ring) + ("rust-sct" ,rust-sct) + ("rust-webpki" ,rust-webpki)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion) + ("rust-env-logger" ,rust-env-logger) + ("rust-log" ,rust-log) + ("rust-tempfile" ,rust-tempfile) + ("rust-webpki-roots" ,rust-webpki-roots)))) + (home-page "https://github.com/ctz/rustls") + (synopsis + "Rustls is a modern TLS library written in Rust.") + (description + "Rustls is a modern TLS library written in Rust.") + (license (list license:asl2.0 + license:isc + license:expat)))) + +(define-public rust-ryu + (package + (name "rust-ryu") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ryu" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15r9z2wzgbj04pks4jz7y6wif5xqhf1wqkl2nd7qrvn08ys68969")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-no-panic" ,rust-no-panic)) + #:cargo-development-inputs + (("rust-num-cpus" ,rust-num-cpus) + ("rust-rand" ,rust-rand)))) + (home-page "https://github.com/dtolnay/ryu") + (synopsis + "Fast floating point to string conversion") + (description + "Fast floating point to string conversion") + (license (list license:asl2.0 + license:boost1.0)))) + +(define-public rust-same-file + (package + (name "rust-same-file") + (version "1.0.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "same-file" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-winapi-util" ,rust-winapi-util)))) + (home-page + "https://github.com/BurntSushi/same-file") + (synopsis + "A simple crate for determining whether two file paths point to the same file.") + (description + "This package provides a simple crate for determining whether two file paths point to the same file.") + (license (list license:unlicense + license:expat)))) + +(define-public rust-schannel + (package + (name "rust-schannel") + (version "0.1.15") + (source + (origin + (method url-fetch) + (uri (crate-uri "schannel" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static) + ("rust-winapi" ,rust-winapi)))) + (home-page "https://github.com/steffengy/schannel-rs") + (synopsis + "Rust bindings to the Windows SChannel APIs providing TLS client and server functionality.") + (description + "Rust bindings to the Windows SChannel APIs providing TLS client and server functionality.") + (license license:expat))) + +(define-public rust-scopeguard-0.3 + (package + (inherit rust-scopeguard) + (name "rust-scopeguard") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "scopeguard" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl")))))) + +(define-public rust-scroll + (package + (name "rust-scroll") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "scroll" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10q3w86bn22xrjlfg1c90dfi9c26qjkzn26nad0i9z8pxwad311g")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-scroll-derive" ,rust-scroll-derive) + ("rust-rustc-version" ,rust-rustc-version)) + #:cargo-development-inputs + (("rust-byteorder" ,rust-byteorder) + ("rust-rayon" ,rust-rayon)))) + (home-page "https://github.com/m4b/scroll") + (synopsis + "A suite of powerful, extensible, generic, endian-aware Read/Write traits for byte buffers") + (description + "This package provides a suite of powerful, extensible, generic, endian-aware Read/Write traits for byte buffers") + (license license:expat))) + +(define-public rust-scroll-derive + (package + (name "rust-scroll-derive") + (version "0.9.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "scroll_derive" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jqg5mm8nvii6avl1z1rc89agzh2kwkppgpsnwfakxg78mnaj6lg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn)) + #:cargo-development-inputs + (("rust-scroll" ,rust-scroll)))) + (home-page + "https://github.com/m4b/scroll_derive") + (synopsis + "A macros 1.1 derive implementation for Pread and Pwrite traits from the scroll crate") + (description + "This package provides a macros 1.1 derive implementation for Pread and Pwrite traits from the scroll crate") + (license license:expat))) + +(define-public rust-sct + (package + (name "rust-sct") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sct" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0g4dz7las43kcpi9vqv9c6l1afjkdv3g3w3s7d2w7a7w77wjl173")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ring" ,rust-ring) + ("rust-untrusted" ,rust-untrusted)))) + (home-page "https://github.com/ctz/sct.rs") + (synopsis + "Certificate transparency SCT verification library") + (description + "Certificate transparency SCT verification library") + (license (list license:asl2.0 + license:isc + license:expat)))) + +(define-public rust-seahash ; guix upstreamable + (package + (name "rust-seahash") + (version "3.0.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "seahash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1pr8ijnxnp68ki4m4740yc5mr01zijf86yx07wbsqzwiyhghdmhq")))) + (build-system cargo-build-system) + (home-page "https://gitlab.redox-os.org/redox-os/seahash") + (synopsis "Hash function with proven statistical guarantees") + (description "This package provides a blazingly fast, portable hash +function with proven statistical guarantees.") + (license license:expat))) + +(define-public rust-security-framework + (package + (name "rust-security-framework") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "security-framework" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hmdsdj061wk76g3fajbfjnw74p0q45hy8hfngp7diwy987kvrpf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-core-foundation" ,rust-core-foundation) + ("rust-core-foundation-sys" + ,rust-core-foundation-sys) + ("rust-libc" ,rust-libc) + ("rust-security-framework-sys" + ,rust-security-framework-sys)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex) + ("rust-tempdir" ,rust-tempdir)))) + (home-page + "https://lib.rs/crates/security_framework") + (synopsis + "Security.framework bindings for macOS and iOS") + (description + "Security.framework bindings for macOS and iOS") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-security-framework-sys + (package + (name "rust-security-framework-sys") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "security-framework-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0mlsakq9kmqyc0fg2hcbgm6rjk55mb0rhjw2wid3hqdzkjcghdln")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-core-foundation-sys" + ,rust-core-foundation-sys)))) + (home-page + "https://lib.rs/crates/security-framework-sys") + (synopsis + "Apple `Security.framework` low-level FFI bindings") + (description + "Apple `Security.framework` low-level FFI bindings") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-select-rustc + (package + (name "rust-select-rustc") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "select-rustc" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0daqd56smi93g59nz43n4mh3d8whr6j5pa8dmwlf8bd76mdy3cpx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn)))) + (home-page + "https://github.com/dtolnay/select-rustc") + (synopsis + "Conditional compilation according to rustc compiler version") + (description + "Conditional compilation according to rustc compiler version") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-semver + (package + (name "rust-semver") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "semver" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "00q4lkcj0rrgbhviv9sd4p6qmdsipkwkbra7rh11jrhq5kpvjzhx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-semver-parser" ,rust-semver-parser-0.7) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-crates-index" ,rust-crates-index) + ("rust-serde-derive" ,rust-serde-derive) + ("rust-serde-json" ,rust-serde-json) + ("rust-tempdir" ,rust-tempdir)))) + (home-page "https://docs.rs/crate/semver/") + (synopsis + "Semantic version parsing and comparison.") + (description + "Semantic version parsing and comparison.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-semver-parser-0.7 + (package + (inherit rust-semver-parser) + (name "rust-semver-parser") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "semver-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18vhypw6zgccnrlm5ps1pwa0khz7ry927iznpr88b87cagr1v2iq")))))) + +(define-public rust-serde + (package + (name "rust-serde") + (version "1.0.97") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wlvfs82flb3di86m3nzf1m4vkc78vqcwrk865s0ldhrvgz3ssyl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde-derive" ,rust-serde-derive)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive)))) + (home-page "https://serde.rs") + (synopsis + "A generic serialization/deserialization framework") + (description + "This package provides a generic serialization/deserialization framework") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-serde-big-array + (package + (name "rust-serde-big-array") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde-big-array" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0gkyqxk760mp1lfcg6lhjk95ajc89nr0qdd0vl4ic0g8pyxcy9mr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive)) + #:cargo-development-inputs + (("rust-serde-json" ,rust-serde-json)))) + (home-page + "https://github.com/est31/serde-big-array") + (synopsis "Big array helper for serde.") + (description "Big array helper for serde.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-serde-bytes + (package + (name "rust-serde-bytes") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_bytes" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0sc5n336i7q4fiij4l8f892zcirgybrbxzl8bp51qxzqdvdlgzxa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode) + ("rust-serde-derive" ,rust-serde-derive) + ("rust-serde-test" ,rust-serde-test)))) + (home-page "https://github.com/serde-rs/bytes") + (synopsis + "Optimized handling of `&[u8]` and `Vec` for Serde") + (description + "Optimized handling of `&[u8]` and `Vec` for Serde") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-serde-cbor + (package + (name "rust-serde-cbor") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_cbor" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0jcb4j637vdlqk2z38jixaqmp6f92h36r17kclv5brjay32911ii")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder) + ("rust-half" ,rust-half) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive)))) + (home-page "https://github.com/pyfisch/cbor") + (synopsis "CBOR support for serde.") + (description "CBOR support for serde.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-serde-derive + (package + (name "rust-serde-derive") + (version "1.0.97") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_derive" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0zq2qm2gabmpa57wxfxb09jl41nxccsk454715xjabzymlh0han2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn)) + #:cargo-development-inputs + (("rust-serde" ,rust-serde)))) + (home-page "https://serde.rs") + (synopsis + "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]") + (description + "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-serde-json + (package + (name "rust-serde-json") + (version "1.0.40") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_json" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "010pa89zx07aqx1cwgw2a603wcp3q5n2iy0k71ppqbr8kwi4j705")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-indexmap" ,rust-indexmap) + ("rust-itoa" ,rust-itoa) + ("rust-ryu" ,rust-ryu) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-automod" ,rust-automod) + ("rust-select-rustc" ,rust-select-rustc) + ("rust-serde-bytes" ,rust-serde-bytes) + ("rust-serde-derive" ,rust-serde-derive) + ("rust-serde-stacker" ,rust-serde-stacker) + ("rust-trybuild" ,rust-trybuild)))) + (home-page "https://github.com/serde-rs/json") + (synopsis "A JSON serialization file format") + (description + "This package provides a JSON serialization file format") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-serde-json-1.0.39 + (package + (inherit rust-serde-json) + (name "rust-serde-json") + (version "1.0.39") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_json" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03fl9l680gij0hrsr2csfm8nm858igvfy05czbdkzm54siqsl8ss")))))) + +(define-public rust-serde-stacker + (package + (name "rust-serde-stacker") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_stacker" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jn54i5m1mlc6nm47f96k85fgjs9mhpbbqa4dvd5xjbivkdw55ic")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde) + ("rust-stacker" ,rust-stacker)) + #:cargo-development-inputs + (("rust-serde-json" ,rust-serde-json)))) + (home-page + "https://github.com/dtolnay/serde-stacker") + (synopsis + "Serde adapter that avoids stack overflow by dynamically growing the stack") + (description + "Serde adapter that avoids stack overflow by dynamically growing the stack") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-serde-test + (package + (name "rust-serde-test") + (version "1.0.97") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_test" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0i17jdgy18rcp19v6h4shim27l99q3vc7pzr2xaa2g0rjq9p6lr2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive)))) + (home-page "https://serde.rs") + (synopsis + "Token De/Serializer for testing De/Serialize implementations") + (description + "Token De/Serializer for testing De/Serialize implementations") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-serde-yaml + (package + (name "rust-serde-yaml") + (version "0.8.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_yaml" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10mmjpnshgrwij01a13679nxy1hnh5yfr0343kh0y9p5j2d8mc1q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-dtoa" ,rust-dtoa) + ("rust-linked-hash-map" ,rust-linked-hash-map) + ("rust-serde" ,rust-serde) + ("rust-yaml-rust" ,rust-yaml-rust)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive) + ("rust-unindent" ,rust-unindent) + ("rust-version-sync" ,rust-version-sync)))) + (home-page + "https://github.com/dtolnay/serde-yaml") + (synopsis "YAML support for Serde") + (description "YAML support for Serde") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-sha-1 + (package + (name "rust-sha-1") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha-1" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0s6fdy5wp3x4h2z4fcl2d9vjvrpzr87v4h49r51xcq8nm4qj35i3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-block-buffer" ,rust-block-buffer) + ("rust-digest" ,rust-digest) + ("rust-fake-simd" ,rust-fake-simd) + ("rust-opaque-debug" ,rust-opaque-debug) + ("rust-sha1-asm" ,rust-sha1-asm)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest) + ("rust-hex-literal" ,rust-hex-literal)))) + (home-page + "https://github.com/RustCrypto/hashes") + (synopsis "SHA-1 hash function") + (description "SHA-1 hash function") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-sha1 (package - (name "rust-redox-syscall") - (version "0.1.56") + (name "rust-sha1") + (version "0.6.0") (source (origin (method url-fetch) - (uri (crate-uri "redox_syscall" version)) - (file-name (string-append name "-" version ".tar.gz")) + (uri (crate-uri "sha1" version)) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "110y7dyfm2vci4x5vk7gr0q551dvp31npl99fnsx2fb17wzwcf94")))) + (base32 + "03gs2q4m67rn2p8xcdfxhip6mpgahdwm12bnb3vh90ahv9grhy95")))) (build-system cargo-build-system) - (home-page "https://gitlab.redox-os.org/redox-os/syscall") - (synopsis "Rust library to access raw Redox system calls") - (description "This package provides a Rust library to access raw Redox -system calls.") - (license license:expat))) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl) + ("rust-rand" ,rust-rand) + ("rust-serde-json" ,rust-serde-json)))) + (home-page + "https://github.com/mitsuhiko/rust-sha1") + (synopsis + "Minimal implementation of SHA1 for Rust.") + (description + "Minimal implementation of SHA1 for Rust.") + (license license:bsd-3))) -(define-public rust-redox-users +(define-public rust-sleef-sys (package - (name "rust-redox-users") - (version "0.3.0") + (name "rust-sleef-sys") + (version "0.1.2") (source (origin (method url-fetch) - (uri (crate-uri "redox_users" version)) + (uri (crate-uri "sleef-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0a1q5jv76vj1mwmqf2mmhknmkpw5wndx91gjfgg7vs8p79621r9z")))) + "1881q2yc17j2m1yvh01447c93ws1mspnrj3k2nbvwbvcm8z81kkv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-argon2rs" ,rust-argon2rs) - ("rust-failure" ,rust-failure) - ("rust-rand-os" ,rust-rand-os) - ("rust-redox-syscall" ,rust-redox-syscall)))) - (home-page - "https://gitlab.redox-os.org/redox-os/users") + (("rust-cfg-if" ,rust-cfg-if) + ("rust-libc" ,rust-libc)) + #:cargo-development-inputs + (("rust-bindgen" ,rust-bindgen) + ("rust-cmake" ,rust-cmake) + ("rust-env-logger" ,rust-env-logger)))) + (home-page "https://github.com/gnzlbg/sleef-sys") (synopsis - "A Rust library to access Redox users and groups functionality") + "Rust FFI bindings to the SLEEF Vectorized Math Library") (description - "This package provides a Rust library to access Redox users and groups functionality") - (license #f))) + "Rust FFI bindings to the SLEEF Vectorized Math Library") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-ref-cast +(define-public rust-slog (package - (name "rust-ref-cast") - (version "0.2.6") + (name "rust-slog") + (version "2.5.2") (source (origin (method url-fetch) - (uri (crate-uri "ref-cast" version)) + (uri (crate-uri "slog" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0jgj1zxaikqm030flpifbp517fy4z21lly6ysbwyciii39bkzcf1")))) + "16bv6zrdn1sm315vbnia02g31xvsmbjyz5gv3z0vrgxdli0cdj8w")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-ref-cast-impl" ,rust-ref-cast-impl)))) - (home-page "https://github.com/dtolnay/ref-cast") + (("rust-erased-serde" ,rust-erased-serde)))) + (home-page "https://github.com/slog-rs/slog") (synopsis - "Safely cast &T to &U where the struct U contains a single field of type T.") + "Structured, extensible, composable logging for Rust") (description - "Safely cast &T to &U where the struct U contains a single field of type T.") + "Structured, extensible, composable logging for Rust") (license (list license:asl2.0 + license:mpl2.0 license:expat)))) -(define-public rust-ref-cast-impl +(define-public rust-smallvec (package - (name "rust-ref-cast-impl") - (version "0.2.6") + (name "rust-smallvec") + (version "0.6.10") (source (origin (method url-fetch) - (uri (crate-uri "ref-cast-impl" version)) + (uri (crate-uri "smallvec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0hw0frpzna5rf5szix56zyzd0vackcb3svj94ndj629xi75dkb32")))) + "1dyl43rgzny79jjpgzi07y0ly2ggx1xwsn64csxj0j91bsf6lq5b")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote) - ("rust-syn" ,rust-syn)))) - (home-page "https://github.com/dtolnay/ref-cast") + (("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode)))) + (home-page + "https://github.com/servo/rust-smallvec") (synopsis - "Derive implementation for ref_cast::RefCast.") + "'Small vector' optimization for Rust: store up to a small number of items on the stack") (description - "Derive implementation for ref_cast::RefCast.") + "'Small vector' optimization for Rust: store up to a small number of items on the stack") (license (list license:asl2.0 license:expat)))) -(define-public rust-regex +(define-public rust-socket2 (package - (name "rust-regex") - (version "1.2.0") + (name "rust-socket2") + (version "0.3.11") (source (origin (method url-fetch) - (uri (crate-uri "regex" version)) + (uri (crate-uri "socket2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1k6jpx0bqlg6vb8rsdnlmcw2szczbl51j047w3blpa4qzn6xl8vb")))) + "11bdcz04i106g4q7swkll0qxrb4287srqd2k3aq2q6i22zjlvdz8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-aho-corasick" ,rust-aho-corasick) - ("rust-memchr" ,rust-memchr) - ("rust-regex-syntax" ,rust-regex-syntax) - ("rust-thread-local" ,rust-thread-local) - ("rust-utf8-ranges" ,rust-utf8-ranges)) + (("rust-cfg-if" ,rust-cfg-if) + ("rust-libc" ,rust-libc) + ("rust-redox-syscall" ,rust-redox-syscall) + ("rust-winapi" ,rust-winapi)) #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment) - ("rust-lazy-static" ,rust-lazy-static) - ("rust-quickcheck" ,rust-quickcheck) - ("rust-rand" ,rust-rand)))) - (home-page "https://github.com/rust-lang/regex") + (("rust-tempdir" ,rust-tempdir)))) + (home-page + "https://github.com/alexcrichton/socket2-rs") (synopsis - "An implementation of regular expressions for Rust. This implementation uses - finite automata and guarantees linear time matching on all inputs.") + "Utilities for handling networking sockets with a maximal amount of configuration possible intended.") (description - "An implementation of regular expressions for Rust. This implementation uses - finite automata and guarantees linear time matching on all inputs.") + "Utilities for handling networking sockets with a maximal amount of configuration possible intended.") (license (list license:asl2.0 license:expat)))) -(define-public rust-regex-syntax +(define-public rust-socks (package - (name "rust-regex-syntax") - (version "0.6.10") + (name "rust-socks") + (version "0.3.2") (source (origin (method url-fetch) - (uri (crate-uri "regex-syntax" version)) + (uri (crate-uri "socks" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d")))) + "1hnbw4c4j7dn9n3bd1v7ddkdzlxlzkfw3z29da1nxlj6jgx4r9p6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-ucd-util" ,rust-ucd-util)))) - (home-page "https://github.com/rust-lang/regex") - (synopsis "A regular expression parser.") + (("rust-byteorder" ,rust-byteorder) + ("rust-libc" ,rust-libc) + ("rust-winapi" ,rust-winapi) + ("rust-ws2-32-sys" ,rust-ws2-32-sys)))) + (home-page "https://github.com/sfackler/rust-socks") + (synopsis + "SOCKS proxy support for Rust.") (description - "This package provides a regular expression parser.") + "SOCKS proxy support for Rust.") (license (list license:asl2.0 license:expat)))) -(define-public rust-remove-dir-all +(define-public rust-sourcefile (package - (name "rust-remove-dir-all") - (version "0.5.2") + (name "rust-sourcefile") + (version "0.1.4") (source (origin (method url-fetch) - (uri (crate-uri "remove_dir_all" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "sourcefile" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa")))) + (base32 + "1lwa6973zs4bgj29my7agfjgk4nw9hp6j7dfnr13nid85fw7rxsb")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-winapi" ,rust-winapi)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment)))) - (home-page - "https://github.com/XAMPPRocky/remove_dir_all.git") + `(#:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile)))) + (home-page "https://github.com/derekdreery/sourcefile-rs") (synopsis - "A safe, reliable implementation of remove_dir_all for Windows") + "A library for concatenating source from multiple files, whilst keeping track of where each new file and line starts.") (description - "This package provides a safe, reliable implementation of remove_dir_all for Windows") + "A library for concatenating source from multiple files, whilst keeping track of where each new file and line starts.") (license (list license:asl2.0 license:expat)))) -(define-public rust-ron +(define-public rust-spmc (package - (name "rust-ron") - (version "0.5.1") + (name "rust-spmc") + (version "0.3.0") (source (origin (method url-fetch) - (uri (crate-uri "ron" version)) + (uri (crate-uri "spmc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1mb2bavvp8jg5wx0kx9n45anrsbjwhjzddim987bjaa11hg45kif")))) + "1rgcqgj6b3d0cshi7277akr2xk0cx11rkmviaahy7a3pla6l5a02")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64) - ("rust-bitflags" ,rust-bitflags) - ("rust-serde" ,rust-serde)) - #:cargo-development-inputs - (("rust-serde-bytes" ,rust-serde-bytes) - ("rust-serde-json" ,rust-serde-json)))) - (home-page "https://github.com/ron-rs/ron") - (synopsis "Rusty Object Notation") - (description "Rusty Object Notation") + `(#:cargo-development-inputs + (("rust-loom" ,rust-loom)))) + (home-page + "https://github.com/seanmonstar/spmc") + (synopsis + "Simple SPMC channel") + (description + "Simple SPMC channel") (license (list license:asl2.0 license:expat)))) -(define-public rust-rustc-demangle +(define-public rust-stable-deref-trait (package - (name "rust-rustc-demangle") - (version "0.1.15") + (name "rust-stable-deref-trait") + (version "1.1.1") (source (origin (method url-fetch) - (uri (crate-uri "rustc-demangle" version)) + (uri (crate-uri "stable_deref_trait" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1brqf2bknkxsdzn3kd3wfifvzfc33bmvdy9r1k6fp4a8dz7xrx57")))) + "1j2lkgakksmz4vc5hfawcch2ipiskrhjs1sih0f3br7s7rys58fv")))) (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-compiler-builtins" - ,rust-compiler-builtins) - ("rust-rustc-std-workspace-core" - ,rust-rustc-std-workspace-core)))) (home-page - "https://github.com/alexcrichton/rustc-demangle") - (synopsis "Rust compiler symbol demangling.") + "https://github.com/storyyeller/stable_deref_trait0") + (synopsis + "This crate defines an unsafe marker trait, StableDeref, for container types which deref to a fixed address which is valid even when the containing type is moved. For example, Box, Vec, Rc, Arc and String implement this trait. Additionally, it defines CloneStableDeref for types like Rc where clones deref to the same address.") (description - "Rust compiler symbol demangling.") + "This crate defines an unsafe marker trait, StableDeref, for container types which deref to a fixed address which is valid even when the containing type is moved. For example, Box, Vec, Rc, Arc and String implement this trait. Additionally, it defines CloneStableDeref for types like Rc where clones deref to the same address.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rustc-serialize +(define-public rust-stacker (package - (name "rust-rustc-serialize") - (version "0.3.24") + (name "rust-stacker") + (version "0.1.5") (source (origin (method url-fetch) - (uri (crate-uri "rustc-serialize" version)) + (uri (crate-uri "stacker" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw")))) + "0js0axz5nla1mkr2dm2vrv9rj964ng1lrv4l43sqlnfgawplhygv")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-rand" ,rust-rand-0.3)))) + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if) + ("rust-libc" ,rust-libc) + ("rust-winapi" ,rust-winapi) + ("rust-cc" ,rust-cc)))) (home-page - "https://github.com/rust-lang/rustc-serialize") + "https://github.com/alexcrichton/stacker") (synopsis - "Generic serialization/deserialization support corresponding to the `derive(RustcEncodable, RustcDecodable)` mode in the compiler. Also includes support for hex, base64, and json encoding and decoding.") + "A stack growth library useful when implementing deeply recursive algorithms that + may accidentally blow the stack.") (description - "Generic serialization/deserialization support corresponding to the `derive(RustcEncodable, RustcDecodable)` mode in the compiler. Also includes support for hex, base64, and json encoding and decoding.") + "This package provides a stack growth library useful when implementing deeply recursive algorithms that + may accidentally blow the stack.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rustc-test +(define-public rust-stdweb (package - (name "rust-rustc-test") - (version "0.3.0") + (name "rust-stdweb") + (version "0.4.18") (source (origin (method url-fetch) - (uri (crate-uri "rustc-test" version)) + (uri (crate-uri "stdweb" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0a27mlcg0ck0hgsdvwk792x9z1k1qq1wj091f1l5yggbdbcsnx5w")))) + "1srsjarj36f57ibr63n70bgy250yb72a73g14b80wh7piki0r356")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-getopts" ,rust-getopts) - ("rust-libc" ,rust-libc) - ("rust-rustc-serialize" ,rust-rustc-serialize) - ("rust-term" ,rust-term) - ("rust-time" ,rust-time)) + (("rust-discard" ,rust-discard) + ("rust-futures-channel-preview" + ,rust-futures-channel-preview) + ("rust-futures-core-preview" + ,rust-futures-core-preview) + ("rust-futures-executor-preview" + ,rust-futures-executor-preview) + ("rust-futures-util-preview" + ,rust-futures-util-preview) + ("rust-rustc-version" ,rust-rustc-version) + ("rust-serde" ,rust-serde) + ("rust-serde-json" ,rust-serde-json) + ("rust-stdweb-derive" ,rust-stdweb-derive) + ("rust-stdweb-internal-macros" + ,rust-stdweb-internal-macros) + ("rust-stdweb-internal-runtime" + ,rust-stdweb-internal-runtime) + ("rust-wasm-bindgen" ,rust-wasm-bindgen)) #:cargo-development-inputs - (("rust-rustc-version" ,rust-rustc-version)))) - (home-page - "https://github.com/SimonSapin/rustc-test") + (("rust-rustc-version" ,rust-rustc-version) + ("rust-serde-derive" ,rust-serde-derive) + ("rust-serde-json" ,rust-serde-json) + ("rust-stdweb-internal-test-macro" + ,rust-stdweb-internal-test-macro) + ("rust-wasm-bindgen-test" + ,rust-wasm-bindgen-test)))) + (home-page "https://github.com/koute/stdweb") (synopsis - "A fork of Rustâ\x80\x99s `test` crate that doesnâ\x80\x99t require unstable language features.") + "A standard library for the client-side Web") (description - "This package provides a fork of Rustâ\x80\x99s `test` crate that doesnâ\x80\x99t require unstable language features.") + "This package provides a standard library for the client-side Web") (license (list license:asl2.0 license:expat)))) -(define-public rust-rustc-version +(define-public rust-stdweb-derive (package - (name "rust-rustc-version") - (version "0.2.3") + (name "rust-stdweb-derive") + (version "0.5.1") (source (origin (method url-fetch) - (uri (crate-uri "rustc_version" version)) + (uri (crate-uri "stdweb-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "02h3x57lcr8l2pm0a645s9whdh33pn5cnrwvn5cb57vcrc53x3hk")))) + "0c1rxx6rqcc4iic5hx320ki3vshpi8k58m5600iqzq4x2zcyn88f")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-semver" ,rust-semver)))) - (home-page - "https://github.com/Kimundi/rustc-version-rs") - (synopsis - "A library for querying the version of a installed rustc compiler") + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive) + ("rust-syn" ,rust-syn)))) + (home-page "https://github.com/koute/stdweb") + (synopsis "Derive macros for the `stdweb` crate") (description - "This package provides a library for querying the version of a installed rustc compiler") + "Derive macros for the `stdweb` crate") (license (list license:asl2.0 license:expat)))) -(define-public rust-ryu +(define-public rust-stdweb-internal-macros (package - (name "rust-ryu") - (version "1.0.0") + (name "rust-stdweb-internal-macros") + (version "0.2.7") (source (origin (method url-fetch) - (uri (crate-uri "ryu" version)) + (uri (crate-uri "stdweb-internal-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "15r9z2wzgbj04pks4jz7y6wif5xqhf1wqkl2nd7qrvn08ys68969")))) + "1yjrmkc6sb1035avic383pa3avk2s9k3n17yjcza8yb9nw47v3z6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-no-panic" ,rust-no-panic)) - #:cargo-development-inputs - (("rust-num-cpus" ,rust-num-cpus) - ("rust-rand" ,rust-rand)))) - (home-page "https://github.com/dtolnay/ryu") + (("rust-base-x" ,rust-base-x) + ("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive) + ("rust-serde-json" ,rust-serde-json) + ("rust-sha1" ,rust-sha1) + ("rust-syn" ,rust-syn)))) + (home-page "https://github.com/koute/stdweb") (synopsis - "Fast floating point to string conversion") + "Internal procedural macros for the `stdweb` crate") (description - "Fast floating point to string conversion") + "Internal procedural macros for the `stdweb` crate") (license (list license:asl2.0 - license:boost1.0)))) + license:expat)))) -(define-public rust-same-file +(define-public rust-stdweb-internal-test-macro (package - (name "rust-same-file") - (version "1.0.5") + (name "rust-stdweb-internal-test-macro") + (version "0.1.0") (source (origin (method url-fetch) - (uri (crate-uri "same-file" version)) + (uri (crate-uri "stdweb-internal-test-macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq")))) + "12rrm7p77xnm3xacgn3rgniiyyjb4gq7902wpbljsvbx045z69l2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-winapi-util" ,rust-winapi-util)))) - (home-page - "https://github.com/BurntSushi/same-file") - (synopsis - "A simple crate for determining whether two file paths point to the same file.") + (("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote)))) + (home-page "https://github.com/koute/stdweb") + (synopsis "Internal crate of the `stdweb` crate") (description - "This package provides a simple crate for determining whether two file paths point to the same file.") - (license (list license:unlicense + "Internal crate of the `stdweb` crate") + (license (list license:asl2.0 license:expat)))) -(define-public rust-scopeguard-0.3 +(define-public rust-stream-cipher (package - (inherit rust-scopeguard) - (name "rust-scopeguard") - (version "0.3.3") + (name "rust-stream-cipher") + (version "0.3.0") (source (origin (method url-fetch) - (uri (crate-uri "scopeguard" version)) + (uri (crate-uri "stream-cipher" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl")))))) + (base32 + "1g1nd8r6pph70rzk5yyvg7a9ji7pkap9ddiqpp4v9xa9ys0bqqc8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby) + ("rust-generic-array" ,rust-generic-array)))) + (home-page + "https://github.com/RustCrypto/traits") + (synopsis "Stream cipher traits") + (description "Stream cipher traits") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-scroll +(define-public rust-streaming-stats (package - (name "rust-scroll") - (version "0.9.2") + (name "rust-streaming-stats") + (version "0.2.2") (source (origin (method url-fetch) - (uri (crate-uri "scroll" version)) + (uri (crate-uri "streaming-stats" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "10q3w86bn22xrjlfg1c90dfi9c26qjkzn26nad0i9z8pxwad311g")))) + "0l7xz4g6709s80zqpvlhrg0qhgz64r94cwhmfsg8xhabgznbp2px")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-scroll-derive" ,rust-scroll-derive) - ("rust-rustc-version" ,rust-rustc-version)) - #:cargo-development-inputs - (("rust-byteorder" ,rust-byteorder) - ("rust-rayon" ,rust-rayon)))) - (home-page "https://github.com/m4b/scroll") + (("rust-num-traits" ,rust-num-traits)))) + (home-page + "https://github.com/BurntSushi/rust-stats") (synopsis - "A suite of powerful, extensible, generic, endian-aware Read/Write traits for byte buffers") + "Experimental crate for computing basic statistics on streams.") (description - "This package provides a suite of powerful, extensible, generic, endian-aware Read/Write traits for byte buffers") - (license license:expat))) + "Experimental crate for computing basic statistics on streams.") + (license (list license:unlicense + license:expat)))) -(define-public rust-scroll-derive +(define-public rust-string (package - (name "rust-scroll-derive") - (version "0.9.5") + (name "rust-string") + (version "0.2.1") (source (origin (method url-fetch) - (uri (crate-uri "scroll_derive" version)) + (uri (crate-uri "string" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1jqg5mm8nvii6avl1z1rc89agzh2kwkppgpsnwfakxg78mnaj6lg")))) + "0vaxz85ja52fn66akgvggb29wqa5bpj3y38syykpr1pbrjzi8hfj")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote) - ("rust-syn" ,rust-syn)) - #:cargo-development-inputs - (("rust-scroll" ,rust-scroll)))) + `(#:cargo-inputs (("rust-bytes" ,rust-bytes)))) (home-page - "https://github.com/m4b/scroll_derive") + "https://github.com/carllerche/string") (synopsis - "A macros 1.1 derive implementation for Pread and Pwrite traits from the scroll crate") + "A UTF-8 encoded string with configurable byte storage.") (description - "This package provides a macros 1.1 derive implementation for Pread and Pwrite traits from the scroll crate") + "This package provides a UTF-8 encoded string with configurable byte storage.") (license license:expat))) -(define-public rust-seahash ; guix upstreamable +(define-public rust-strsim-0.8 (package - (name "rust-seahash") - (version "3.0.6") + (inherit rust-strsim) + (name "rust-strsim") + (version "0.8.0") (source (origin (method url-fetch) - (uri (crate-uri "seahash" version)) + (uri (crate-uri "strsim" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1pr8ijnxnp68ki4m4740yc5mr01zijf86yx07wbsqzwiyhghdmhq")))) - (build-system cargo-build-system) - (home-page "https://gitlab.redox-os.org/redox-os/seahash") - (synopsis "Hash function with proven statistical guarantees") - (description "This package provides a blazingly fast, portable hash -function with proven statistical guarantees.") - (license license:expat))) + "0sjsm7hrvjdifz661pjxq5w4hf190hx53fra8dfvamacvff139cf")))))) -(define-public rust-select-rustc +(define-public rust-structopt (package - (name "rust-select-rustc") - (version "0.1.2") + (name "rust-structopt") + (version "0.2.18") (source (origin (method url-fetch) - (uri (crate-uri "select-rustc" version)) + (uri (crate-uri "structopt" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0daqd56smi93g59nz43n4mh3d8whr6j5pa8dmwlf8bd76mdy3cpx")))) + (base32 + "1mvfv1l8vp3y402fkl2wcl34hi7gmr4bqha13dfz2xf3kjzwvhhn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote) - ("rust-syn" ,rust-syn)))) + (("rust-clap" ,rust-clap) + ("rust-structopt-derive" ,rust-structopt-derive)))) (home-page - "https://github.com/dtolnay/select-rustc") + "https://github.com/TeXitoi/structopt") (synopsis - "Conditional compilation according to rustc compiler version") + "Parse command line argument by defining a struct.") (description - "Conditional compilation according to rustc compiler version") + "Parse command line argument by defining a struct.") (license (list license:asl2.0 license:expat)))) -(define-public rust-semver +(define-public rust-structopt-derive (package - (name "rust-semver") - (version "0.9.0") + (name "rust-structopt-derive") + (version "0.2.18") (source (origin (method url-fetch) - (uri (crate-uri "semver" version)) + (uri (crate-uri "structopt-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "00q4lkcj0rrgbhviv9sd4p6qmdsipkwkbra7rh11jrhq5kpvjzhx")))) + "01sis9z5kqmyhvzbnmlzpdxcry99a0b9blypksgnhdsbm1hh40ak")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-semver-parser" ,rust-semver-parser-0.7) - ("rust-serde" ,rust-serde)) - #:cargo-development-inputs - (("rust-crates-index" ,rust-crates-index) - ("rust-serde-derive" ,rust-serde-derive) - ("rust-serde-json" ,rust-serde-json) - ("rust-tempdir" ,rust-tempdir)))) - (home-page "https://docs.rs/crate/semver/") + (("rust-heck" ,rust-heck) + ("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn)))) + (home-page + "https://github.com/TeXitoi/structopt") (synopsis - "Semantic version parsing and comparison.") + "Parse command line argument by defining a struct, derive crate.") (description - "Semantic version parsing and comparison.") + "Parse command line argument by defining a struct, derive crate.") (license (list license:asl2.0 license:expat)))) -(define-public rust-semver-parser-0.7 +(define-public rust-syn (package - (inherit rust-semver-parser) - (name "rust-semver-parser") - (version "0.7.0") + (name "rust-syn") + (version "0.15.42") (source (origin (method url-fetch) - (uri (crate-uri "semver-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) + (uri (crate-uri "syn" version)) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "18vhypw6zgccnrlm5ps1pwa0khz7ry927iznpr88b87cagr1v2iq")))))) + (base32 + "0png5pz7jjjj39xy8w7qr65y3s9qam0jpz6nbmal06m5dhq0kp7a")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-unicode-xid" ,rust-unicode-xid)) + #:cargo-development-inputs + (("rust-insta" ,rust-insta) + ("rust-rayon" ,rust-rayon) + ("rust-ref-cast" ,rust-ref-cast) + ("rust-regex" ,rust-regex) + ("rust-termcolor" ,rust-termcolor) + ("rust-walkdir" ,rust-walkdir)))) + (home-page "https://github.com/dtolnay/syn") + (synopsis "Parser for Rust source code") + (description "Parser for Rust source code") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-serde +(define-public rust-synstructure (package - (name "rust-serde") - (version "1.0.97") + (name "rust-synstructure") + (version "0.11.0") (source (origin (method url-fetch) - (uri (crate-uri "serde" version)) + (uri (crate-uri "synstructure" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0wlvfs82flb3di86m3nzf1m4vkc78vqcwrk865s0ldhrvgz3ssyl")))) + "1spqy31qcss57mciklc4nky4v778fvqs9qwdjgvnmf0hr5ichcca")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-serde-derive" ,rust-serde-derive)) + (("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn) + ("rust-unicode-xid" ,rust-unicode-xid)) #:cargo-development-inputs - (("rust-serde-derive" ,rust-serde-derive)))) - (home-page "https://serde.rs") + (("rust-synstructure-test-traits" + ,rust-synstructure-test-traits)))) + (home-page + "https://github.com/mystor/synstructure") (synopsis - "A generic serialization/deserialization framework") + "Helper methods and macros for custom derives") (description - "This package provides a generic serialization/deserialization framework") - (license (list license:asl2.0 - license:expat)))) + "Helper methods and macros for custom derives") + (license license:expat))) -(define-public rust-serde-big-array +(define-public rust-tar (package - (name "rust-serde-big-array") - (version "0.1.5") + (name "rust-tar") + (version "0.4.26") (source (origin (method url-fetch) - (uri (crate-uri "serde-big-array" version)) + (uri (crate-uri "tar" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0gkyqxk760mp1lfcg6lhjk95ajc89nr0qdd0vl4ic0g8pyxcy9mr")))) + "1lr6v3cpkfxd2lk5ll2jd8wr1xdskwj35smnh5sfb8xvzzxnn6dk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-serde" ,rust-serde) - ("rust-serde-derive" ,rust-serde-derive)) + (("rust-filetime" ,rust-filetime) + ("rust-libc" ,rust-libc) + ("rust-redox-syscall" ,rust-redox-syscall) + ("rust-xattr" ,rust-xattr)) #:cargo-development-inputs - (("rust-serde-json" ,rust-serde-json)))) + (("rust-tempdir" ,rust-tempdir)))) (home-page - "https://github.com/est31/serde-big-array") - (synopsis "Big array helper for serde.") - (description "Big array helper for serde.") + "https://github.com/alexcrichton/tar-rs") + (synopsis + "A Rust implementation of a TAR file reader and writer. This library does not + currently handle compression, but it is abstract over all I/O readers and + writers. Additionally, great lengths are taken to ensure that the entire + contents are never required to be entirely resident in memory all at once.") + (description + "This package provides a Rust implementation of a TAR file reader and writer. This library does not + currently handle compression, but it is abstract over all I/O readers and + writers. Additionally, great lengths are taken to ensure that the entire + contents are never required to be entirely resident in memory all at once.") (license (list license:asl2.0 license:expat)))) -(define-public rust-serde-bytes +(define-public rust-target-lexicon (package - (name "rust-serde-bytes") - (version "0.11.1") + (name "rust-target-lexicon") + (version "0.4.0") (source (origin (method url-fetch) - (uri (crate-uri "serde_bytes" version)) + (uri (crate-uri "target-lexicon" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0sc5n336i7q4fiij4l8f892zcirgybrbxzl8bp51qxzqdvdlgzxa")))) + "1jrdch22pvm8r9fwx6d051l4yhac16lq6sn4q5fc6ic95fcb82hv")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode) - ("rust-serde-derive" ,rust-serde-derive) - ("rust-serde-test" ,rust-serde-test)))) - (home-page "https://github.com/serde-rs/bytes") + `(#:cargo-inputs + (("rust-failure" ,rust-failure) + ("rust-failure-derive" ,rust-failure-derive) + ("rust-serde-json" ,rust-serde-json)))) + (home-page "https://github.com/CraneStation/target-lexicon") (synopsis - "Optimized handling of `&[u8]` and `Vec` for Serde") + "This is a library for managing targets for compilers and related tools.") (description - "Optimized handling of `&[u8]` and `Vec` for Serde") - (license (list license:asl2.0 - license:expat)))) + "This is a library for managing targets for compilers and related tools.") + (license license:asl2.0))) ; with LLVM exception -(define-public rust-serde-cbor +(define-public rust-tempdir (package - (name "rust-serde-cbor") - (version "0.10.1") + (name "rust-tempdir") + (version "0.3.7") (source (origin (method url-fetch) - (uri (crate-uri "serde_cbor" version)) + (uri (crate-uri "tempdir" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0jcb4j637vdlqk2z38jixaqmp6f92h36r17kclv5brjay32911ii")))) + "1n5n86zxpgd85y0mswrp5cfdisizq2rv3la906g6ipyc03xvbwhm")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder) - ("rust-half" ,rust-half) - ("rust-serde" ,rust-serde)) - #:cargo-development-inputs - (("rust-serde-derive" ,rust-serde-derive)))) - (home-page "https://github.com/pyfisch/cbor") - (synopsis "CBOR support for serde.") - (description "CBOR support for serde.") + (("rust-rand" ,rust-rand-0.4) + ("rust-remove-dir-all" ,rust-remove-dir-all)))) + (home-page + "https://github.com/rust-lang/tempdir") + (synopsis + "A library for managing a temporary directory and deleting all contents when it's dropped.") + (description + "This package provides a library for managing a temporary directory and deleting all contents when it's dropped.") (license (list license:asl2.0 license:expat)))) -(define-public rust-serde-derive +(define-public rust-tempfile (package - (name "rust-serde-derive") - (version "1.0.97") + (name "rust-tempfile") + (version "3.1.0") (source (origin (method url-fetch) - (uri (crate-uri "serde_derive" version)) + (uri (crate-uri "tempfile" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0zq2qm2gabmpa57wxfxb09jl41nxccsk454715xjabzymlh0han2")))) + "1a9cfdqw70n7bcnkx05aih9xdba8lqazmqlkjpkmn2la6gcj8vks")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote) - ("rust-syn" ,rust-syn)) - #:cargo-development-inputs - (("rust-serde" ,rust-serde)))) - (home-page "https://serde.rs") + (("rust-cfg-if" ,rust-cfg-if) + ("rust-libc" ,rust-libc) + ("rust-rand" ,rust-rand) + ("rust-redox-syscall" ,rust-redox-syscall) + ("rust-remove-dir-all" ,rust-remove-dir-all) + ("rust-winapi" ,rust-winapi)))) + (home-page + "http://stebalien.com/projects/tempfile-rs") (synopsis - "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]") + "A library for managing temporary files and directories.") (description - "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]") + "This package provides a library for managing temporary files and directories.") (license (list license:asl2.0 license:expat)))) -(define-public rust-serde-json +(define-public rust-term (package - (name "rust-serde-json") - (version "1.0.40") + (name "rust-term") + (version "0.5.2") (source (origin (method url-fetch) - (uri (crate-uri "serde_json" version)) + (uri (crate-uri "term" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "010pa89zx07aqx1cwgw2a603wcp3q5n2iy0k71ppqbr8kwi4j705")))) + (base32 + "0hkgjrfisj6zjwz525639pmsvzhlc48a0h65nw87qrdp6jihdlgd")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-indexmap" ,rust-indexmap) - ("rust-itoa" ,rust-itoa) - ("rust-ryu" ,rust-ryu) - ("rust-serde" ,rust-serde)) - #:cargo-development-inputs - (("rust-automod" ,rust-automod) - ("rust-select-rustc" ,rust-select-rustc) - ("rust-serde-bytes" ,rust-serde-bytes) - ("rust-serde-derive" ,rust-serde-derive) - ("rust-serde-stacker" ,rust-serde-stacker) - ("rust-trybuild" ,rust-trybuild)))) - (home-page "https://github.com/serde-rs/json") - (synopsis "A JSON serialization file format") + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder) + ("rust-dirs" ,rust-dirs) + ("rust-winapi" ,rust-winapi)))) + (home-page "https://github.com/Stebalien/term") + (synopsis "A terminal formatting library") (description - "This package provides a JSON serialization file format") + "This package provides a terminal formatting library") (license (list license:asl2.0 license:expat)))) -(define-public rust-serde-json-1.0.39 - (package - (inherit rust-serde-json) - (name "rust-serde-json") - (version "1.0.39") - (source - (origin - (method url-fetch) - (uri (crate-uri "serde_json" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03fl9l680gij0hrsr2csfm8nm858igvfy05czbdkzm54siqsl8ss")))))) - -(define-public rust-serde-stacker +(define-public rust-term-size (package - (name "rust-serde-stacker") - (version "0.1.0") + (name "rust-term-size") + (version "1.0.0-beta1") (source (origin (method url-fetch) - (uri (crate-uri "serde_stacker" version)) + (uri (crate-uri "term_size" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1jn54i5m1mlc6nm47f96k85fgjs9mhpbbqa4dvd5xjbivkdw55ic")))) + "13w9cqjhzh3mmx6zami8lxyf42xx53yy866zxhxqcm71k637v8d8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-serde" ,rust-serde) - ("rust-stacker" ,rust-stacker)) - #:cargo-development-inputs - (("rust-serde-json" ,rust-serde-json)))) + (("rust-clippy" ,rust-clippy) + ;("rust-kernel32-sys" ,rust-kernel32-sys) ; windows + ("rust-libc" ,rust-libc) + ("rust-winapi" ,rust-winapi)))) (home-page - "https://github.com/dtolnay/serde-stacker") + "https://github.com/kbknapp/term_size-rs.git") (synopsis - "Serde adapter that avoids stack overflow by dynamically growing the stack") + "functions for determining terminal sizes and dimensions") (description - "Serde adapter that avoids stack overflow by dynamically growing the stack") + "functions for determining terminal sizes and dimensions") (license (list license:asl2.0 license:expat)))) -(define-public rust-serde-test +(define-public rust-termcolor (package - (name "rust-serde-test") - (version "1.0.97") + (name "rust-termcolor") + (version "1.0.5") (source (origin (method url-fetch) - (uri (crate-uri "serde_test" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "termcolor" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0i17jdgy18rcp19v6h4shim27l99q3vc7pzr2xaa2g0rjq9p6lr2")))) + (base32 + "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde)) - #:cargo-development-inputs - (("rust-serde" ,rust-serde) - ("rust-serde-derive" ,rust-serde-derive)))) - (home-page "https://serde.rs") - (synopsis - "Token De/Serializer for testing De/Serialize implementations") - (description - "Token De/Serializer for testing De/Serialize implementations") - (license (list license:asl2.0 + `(#:cargo-inputs + (("rust-wincolor" ,rust-wincolor)))) + (home-page "https://github.com/BurntSushi/termcolor") + (synopsis "Library for writing colored text to a terminal") + (description "This package provides a simple cross platform library for +writing colored text to a terminal.") + (license (list license:unlicense license:expat)))) -(define-public rust-serde-yaml +(define-public rust-termios (package - (name "rust-serde-yaml") - (version "0.8.9") + (name "rust-termios") + (version "0.3.1") (source (origin (method url-fetch) - (uri (crate-uri "serde_yaml" version)) + (uri (crate-uri "termios" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "10mmjpnshgrwij01a13679nxy1hnh5yfr0343kh0y9p5j2d8mc1q")))) + "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-dtoa" ,rust-dtoa) - ("rust-linked-hash-map" ,rust-linked-hash-map) - ("rust-serde" ,rust-serde) - ("rust-yaml-rust" ,rust-yaml-rust)) - #:cargo-development-inputs - (("rust-serde-derive" ,rust-serde-derive) - ("rust-unindent" ,rust-unindent) - ("rust-version-sync" ,rust-version-sync)))) + `(#:cargo-inputs (("rust-libc" ,rust-libc)))) (home-page - "https://github.com/dtolnay/serde-yaml") - (synopsis "YAML support for Serde") - (description "YAML support for Serde") - (license (list license:asl2.0 - license:expat)))) + "https://github.com/dcuddeback/termios-rs") + (synopsis + "Safe bindings for the termios library.") + (description + "Safe bindings for the termios library.") + (license license:expat))) -(define-public rust-sha-1 - (package - (name "rust-sha-1") - (version "0.8.1") +(define-public rust-test-assembler + (package + (name "rust-test-assembler") + (version "0.1.5") (source (origin (method url-fetch) - (uri (crate-uri "sha-1" version)) + (uri (crate-uri "test-assembler" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0s6fdy5wp3x4h2z4fcl2d9vjvrpzr87v4h49r51xcq8nm4qj35i3")))) + "1sdx9hk0dk3z9crm8834ysyxsi92chls8arpd0gs796kis6lik2w")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer) - ("rust-digest" ,rust-digest) - ("rust-fake-simd" ,rust-fake-simd) - ("rust-opaque-debug" ,rust-opaque-debug) - ("rust-sha1-asm" ,rust-sha1-asm)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest) - ("rust-hex-literal" ,rust-hex-literal)))) + (("rust-byteorder" ,rust-byteorder)))) (home-page - "https://github.com/RustCrypto/hashes") - (synopsis "SHA-1 hash function") - (description "SHA-1 hash function") - (license (list license:asl2.0 - license:expat)))) + "https://github.com/luser/rust-test-assembler") + (synopsis + "A set of types for building complex binary streams.") + (description + "This package provides a set of types for building complex binary streams.") + (license license:expat))) -(define-public rust-sha1 +(define-public rust-textwrap (package - (name "rust-sha1") - (version "0.6.0") + (name "rust-textwrap") + (version "0.11.0") (source (origin (method url-fetch) - (uri (crate-uri "sha1" version)) + (uri (crate-uri "textwrap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "03gs2q4m67rn2p8xcdfxhip6mpgahdwm12bnb3vh90ahv9grhy95")))) + "0q5hky03ik3y50s9sz25r438bc4nwhqc6dqwynv4wylc807n29nk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-serde" ,rust-serde)) + (("rust-hyphenation" ,rust-hyphenation) + ("rust-term-size" ,rust-term-size) + ("rust-unicode-width" ,rust-unicode-width)) #:cargo-development-inputs - (("rust-openssl" ,rust-openssl) + (("rust-lipsum" ,rust-lipsum) ("rust-rand" ,rust-rand) - ("rust-serde-json" ,rust-serde-json)))) + ("rust-rand-xorshift" ,rust-rand-xorshift) + ("rust-version-sync" ,rust-version-sync)))) (home-page - "https://github.com/mitsuhiko/rust-sha1") + "https://github.com/mgeisler/textwrap") (synopsis - "Minimal implementation of SHA1 for Rust.") + "Textwrap is a small library for word wrapping, indenting, and + dedenting strings. + + You can use it to format strings (such as help and error messages) for + display in commandline applications. It is designed to be efficient + and handle Unicode characters correctly.") (description - "Minimal implementation of SHA1 for Rust.") - (license license:bsd-3))) + "Textwrap is a small library for word wrapping, indenting, and + dedenting strings. -(define-public rust-sleef-sys + You can use it to format strings (such as help and error messages) for + display in commandline applications. It is designed to be efficient + and handle Unicode characters correctly.") + (license license:expat))) + +(define-public rust-thread-id (package - (name "rust-sleef-sys") - (version "0.1.2") + (name "rust-thread-id") + (version "3.3.0") (source (origin (method url-fetch) - (uri (crate-uri "sleef-sys" version)) + (uri (crate-uri "thread-id" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1881q2yc17j2m1yvh01447c93ws1mspnrj3k2nbvwbvcm8z81kkv")))) + "1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if) - ("rust-libc" ,rust-libc)) - #:cargo-development-inputs - (("rust-bindgen" ,rust-bindgen) - ("rust-cmake" ,rust-cmake) - ("rust-env-logger" ,rust-env-logger)))) - (home-page "https://github.com/gnzlbg/sleef-sys") + (("rust-libc" ,rust-libc) + ("rust-redox-syscall" ,rust-redox-syscall) + ("rust-winapi" ,rust-winapi)))) + (home-page + "https://github.com/ruuda/thread-id") (synopsis - "Rust FFI bindings to the SLEEF Vectorized Math Library") + "Get a unique ID for the current thread in Rust.") (description - "Rust FFI bindings to the SLEEF Vectorized Math Library") + "Get a unique ID for the current thread in Rust.") (license (list license:asl2.0 license:expat)))) -(define-public rust-slog +(define-public rust-thread-local (package - (name "rust-slog") - (version "2.5.2") + (name "rust-thread-local") + (version "0.3.6") (source (origin (method url-fetch) - (uri (crate-uri "slog" version)) + (uri (crate-uri "thread_local" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "16bv6zrdn1sm315vbnia02g31xvsmbjyz5gv3z0vrgxdli0cdj8w")))) + "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-erased-serde" ,rust-erased-serde)))) - (home-page "https://github.com/slog-rs/slog") - (synopsis - "Structured, extensible, composable logging for Rust") - (description - "Structured, extensible, composable logging for Rust") + (("rust-lazy-static" ,rust-lazy-static)))) + (home-page + "https://github.com/Amanieu/thread_local-rs") + (synopsis "Per-object thread-local storage") + (description "Per-object thread-local storage") (license (list license:asl2.0 - license:mpl2.0 license:expat)))) -(define-public rust-stacker +(define-public rust-threadpool (package - (name "rust-stacker") - (version "0.1.5") + (name "rust-threadpool") + (version "1.7.1") (source (origin (method url-fetch) - (uri (crate-uri "stacker" version)) + (uri (crate-uri "threadpool" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0js0axz5nla1mkr2dm2vrv9rj964ng1lrv4l43sqlnfgawplhygv")))) + "0rd89n1q7vy47w4c32cnynibffv9kj3jy3dwr0536n9lbw5ckw72")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if) - ("rust-libc" ,rust-libc) - ("rust-winapi" ,rust-winapi) - ("rust-cc" ,rust-cc)))) + (("rust-num-cpus" ,rust-num-cpus)))) (home-page - "https://github.com/alexcrichton/stacker") + "https://github.com/rust-threadpool/rust-threadpool") (synopsis - "A stack growth library useful when implementing deeply recursive algorithms that - may accidentally blow the stack.") + "A thread pool for running a number of jobs on a fixed set of worker threads.") (description - "This package provides a stack growth library useful when implementing deeply recursive algorithms that - may accidentally blow the stack.") + "This package provides a thread pool for running a number of jobs on a fixed set of worker threads.") (license (list license:asl2.0 license:expat)))) -(define-public rust-stdweb +(define-public rust-time (package - (name "rust-stdweb") - (version "0.4.18") + (name "rust-time") + (version "0.1.42") (source (origin (method url-fetch) - (uri (crate-uri "stdweb" version)) + (uri (crate-uri "time" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1srsjarj36f57ibr63n70bgy250yb72a73g14b80wh7piki0r356")))) + "0vsbvsz0ryxb35dy9j4anxvy8zlaplmjmi0a4z4l64bc135cz3fv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-discard" ,rust-discard) - ("rust-futures-channel-preview" - ,rust-futures-channel-preview) - ("rust-futures-core-preview" - ,rust-futures-core-preview) - ("rust-futures-executor-preview" - ,rust-futures-executor-preview) - ("rust-futures-util-preview" - ,rust-futures-util-preview) - ("rust-rustc-version" ,rust-rustc-version) - ("rust-serde" ,rust-serde) - ("rust-serde-json" ,rust-serde-json) - ("rust-stdweb-derive" ,rust-stdweb-derive) - ("rust-stdweb-internal-macros" - ,rust-stdweb-internal-macros) - ("rust-stdweb-internal-runtime" - ,rust-stdweb-internal-runtime) - ("rust-wasm-bindgen" ,rust-wasm-bindgen)) + (("rust-libc" ,rust-libc) + ("rust-redox-syscall" ,rust-redox-syscall) + ("rust-rustc-serialize" ,rust-rustc-serialize) + ("rust-winapi" ,rust-winapi)) #:cargo-development-inputs - (("rust-rustc-version" ,rust-rustc-version) - ("rust-serde-derive" ,rust-serde-derive) - ("rust-serde-json" ,rust-serde-json) - ("rust-stdweb-internal-test-macro" - ,rust-stdweb-internal-test-macro) - ("rust-wasm-bindgen-test" - ,rust-wasm-bindgen-test)))) - (home-page "https://github.com/koute/stdweb") + (("rust-log" ,rust-log) + ("rust-winapi" ,rust-winapi)))) + (home-page "https://github.com/rust-lang/time") (synopsis - "A standard library for the client-side Web") + "Utilities for working with time-related functions in Rust.") (description - "This package provides a standard library for the client-side Web") + "Utilities for working with time-related functions in Rust.") (license (list license:asl2.0 license:expat)))) -(define-public rust-stdweb-derive +(define-public rust-tokio (package - (name "rust-stdweb-derive") - (version "0.5.1") + (name "rust-tokio") + (version "0.1.22") (source (origin (method url-fetch) - (uri (crate-uri "stdweb-derive" version)) + (uri (crate-uri "tokio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0c1rxx6rqcc4iic5hx320ki3vshpi8k58m5600iqzq4x2zcyn88f")))) + "1xhaadfmm6m37f79xv5020gc3np9wqza3bq95ymp522qpfsw02as")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote) + (("rust-bytes" ,rust-bytes) + ("rust-futures" ,rust-futures) + ("rust-mio" ,rust-mio) + ("rust-num-cpus" ,rust-num-cpus) + ("rust-tokio-codec" ,rust-tokio-codec) + ("rust-tokio-current-thread" + ,rust-tokio-current-thread) + ("rust-tokio-executor" ,rust-tokio-executor) + ("rust-tokio-fs" ,rust-tokio-fs) + ("rust-tokio-io" ,rust-tokio-io) + ("rust-tokio-reactor" ,rust-tokio-reactor) + ("rust-tokio-sync" ,rust-tokio-sync) + ("rust-tokio-tcp" ,rust-tokio-tcp) + ("rust-tokio-threadpool" ,rust-tokio-threadpool) + ("rust-tokio-timer" ,rust-tokio-timer) + ("rust-tokio-udp" ,rust-tokio-udp) + ("rust-tokio-uds" ,rust-tokio-uds) + ("rust-tracing-core" ,rust-tracing-core)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger) + ("rust-flate2" ,rust-flate2) + ("rust-futures-cpupool" ,rust-futures-cpupool) + ("rust-http" ,rust-http) + ("rust-httparse" ,rust-httparse) + ("rust-libc" ,rust-libc) + ("rust-num-cpus" ,rust-num-cpus) ("rust-serde" ,rust-serde) ("rust-serde-derive" ,rust-serde-derive) - ("rust-syn" ,rust-syn)))) - (home-page "https://github.com/koute/stdweb") - (synopsis "Derive macros for the `stdweb` crate") + ("rust-serde-json" ,rust-serde-json) + ("rust-time" ,rust-time)))) + (home-page "https://tokio.rs") + (synopsis + "An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.") (description - "Derive macros for the `stdweb` crate") - (license (list license:asl2.0 - license:expat)))) + "An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.") + (license license:expat))) -(define-public rust-stdweb-internal-macros +(define-public rust-tokio-buf (package - (name "rust-stdweb-internal-macros") - (version "0.2.7") + (name "rust-tokio-buf") + (version "0.2.0-alpha.1") (source (origin (method url-fetch) - (uri (crate-uri "stdweb-internal-macros" version)) + (uri (crate-uri "tokio-buf" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1yjrmkc6sb1035avic383pa3avk2s9k3n17yjcza8yb9nw47v3z6")))) + "1bz2yb77kxq4006j6cjdkl14n21pi0c0mdw20ywj9yd70y7lap2z")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-base-x" ,rust-base-x) - ("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote) - ("rust-serde" ,rust-serde) - ("rust-serde-derive" ,rust-serde-derive) - ("rust-serde-json" ,rust-serde-json) - ("rust-sha1" ,rust-sha1) - ("rust-syn" ,rust-syn)))) - (home-page "https://github.com/koute/stdweb") + (("rust-bytes" ,rust-bytes) + ("rust-either" ,rust-either)) + #:cargo-development-inputs + (("rust-tokio-mock-task" ,rust-tokio-mock-task)))) + (home-page "https://tokio.rs") (synopsis - "Internal procedural macros for the `stdweb` crate") + "Asynchronous stream of byte buffers") (description - "Internal procedural macros for the `stdweb` crate") - (license (list license:asl2.0 - license:expat)))) + "Asynchronous stream of byte buffers") + (license license:expat))) + +(define-public rust-tokio-codec + (package + (name "rust-tokio-codec") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-codec" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17y3hi3dd0bdfkrzshx9qhwcf49xv9iynszj7iwy3w4nmz71wl2w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes) + ("rust-futures" ,rust-futures) + ("rust-tokio-io" ,rust-tokio-io)))) + (home-page "https://tokio.rs") + (synopsis + "Utilities for encoding and decoding frames.") + (description + "Utilities for encoding and decoding frames.") + (license license:expat))) -(define-public rust-stdweb-internal-test-macro +(define-public rust-tokio-core (package - (name "rust-stdweb-internal-test-macro") - (version "0.1.0") + (name "rust-tokio-core") + (version "0.1.17") (source (origin (method url-fetch) - (uri (crate-uri "stdweb-internal-test-macro" version)) + (uri (crate-uri "tokio-core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "12rrm7p77xnm3xacgn3rgniiyyjb4gq7902wpbljsvbx045z69l2")))) + "0wbgg59mxfvrhzv97y56nh3gmnmw3jj9dhgkmvz27410jjxzpvxf")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote)))) - (home-page "https://github.com/koute/stdweb") - (synopsis "Internal crate of the `stdweb` crate") + (("rust-bytes" ,rust-bytes) + ("rust-futures" ,rust-futures) + ("rust-iovec" ,rust-iovec) + ("rust-log" ,rust-log) + ("rust-mio" ,rust-mio) + ("rust-scoped-tls" ,rust-scoped-tls) + ("rust-tokio" ,rust-tokio) + ("rust-tokio-executor" ,rust-tokio-executor) + ("rust-tokio-io" ,rust-tokio-io) + ("rust-tokio-reactor" ,rust-tokio-reactor) + ("rust-tokio-timer" ,rust-tokio-timer)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger) + ("rust-flate2" ,rust-flate2) + ("rust-futures-cpupool" ,rust-futures-cpupool) + ("rust-http" ,rust-http) + ("rust-httparse" ,rust-httparse) + ("rust-libc" ,rust-libc) + ("rust-num-cpus" ,rust-num-cpus) + ("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive) + ("rust-serde-json" ,rust-serde-json) + ("rust-time" ,rust-time)))) + (home-page "https://tokio.rs") + (synopsis + "Core I/O and event loop primitives for asynchronous I/O in Rust. Foundation for + the rest of the tokio crates.") (description - "Internal crate of the `stdweb` crate") + "Core I/O and event loop primitives for asynchronous I/O in Rust. Foundation for + the rest of the tokio crates.") (license (list license:asl2.0 license:expat)))) -(define-public rust-stream-cipher +(define-public rust-tokio-current-thread (package - (name "rust-stream-cipher") - (version "0.3.0") + (name "rust-tokio-current-thread") + (version "0.1.6") (source (origin (method url-fetch) - (uri (crate-uri "stream-cipher" version)) + (uri (crate-uri "tokio-current-thread" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1g1nd8r6pph70rzk5yyvg7a9ji7pkap9ddiqpp4v9xa9ys0bqqc8")))) + "0hx4c8v88kk0ih8x5s564gsgwwf8n11kryvxm72l1f7isz51fqni")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-blobby" ,rust-blobby) - ("rust-generic-array" ,rust-generic-array)))) - (home-page - "https://github.com/RustCrypto/traits") - (synopsis "Stream cipher traits") - (description "Stream cipher traits") - (license (list license:asl2.0 - license:expat)))) + (("rust-futures" ,rust-futures) + ("rust-tokio-executor" ,rust-tokio-executor)))) + (home-page "https://github.com/tokio-rs/tokio") + (synopsis + "Single threaded executor which manage many tasks concurrently on the current thread.") + (description + "Single threaded executor which manage many tasks concurrently on the current thread.") + (license license:expat))) -(define-public rust-streaming-stats +(define-public rust-tokio-executor (package - (name "rust-streaming-stats") - (version "0.2.2") + (name "rust-tokio-executor") + (version "0.1.8") (source (origin (method url-fetch) - (uri (crate-uri "streaming-stats" version)) + (uri (crate-uri "tokio-executor" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0l7xz4g6709s80zqpvlhrg0qhgz64r94cwhmfsg8xhabgznbp2px")))) + "1b5n6barppmhfyb1m2cvswp7nqvyrr3lb0kk545my75hdl7fw9qg")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-num-traits" ,rust-num-traits)))) - (home-page - "https://github.com/BurntSushi/rust-stats") - (synopsis - "Experimental crate for computing basic statistics on streams.") - (description - "Experimental crate for computing basic statistics on streams.") - (license (list license:unlicense - license:expat)))) - -(define-public rust-strsim-0.8 - (package - (inherit rust-strsim) - (name "rust-strsim") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "strsim" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0sjsm7hrvjdifz661pjxq5w4hf190hx53fra8dfvamacvff139cf")))))) + (("rust-crossbeam-utils" ,rust-crossbeam-utils) + ("rust-futures" ,rust-futures)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio)))) + (home-page "https://github.com/tokio-rs/tokio") + (synopsis "Future execution primitives") + (description "Future execution primitives") + (license license:expat))) -(define-public rust-structopt +(define-public rust-tokio-fs (package - (name "rust-structopt") - (version "0.2.18") + (name "rust-tokio-fs") + (version "0.1.6") (source (origin (method url-fetch) - (uri (crate-uri "structopt" version)) + (uri (crate-uri "tokio-fs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1mvfv1l8vp3y402fkl2wcl34hi7gmr4bqha13dfz2xf3kjzwvhhn")))) + (base32 + "1bxp8585pi4j5g39ci2gkk99qnyilyhhila7cs8r6scdn0idrriz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-clap" ,rust-clap) - ("rust-structopt-derive" ,rust-structopt-derive)))) - (home-page - "https://github.com/TeXitoi/structopt") - (synopsis - "Parse command line argument by defining a struct.") - (description - "Parse command line argument by defining a struct.") - (license (list license:asl2.0 - license:expat)))) + (("rust-futures" ,rust-futures) + ("rust-tokio-io" ,rust-tokio-io) + ("rust-tokio-threadpool" ,rust-tokio-threadpool)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand) + ("rust-tempdir" ,rust-tempdir) + ("rust-tempfile" ,rust-tempfile) + ("rust-tokio" ,rust-tokio) + ("rust-tokio-codec" ,rust-tokio-codec) + ("rust-tokio-io" ,rust-tokio-io)))) + (home-page "https://tokio.rs") + (synopsis "Filesystem API for Tokio.") + (description "Filesystem API for Tokio.") + (license license:expat))) -(define-public rust-structopt-derive +(define-public rust-tokio-io (package - (name "rust-structopt-derive") - (version "0.2.18") + (name "rust-tokio-io") + (version "0.1.12") (source (origin (method url-fetch) - (uri (crate-uri "structopt-derive" version)) + (uri (crate-uri "tokio-io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "01sis9z5kqmyhvzbnmlzpdxcry99a0b9blypksgnhdsbm1hh40ak")))) + "09jrz1hh4h1vj45qy09y7m7m8jsy1hl6g32clnky25mdim3dp42h")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-heck" ,rust-heck) - ("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote) - ("rust-syn" ,rust-syn)))) - (home-page - "https://github.com/TeXitoi/structopt") + (("rust-bytes" ,rust-bytes) + ("rust-futures" ,rust-futures) + ("rust-log" ,rust-log)) + #:cargo-development-inputs + (("rust-tokio-current-thread" + ,rust-tokio-current-thread)))) + (home-page "https://tokio.rs") (synopsis - "Parse command line argument by defining a struct, derive crate.") + "Core I/O primitives for asynchronous I/O in Rust.") (description - "Parse command line argument by defining a struct, derive crate.") - (license (list license:asl2.0 - license:expat)))) + "Core I/O primitives for asynchronous I/O in Rust.") + (license license:expat))) -(define-public rust-syn +(define-public rust-tokio-io-pool (package - (name "rust-syn") - (version "0.15.42") + (name "rust-tokio-io-pool") + (version "0.1.6") (source (origin (method url-fetch) - (uri (crate-uri "syn" version)) + (uri (crate-uri "tokio-io-pool" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0png5pz7jjjj39xy8w7qr65y3s9qam0jpz6nbmal06m5dhq0kp7a")))) + "17lrjj7lcw13wchpbvr8cynmypd29h40clf9qxabh6fxva40kwm5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote) - ("rust-unicode-xid" ,rust-unicode-xid)) + (("rust-futures" ,rust-futures) + ("rust-num-cpus" ,rust-num-cpus) + ("rust-tokio" ,rust-tokio) + ("rust-tokio-executor" ,rust-tokio-executor)) #:cargo-development-inputs - (("rust-insta" ,rust-insta) - ("rust-rayon" ,rust-rayon) - ("rust-ref-cast" ,rust-ref-cast) - ("rust-regex" ,rust-regex) - ("rust-termcolor" ,rust-termcolor) - ("rust-walkdir" ,rust-walkdir)))) - (home-page "https://github.com/dtolnay/syn") - (synopsis "Parser for Rust source code") - (description "Parser for Rust source code") + (("rust-tokio-current-thread" + ,rust-tokio-current-thread)))) + (home-page + "https://github.com/jonhoo/tokio-io-pool") + (synopsis + "Alternative tokio thread pool for executing short, I/O-heavy futures efficiently") + (description + "Alternative tokio thread pool for executing short, I/O-heavy futures efficiently") (license (list license:asl2.0 license:expat)))) -(define-public rust-synstructure +(define-public rust-tokio-reactor (package - (name "rust-synstructure") - (version "0.11.0") + (name "rust-tokio-reactor") + (version "0.1.9") (source (origin (method url-fetch) - (uri (crate-uri "synstructure" version)) + (uri (crate-uri "tokio-reactor" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1spqy31qcss57mciklc4nky4v778fvqs9qwdjgvnmf0hr5ichcca")))) + "1khip64cn63xvayq1db68kxcnhgw3cb449a4n2lbw4p1qzx6pwba")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote) - ("rust-syn" ,rust-syn) - ("rust-unicode-xid" ,rust-unicode-xid)) + (("rust-crossbeam-utils" ,rust-crossbeam-utils) + ("rust-futures" ,rust-futures) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-log" ,rust-log) + ("rust-mio" ,rust-mio) + ("rust-num-cpus" ,rust-num-cpus) + ("rust-parking-lot" ,rust-parking-lot) + ("rust-slab" ,rust-slab) + ("rust-tokio-executor" ,rust-tokio-executor) + ("rust-tokio-io" ,rust-tokio-io) + ("rust-tokio-sync" ,rust-tokio-sync)) #:cargo-development-inputs - (("rust-synstructure-test-traits" - ,rust-synstructure-test-traits)))) - (home-page - "https://github.com/mystor/synstructure") + (("rust-num-cpus" ,rust-num-cpus) + ("rust-tokio" ,rust-tokio) + ("rust-tokio-io-pool" ,rust-tokio-io-pool)))) + (home-page "https://tokio.rs") (synopsis - "Helper methods and macros for custom derives") + "Event loop that drives Tokio I/O resources.") (description - "Helper methods and macros for custom derives") + "Event loop that drives Tokio I/O resources.") (license license:expat))) -(define-public rust-tempdir +(define-public rust-tokio-mock-task (package - (name "rust-tempdir") - (version "0.3.7") + (name "rust-tokio-mock-task") + (version "0.1.1") (source (origin (method url-fetch) - (uri (crate-uri "tempdir" version)) + (uri (crate-uri "tokio-mock-task" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1n5n86zxpgd85y0mswrp5cfdisizq2rv3la906g6ipyc03xvbwhm")))) + "1y7q83qfk9ljjfvs82b453pmz9x1v3d6kr4x55j8mal01s6790dw")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-rand" ,rust-rand-0.4) - ("rust-remove-dir-all" ,rust-remove-dir-all)))) + `(#:cargo-inputs (("rust-futures" ,rust-futures)))) (home-page - "https://github.com/rust-lang/tempdir") - (synopsis - "A library for managing a temporary directory and deleting all contents when it's dropped.") - (description - "This package provides a library for managing a temporary directory and deleting all contents when it's dropped.") - (license (list license:asl2.0 - license:expat)))) + "https://github.com/carllerche/tokio-mock-task") + (synopsis "Mock a Tokio task") + (description "Mock a Tokio task") + (license license:expat))) -(define-public rust-tempfile +(define-public rust-tokio-mockstream (package - (name "rust-tempfile") - (version "3.1.0") + (name "rust-tokio-mockstream") + (version "1.1.0") (source (origin (method url-fetch) - (uri (crate-uri "tempfile" version)) + (uri (crate-uri "tokio-mockstream" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1a9cfdqw70n7bcnkx05aih9xdba8lqazmqlkjpkmn2la6gcj8vks")))) + "0mg1i39cl8x32wxwbn74hlirks8a6f3g0gfzkb0n0zwbxwvc9gs1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if) - ("rust-libc" ,rust-libc) - ("rust-rand" ,rust-rand) - ("rust-redox-syscall" ,rust-redox-syscall) - ("rust-remove-dir-all" ,rust-remove-dir-all) - ("rust-winapi" ,rust-winapi)))) + (("rust-futures" ,rust-futures) + ("rust-tokio-io" ,rust-tokio-io)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes)))) (home-page - "http://stebalien.com/projects/tempfile-rs") + "https://github.com/aatxe/tokio-mockstream") (synopsis - "A library for managing temporary files and directories.") + "A fake stream for testing network applications backed by buffers.") (description - "This package provides a library for managing temporary files and directories.") + "A fake stream for testing network applications backed by buffers.") (license (list license:asl2.0 license:expat)))) -(define-public rust-term +(define-public rust-tokio-openssl (package - (name "rust-term") - (version "0.5.2") + (name "rust-tokio-openssl") + (version "0.4.0-alpha.2") (source (origin (method url-fetch) - (uri (crate-uri "term" version)) + (uri (crate-uri "tokio-openssl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0hkgjrfisj6zjwz525639pmsvzhlc48a0h65nw87qrdp6jihdlgd")))) + "0zzhb720bmjkcg5q53yp9mimx8frnbrk9il6rya16zc6pwmzbfw8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder) - ("rust-dirs" ,rust-dirs) - ("rust-winapi" ,rust-winapi)))) - (home-page "https://github.com/Stebalien/term") - (synopsis "A terminal formatting library") + (("rust-openssl" ,rust-openssl) + ("rust-tokio-io" ,rust-tokio-io)) + #:cargo-development-inputs + (("rust-futures-preview" ,rust-futures-preview) + ("rust-tokio" ,rust-tokio)))) + (home-page + "https://github.com/alexcrichton/tokio-openssl") + (synopsis + "An implementation of SSL streams for Tokio backed by OpenSSL") (description - "This package provides a terminal formatting library") + "An implementation of SSL streams for Tokio backed by OpenSSL") (license (list license:asl2.0 license:expat)))) -(define-public rust-term-size +(define-public rust-tokio-rustls (package - (name "rust-term-size") - (version "1.0.0-beta1") + (name "rust-tokio-rustls") + (version "0.12.0-alpha.1") (source (origin (method url-fetch) - (uri (crate-uri "term_size" version)) + (uri (crate-uri "tokio-rustls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "13w9cqjhzh3mmx6zami8lxyf42xx53yy866zxhxqcm71k637v8d8")))) + "0vmjqdpvvwi5xga8lrp9pr29i7jd77zzlbbv4vi2mnsqxjafdcji")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-clippy" ,rust-clippy) - ;("rust-kernel32-sys" ,rust-kernel32-sys) ; windows - ("rust-libc" ,rust-libc) - ("rust-winapi" ,rust-winapi)))) + (("rust-futures-core-preview" + ,rust-futures-core-preview) + ("rust-rustls" ,rust-rustls) + ("rust-smallvec" ,rust-smallvec) + ("rust-tokio-io" ,rust-tokio-io) + ("rust-webpki" ,rust-webpki)) + #:cargo-development-inputs + (("rust-futures-util-preview" + ,rust-futures-util-preview) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-tokio" ,rust-tokio) + ("rust-webpki-roots" ,rust-webpki-roots)))) (home-page - "https://github.com/kbknapp/term_size-rs.git") + "https://github.com/quininer/tokio-rustls") (synopsis - "functions for determining terminal sizes and dimensions") + "Asynchronous TLS/SSL streams for Tokio using Rustls.") (description - "functions for determining terminal sizes and dimensions") + "Asynchronous TLS/SSL streams for Tokio using Rustls.") (license (list license:asl2.0 license:expat)))) -(define-public rust-termcolor - (package - (name "rust-termcolor") - (version "1.0.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "termcolor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-wincolor" ,rust-wincolor)))) - (home-page "https://github.com/BurntSushi/termcolor") - (synopsis "Library for writing colored text to a terminal") - (description "This package provides a simple cross platform library for -writing colored text to a terminal.") - (license (list license:unlicense - license:expat)))) - -(define-public rust-termios +(define-public rust-tokio-sync (package - (name "rust-termios") - (version "0.3.1") + (name "rust-tokio-sync") + (version "0.1.6") (source (origin (method url-fetch) - (uri (crate-uri "termios" version)) + (uri (crate-uri "tokio-sync" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj")))) + "1ryalh7dcmnz46xj1va8aaw3if6vd4mj87r67dqvrqhpyf7j8qi1")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc)))) - (home-page - "https://github.com/dcuddeback/termios-rs") - (synopsis - "Safe bindings for the termios library.") - (description - "Safe bindings for the termios library.") + `(#:cargo-inputs + (("rust-fnv" ,rust-fnv) + ("rust-futures" ,rust-futures)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger) + ("rust-loom" ,rust-loom) + ("rust-tokio" ,rust-tokio) + ("rust-tokio-mock-task" ,rust-tokio-mock-task)))) + (home-page "https://tokio.rs") + (synopsis "Synchronization utilities.") + (description "Synchronization utilities.") (license license:expat))) -(define-public rust-textwrap +(define-public rust-tokio-tcp (package - (name "rust-textwrap") - (version "0.11.0") + (name "rust-tokio-tcp") + (version "0.1.3") (source (origin (method url-fetch) - (uri (crate-uri "textwrap" version)) + (uri (crate-uri "tokio-tcp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0q5hky03ik3y50s9sz25r438bc4nwhqc6dqwynv4wylc807n29nk")))) + "06a15vg8bcd33ng3h9ldzlq7wl4jsw0p9qpy7v22ls5yah3b250x")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-hyphenation" ,rust-hyphenation) - ("rust-term-size" ,rust-term-size) - ("rust-unicode-width" ,rust-unicode-width)) + (("rust-bytes" ,rust-bytes) + ("rust-futures" ,rust-futures) + ("rust-iovec" ,rust-iovec) + ("rust-mio" ,rust-mio) + ("rust-tokio-io" ,rust-tokio-io) + ("rust-tokio-reactor" ,rust-tokio-reactor)) #:cargo-development-inputs - (("rust-lipsum" ,rust-lipsum) - ("rust-rand" ,rust-rand) - ("rust-rand-xorshift" ,rust-rand-xorshift) - ("rust-version-sync" ,rust-version-sync)))) - (home-page - "https://github.com/mgeisler/textwrap") - (synopsis - "Textwrap is a small library for word wrapping, indenting, and - dedenting strings. - - You can use it to format strings (such as help and error messages) for - display in commandline applications. It is designed to be efficient - and handle Unicode characters correctly.") - (description - "Textwrap is a small library for word wrapping, indenting, and - dedenting strings. - - You can use it to format strings (such as help and error messages) for - display in commandline applications. It is designed to be efficient - and handle Unicode characters correctly.") + (("rust-env-logger" ,rust-env-logger) + ("rust-tokio" ,rust-tokio)))) + (home-page "https://tokio.rs") + (synopsis "TCP bindings for tokio.") + (description "TCP bindings for tokio.") (license license:expat))) -(define-public rust-thread-local +(define-public rust-tokio-threadpool (package - (name "rust-thread-local") - (version "0.3.6") + (name "rust-tokio-threadpool") + (version "0.1.15") (source (origin (method url-fetch) - (uri (crate-uri "thread_local" version)) + (uri (crate-uri "tokio-threadpool" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6")))) + "06av6vdkgb48v6xaaci5agfydg9fsj9c338y01m3f7paklqh3jlh")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static)))) - (home-page - "https://github.com/Amanieu/thread_local-rs") - (synopsis "Per-object thread-local storage") - (description "Per-object thread-local storage") - (license (list license:asl2.0 - license:expat)))) + (("rust-crossbeam-deque" ,rust-crossbeam-deque) + ("rust-crossbeam-queue" ,rust-crossbeam-queue) + ("rust-crossbeam-utils" ,rust-crossbeam-utils) + ("rust-futures" ,rust-futures) + ("rust-log" ,rust-log) + ("rust-num-cpus" ,rust-num-cpus) + ("rust-rand" ,rust-rand) + ("rust-slab" ,rust-slab) + ("rust-tokio-executor" ,rust-tokio-executor)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger) + ("rust-futures-cpupool" ,rust-futures-cpupool) + ("rust-threadpool" ,rust-threadpool)))) + (home-page "https://github.com/tokio-rs/tokio") + (synopsis + "A task scheduler backed by a work-stealing thread pool.") + (description + "This package provides a task scheduler backed by a work-stealing thread pool.") + (license license:expat))) -(define-public rust-time +(define-public rust-tokio-timer (package - (name "rust-time") - (version "0.1.42") + (name "rust-tokio-timer") + (version "0.2.11") (source (origin (method url-fetch) - (uri (crate-uri "time" version)) + (uri (crate-uri "tokio-timer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0vsbvsz0ryxb35dy9j4anxvy8zlaplmjmi0a4z4l64bc135cz3fv")))) + "03m68ainkdy3b5pf20rjyknhk2ppx35bjdc2yfj2bv80sl96h47j")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-libc" ,rust-libc) - ("rust-redox-syscall" ,rust-redox-syscall) - ("rust-rustc-serialize" ,rust-rustc-serialize) - ("rust-winapi" ,rust-winapi)) + (("rust-crossbeam-utils" ,rust-crossbeam-utils) + ("rust-futures" ,rust-futures) + ("rust-slab" ,rust-slab) + ("rust-tokio-executor" ,rust-tokio-executor)) #:cargo-development-inputs - (("rust-log" ,rust-log) - ("rust-winapi" ,rust-winapi)))) - (home-page "https://github.com/rust-lang/time") - (synopsis - "Utilities for working with time-related functions in Rust.") - (description - "Utilities for working with time-related functions in Rust.") - (license (list license:asl2.0 - license:expat)))) + (("rust-rand" ,rust-rand) + ("rust-tokio" ,rust-tokio) + ("rust-tokio-mock-task" ,rust-tokio-mock-task)))) + (home-page "https://github.com/tokio-rs/tokio") + (synopsis "Timer facilities for Tokio") + (description "Timer facilities for Tokio") + (license license:expat))) -(define-public rust-tokio +(define-public rust-tokio-tls (package - (name "rust-tokio") - (version "0.1.22") + (name "rust-tokio-tls") + (version "0.3.0-alpha.2") (source (origin (method url-fetch) - (uri (crate-uri "tokio" version)) + (uri (crate-uri "tokio-tls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1xhaadfmm6m37f79xv5020gc3np9wqza3bq95ymp522qpfsw02as")))) + "1z9bbxkd646lsn1fr1a5znxdz8afbpy31iq1knxd424v57lxf29p")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-bytes" ,rust-bytes) - ("rust-futures" ,rust-futures) - ("rust-mio" ,rust-mio) - ("rust-num-cpus" ,rust-num-cpus) - ("rust-tokio-codec" ,rust-tokio-codec) - ("rust-tokio-current-thread" - ,rust-tokio-current-thread) - ("rust-tokio-executor" ,rust-tokio-executor) - ("rust-tokio-fs" ,rust-tokio-fs) - ("rust-tokio-io" ,rust-tokio-io) - ("rust-tokio-reactor" ,rust-tokio-reactor) - ("rust-tokio-sync" ,rust-tokio-sync) - ("rust-tokio-tcp" ,rust-tokio-tcp) - ("rust-tokio-threadpool" ,rust-tokio-threadpool) - ("rust-tokio-timer" ,rust-tokio-timer) - ("rust-tokio-udp" ,rust-tokio-udp) - ("rust-tokio-uds" ,rust-tokio-uds) - ("rust-tracing-core" ,rust-tracing-core)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger) - ("rust-flate2" ,rust-flate2) - ("rust-futures-cpupool" ,rust-futures-cpupool) - ("rust-http" ,rust-http) - ("rust-httparse" ,rust-httparse) - ("rust-libc" ,rust-libc) - ("rust-num-cpus" ,rust-num-cpus) - ("rust-serde" ,rust-serde) - ("rust-serde-derive" ,rust-serde-derive) - ("rust-serde-json" ,rust-serde-json) - ("rust-time" ,rust-time)))) + (("rust-native-tls" ,rust-native-tls) + ("rust-tokio-io" ,rust-tokio-io)))) (home-page "https://tokio.rs") (synopsis - "An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.") + "An implementation of TLS/SSL streams for Tokio giving an implementation of TLS for nonblocking I/O streams.") (description - "An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.") + "An implementation of TLS/SSL streams for Tokio giving an implementation of TLS for nonblocking I/O streams.") (license license:expat))) -(define-public rust-tokio-codec +(define-public rust-tokio-udp (package - (name "rust-tokio-codec") - (version "0.1.1") + (name "rust-tokio-udp") + (version "0.1.3") (source (origin (method url-fetch) - (uri (crate-uri "tokio-codec" version)) + (uri (crate-uri "tokio-udp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "17y3hi3dd0bdfkrzshx9qhwcf49xv9iynszj7iwy3w4nmz71wl2w")))) + "14kfj35s465czcspayacnzlxrazfvxzhhggq1rqlljhgp1sqa9k6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes) ("rust-futures" ,rust-futures) - ("rust-tokio-io" ,rust-tokio-io)))) + ("rust-log" ,rust-log) + ("rust-mio" ,rust-mio) + ("rust-tokio-codec" ,rust-tokio-codec) + ("rust-tokio-io" ,rust-tokio-io) + ("rust-tokio-reactor" ,rust-tokio-reactor)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger)))) (home-page "https://tokio.rs") - (synopsis - "Utilities for encoding and decoding frames.") - (description - "Utilities for encoding and decoding frames.") + (synopsis "UDP bindings for tokio.") + (description "UDP bindings for tokio.") (license license:expat))) -(define-public rust-tokio-current-thread +(define-public rust-tokio-uds (package - (name "rust-tokio-current-thread") - (version "0.1.6") + (name "rust-tokio-uds") + (version "0.2.5") (source (origin (method url-fetch) - (uri (crate-uri "tokio-current-thread" version)) + (uri (crate-uri "tokio-uds" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0hx4c8v88kk0ih8x5s564gsgwwf8n11kryvxm72l1f7isz51fqni")))) + "0i94kxma6l7iy5hd5k7nvn7v9pnyw0s54bm9mjs0lap1l0xzqzq3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-futures" ,rust-futures) - ("rust-tokio-executor" ,rust-tokio-executor)))) + (("rust-bytes" ,rust-bytes) + ("rust-futures" ,rust-futures) + ("rust-iovec" ,rust-iovec) + ("rust-libc" ,rust-libc) + ("rust-log" ,rust-log) + ("rust-mio" ,rust-mio) + ("rust-mio-uds" ,rust-mio-uds) + ("rust-tokio-codec" ,rust-tokio-codec) + ("rust-tokio-io" ,rust-tokio-io) + ("rust-tokio-reactor" ,rust-tokio-reactor)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile) + ("rust-tokio" ,rust-tokio)))) (home-page "https://github.com/tokio-rs/tokio") - (synopsis - "Single threaded executor which manage many tasks concurrently on the current thread.") - (description - "Single threaded executor which manage many tasks concurrently on the current thread.") + (synopsis "Unix Domain sockets for Tokio") + (description "Unix Domain sockets for Tokio") (license license:expat))) -(define-public rust-tokio-executor +(define-public rust-toml (package - (name "rust-tokio-executor") - (version "0.1.8") + (name "rust-toml") + (version "0.5.1") (source (origin (method url-fetch) - (uri (crate-uri "tokio-executor" version)) + (uri (crate-uri "toml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1b5n6barppmhfyb1m2cvswp7nqvyrr3lb0kk545my75hdl7fw9qg")))) + "0fdhfyv20qn29cxq1f9j9wav92c3qhxdm71sxfyzhzpsfdw6vjdq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-crossbeam-utils" ,rust-crossbeam-utils) - ("rust-futures" ,rust-futures)) + (("rust-linked-hash-map" ,rust-linked-hash-map) + ("rust-serde" ,rust-serde)) #:cargo-development-inputs - (("rust-tokio" ,rust-tokio)))) - (home-page "https://github.com/tokio-rs/tokio") - (synopsis "Future execution primitives") - (description "Future execution primitives") - (license license:expat))) + (("rust-serde-derive" ,rust-serde-derive) + ("rust-serde-json" ,rust-serde-json)))) + (home-page + "https://github.com/alexcrichton/toml-rs") + (synopsis + "A native Rust encoder and decoder of TOML-formatted files and streams. Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures.") + (description + "A native Rust encoder and decoder of TOML-formatted files and streams. Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures.") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-tokio-fs +(define-public rust-tracing-core (package - (name "rust-tokio-fs") - (version "0.1.6") + (name "rust-tracing-core") + (version "0.1.2") (source (origin (method url-fetch) - (uri (crate-uri "tokio-fs" version)) + (uri (crate-uri "tracing-core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1bxp8585pi4j5g39ci2gkk99qnyilyhhila7cs8r6scdn0idrriz")))) + "01fa73wzw2m5ybi3kkd52dgrw97mgc3i6inmhwys46ab28giwnxi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-futures" ,rust-futures) - ("rust-tokio-io" ,rust-tokio-io) - ("rust-tokio-threadpool" ,rust-tokio-threadpool)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand) - ("rust-tempdir" ,rust-tempdir) - ("rust-tempfile" ,rust-tempfile) - ("rust-tokio" ,rust-tokio) - ("rust-tokio-codec" ,rust-tokio-codec) - ("rust-tokio-io" ,rust-tokio-io)))) + (("rust-lazy-static" ,rust-lazy-static)))) (home-page "https://tokio.rs") - (synopsis "Filesystem API for Tokio.") - (description "Filesystem API for Tokio.") - (license license:expat))) + (synopsis + "Core primitives for application-level tracing.") + (description + "Core primitives for application-level tracing.") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-tokio-io +(define-public rust-trust-dns-https (package - (name "rust-tokio-io") - (version "0.1.12") + (name "rust-trust-dns-https") + (version "0.4.0") (source (origin (method url-fetch) - (uri (crate-uri "tokio-io" version)) + (uri (crate-uri "trust-dns-https" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "09jrz1hh4h1vj45qy09y7m7m8jsy1hl6g32clnky25mdim3dp42h")))) + "1ypkbgm5p7smjfkca3gaszhvknbr2ykf8skw8pyvpn0sq95lv5ia")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes) + ("rust-data-encoding" ,rust-data-encoding) + ("rust-failure" ,rust-failure) ("rust-futures" ,rust-futures) - ("rust-log" ,rust-log)) + ("rust-h2" ,rust-h2) + ("rust-http" ,rust-http) + ("rust-log" ,rust-log) + ("rust-rustls" ,rust-rustls) + ("rust-tokio-executor" ,rust-tokio-executor) + ("rust-tokio-reactor" ,rust-tokio-reactor) + ("rust-tokio-rustls" ,rust-tokio-rustls) + ("rust-tokio-tcp" ,rust-tokio-tcp) + ("rust-trust-dns-proto" ,rust-trust-dns-proto) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls) + ("rust-tokio-executor" ,rust-tokio-executor) + ("rust-tokio-reactor" ,rust-tokio-reactor) + ("rust-tokio-rustls" ,rust-tokio-rustls) + ("rust-tokio-tcp" ,rust-tokio-tcp) + ("rust-trust-dns-proto" ,rust-trust-dns-proto) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls) + ("rust-typed-headers" ,rust-typed-headers) + ("rust-webpki" ,rust-webpki) + ("rust-webpki-roots" ,rust-webpki-roots)) #:cargo-development-inputs - (("rust-tokio-current-thread" - ,rust-tokio-current-thread)))) - (home-page "https://tokio.rs") + (("rust-env-logger" ,rust-env-logger) + ("rust-tokio" ,rust-tokio)))) + (home-page "http://www.trust-dns.org/index.html") (synopsis - "Core I/O primitives for asynchronous I/O in Rust.") + "Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use DNS over HTTPS.") (description - "Core I/O primitives for asynchronous I/O in Rust.") - (license license:expat))) + "Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use DNS over HTTPS.") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-tokio-reactor +(define-public rust-trust-dns-native-tls (package - (name "rust-tokio-reactor") - (version "0.1.9") + (name "rust-trust-dns-native-tls") + (version "0.7.0") (source (origin (method url-fetch) - (uri (crate-uri "tokio-reactor" version)) + (uri (crate-uri "trust-dns-native-tls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1khip64cn63xvayq1db68kxcnhgw3cb449a4n2lbw4p1qzx6pwba")))) + "0dkwfqxjjmbikm3mav71zjymgy8wmqr4mca64x49qzknvc4qwy6z")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-crossbeam-utils" ,rust-crossbeam-utils) - ("rust-futures" ,rust-futures) - ("rust-lazy-static" ,rust-lazy-static) - ("rust-log" ,rust-log) - ("rust-mio" ,rust-mio) - ("rust-num-cpus" ,rust-num-cpus) - ("rust-parking-lot" ,rust-parking-lot) - ("rust-slab" ,rust-slab) - ("rust-tokio-executor" ,rust-tokio-executor) - ("rust-tokio-io" ,rust-tokio-io) - ("rust-tokio-sync" ,rust-tokio-sync)) + (("rust-futures" ,rust-futures) + ("rust-native-tls" ,rust-native-tls) + ("rust-tokio-tcp" ,rust-tokio-tcp) + ("rust-tokio-tls" ,rust-tokio-tls) + ("rust-trust-dns-proto" ,rust-trust-dns-proto)) #:cargo-development-inputs - (("rust-num-cpus" ,rust-num-cpus) - ("rust-tokio" ,rust-tokio) - ("rust-tokio-io-pool" ,rust-tokio-io-pool)))) - (home-page "https://tokio.rs") + (("rust-tokio" ,rust-tokio)))) + (home-page "http://www.trust-dns.org/index.html") (synopsis - "Event loop that drives Tokio I/O resources.") + "Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use native-tls for TLS.") (description - "Event loop that drives Tokio I/O resources.") - (license license:expat))) + "Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use native-tls for TLS.") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-tokio-mock-task +(define-public rust-trust-dns-openssl (package - (name "rust-tokio-mock-task") - (version "0.1.1") + (name "rust-trust-dns-openssl") + (version "0.7.0") (source (origin (method url-fetch) - (uri (crate-uri "tokio-mock-task" version)) + (uri (crate-uri "trust-dns-openssl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1y7q83qfk9ljjfvs82b453pmz9x1v3d6kr4x55j8mal01s6790dw")))) + "19qxi4y33wd2g55r4v9d6b06d20bdhqhvsrsmbpz5ir3i7l5psp7")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-futures" ,rust-futures)))) - (home-page - "https://github.com/carllerche/tokio-mock-task") - (synopsis "Mock a Tokio task") - (description "Mock a Tokio task") - (license license:expat))) + `(#:cargo-inputs + (("rust-futures" ,rust-futures) + ("rust-openssl" ,rust-openssl) + ("rust-tokio-openssl" ,rust-tokio-openssl) + ("rust-tokio-tcp" ,rust-tokio-tcp) + ("rust-trust-dns-proto" ,rust-trust-dns-proto)) + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl) + ("rust-tokio" ,rust-tokio)))) + (home-page "http://www.trust-dns.org/index.html") + (synopsis + "Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use tokio-openssl for TLS.") + (description + "Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use tokio-openssl for TLS.") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-tokio-sync +(define-public rust-trust-dns-proto (package - (name "rust-tokio-sync") - (version "0.1.6") + (name "rust-trust-dns-proto") + (version "0.8.0") (source (origin (method url-fetch) - (uri (crate-uri "tokio-sync" version)) + (uri (crate-uri "trust-dns-proto" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ryalh7dcmnz46xj1va8aaw3if6vd4mj87r67dqvrqhpyf7j8qi1")))) + "1f9xjyz7fsa83dj00zif7lmljd4x420c0vmniinhb7c35777wi85")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-fnv" ,rust-fnv) - ("rust-futures" ,rust-futures)) + (("rust-data-encoding" ,rust-data-encoding) + ("rust-enum-as-inner" ,rust-enum-as-inner) + ("rust-failure" ,rust-failure) + ("rust-futures" ,rust-futures) + ("rust-idna" ,rust-idna) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-log" ,rust-log) + ("rust-openssl" ,rust-openssl) + ("rust-rand" ,rust-rand) + ("rust-ring" ,rust-ring) + ("rust-serde" ,rust-serde) + ("rust-smallvec" ,rust-smallvec) + ("rust-socket2" ,rust-socket2) + ("rust-tokio-executor" ,rust-tokio-executor) + ("rust-tokio-io" ,rust-tokio-io) + ("rust-tokio-reactor" ,rust-tokio-reactor) + ("rust-tokio-tcp" ,rust-tokio-tcp) + ("rust-tokio-timer" ,rust-tokio-timer) + ("rust-tokio-udp" ,rust-tokio-udp) + ("rust-url" ,rust-url)) #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger) - ("rust-loom" ,rust-loom) - ("rust-tokio" ,rust-tokio) - ("rust-tokio-mock-task" ,rust-tokio-mock-task)))) - (home-page "https://tokio.rs") - (synopsis "Synchronization utilities.") - (description "Synchronization utilities.") - (license license:expat))) + ("rust-tokio" ,rust-tokio)))) + (home-page "http://www.trust-dns.org/index.html") + (synopsis + "Trust-DNS is a safe and secure DNS library. This is the foundational DNS protocol library for all Trust-DNS projects.") + (description + "Trust-DNS is a safe and secure DNS library. This is the foundational DNS protocol library for all Trust-DNS projects.") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-tokio-tcp +(define-public rust-trust-dns-resolver (package - (name "rust-tokio-tcp") - (version "0.1.3") + (name "rust-trust-dns-resolver") + (version "0.12.0") (source (origin (method url-fetch) - (uri (crate-uri "tokio-tcp" version)) + (uri (crate-uri "trust-dns-resolver" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "06a15vg8bcd33ng3h9ldzlq7wl4jsw0p9qpy7v22ls5yah3b250x")))) + "0cjkz3rcisk7v354l5hqb3j5x9x389pjqd6da6h8skvqxr0kl6yb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-bytes" ,rust-bytes) + (("rust-cfg-if" ,rust-cfg-if) + ("rust-failure" ,rust-failure) ("rust-futures" ,rust-futures) - ("rust-iovec" ,rust-iovec) - ("rust-mio" ,rust-mio) - ("rust-tokio-io" ,rust-tokio-io) - ("rust-tokio-reactor" ,rust-tokio-reactor)) + ("rust-ipconfig" ,rust-ipconfig) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-log" ,rust-log) + ("rust-lru-cache" ,rust-lru-cache) + ("rust-resolv-conf" ,rust-resolv-conf) + ("rust-rustls" ,rust-rustls) + ("rust-serde" ,rust-serde) + ("rust-smallvec" ,rust-smallvec) + ("rust-tokio" ,rust-tokio) + ("rust-tokio-executor" ,rust-tokio-executor) + ("rust-tokio-tcp" ,rust-tokio-tcp) + ("rust-tokio-udp" ,rust-tokio-udp) + ("rust-trust-dns-https" ,rust-trust-dns-https) + ("rust-trust-dns-native-tls" + ,rust-trust-dns-native-tls) + ("rust-trust-dns-openssl" + ,rust-trust-dns-openssl) + ("rust-trust-dns-proto" ,rust-trust-dns-proto) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls) + ("rust-webpki-roots" ,rust-webpki-roots)) #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger) - ("rust-tokio" ,rust-tokio)))) - (home-page "https://tokio.rs") - (synopsis "TCP bindings for tokio.") - (description "TCP bindings for tokio.") - (license license:expat))) + ("rust-tokio" ,rust-tokio) + ("rust-tokio-io" ,rust-tokio-io)))) + (home-page "http://www.trust-dns.org/index.html") + (synopsis + "Trust-DNS is a safe and secure DNS library. This Resolver library uses the Client library to perform all DNS queries. The Resolver is intended to be a high-level library for any DNS record resolution see Resolver and AsyncResolver for supported resolution types. The Client can be used for other queries. + ") + (description + "Trust-DNS is a safe and secure DNS library. This Resolver library uses the Client library to perform all DNS queries. The Resolver is intended to be a high-level library for any DNS record resolution see Resolver and AsyncResolver for supported resolution types. The Client can be used for other queries. + ") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-tokio-threadpool +(define-public rust-trust-dns-rustls (package - (name "rust-tokio-threadpool") - (version "0.1.15") + (name "rust-trust-dns-rustls") + (version "0.7.0") (source (origin (method url-fetch) - (uri (crate-uri "tokio-threadpool" version)) + (uri (crate-uri "trust-dns-rustls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "06av6vdkgb48v6xaaci5agfydg9fsj9c338y01m3f7paklqh3jlh")))) + "0glpggq31764q7lp19h5l6implsr7ik015qkm5rg7pqwy93krsb3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-crossbeam-deque" ,rust-crossbeam-deque) - ("rust-crossbeam-queue" ,rust-crossbeam-queue) - ("rust-crossbeam-utils" ,rust-crossbeam-utils) - ("rust-futures" ,rust-futures) + (("rust-futures" ,rust-futures) ("rust-log" ,rust-log) - ("rust-num-cpus" ,rust-num-cpus) - ("rust-rand" ,rust-rand) - ("rust-slab" ,rust-slab) - ("rust-tokio-executor" ,rust-tokio-executor)) + ("rust-rustls" ,rust-rustls) + ("rust-tokio-rustls" ,rust-tokio-rustls) + ("rust-tokio-tcp" ,rust-tokio-tcp) + ("rust-trust-dns-proto" ,rust-trust-dns-proto) + ("rust-webpki" ,rust-webpki)) #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger) - ("rust-futures-cpupool" ,rust-futures-cpupool) - ("rust-threadpool" ,rust-threadpool)))) - (home-page "https://github.com/tokio-rs/tokio") + (("rust-openssl" ,rust-openssl) + ("rust-tokio" ,rust-tokio)))) + (home-page "http://www.trust-dns.org/index.html") (synopsis - "A task scheduler backed by a work-stealing thread pool.") + "Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use rustls for TLS.") (description - "This package provides a task scheduler backed by a work-stealing thread pool.") - (license license:expat))) + "Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use rustls for TLS.") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-tokio-timer +(define-public rust-try-from (package - (name "rust-tokio-timer") - (version "0.2.11") + (name "rust-try-from") + (version "0.3.2") (source (origin (method url-fetch) - (uri (crate-uri "tokio-timer" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "try_from" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "03m68ainkdy3b5pf20rjyknhk2ppx35bjdc2yfj2bv80sl96h47j")))) + (base32 + "12wdd4ja7047sd3rx70hv2056hyc8gcdllcx3a41g1rnw64kng98")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-crossbeam-utils" ,rust-crossbeam-utils) - ("rust-futures" ,rust-futures) - ("rust-slab" ,rust-slab) - ("rust-tokio-executor" ,rust-tokio-executor)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand) - ("rust-tokio" ,rust-tokio) - ("rust-tokio-mock-task" ,rust-tokio-mock-task)))) - (home-page "https://github.com/tokio-rs/tokio") - (synopsis "Timer facilities for Tokio") - (description "Timer facilities for Tokio") + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if)))) + (home-page "https://github.com/derekjw/try_from") + (synopsis + "TryFrom and TryInto traits for failable conversions that return a Result.") + (description + "TryFrom and TryInto traits for failable conversions that return a Result.") (license license:expat))) -(define-public rust-tokio-udp +(define-public rust-try-lock (package - (name "rust-tokio-udp") - (version "0.1.3") + (name "rust-try-lock") + (version "0.2.2") (source (origin (method url-fetch) - (uri (crate-uri "tokio-udp" version)) + (uri (crate-uri "try-lock" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "14kfj35s465czcspayacnzlxrazfvxzhhggq1rqlljhgp1sqa9k6")))) + "10p36rx6pqi9d0zr876xa8vksx2m66ha45myakl50rn08dxyn176")))) (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes) - ("rust-futures" ,rust-futures) - ("rust-log" ,rust-log) - ("rust-mio" ,rust-mio) - ("rust-tokio-codec" ,rust-tokio-codec) - ("rust-tokio-io" ,rust-tokio-io) - ("rust-tokio-reactor" ,rust-tokio-reactor)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger)))) - (home-page "https://tokio.rs") - (synopsis "UDP bindings for tokio.") - (description "UDP bindings for tokio.") + (home-page + "https://github.com/seanmonstar/try-lock") + (synopsis "A lightweight atomic lock.") + (description + "This package provides a lightweight atomic lock.") (license license:expat))) -(define-public rust-tokio-uds +(define-public rust-trybuild (package - (name "rust-tokio-uds") - (version "0.2.5") + (name "rust-trybuild") + (version "1.0.9") (source (origin (method url-fetch) - (uri (crate-uri "tokio-uds" version)) + (uri (crate-uri "trybuild" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0i94kxma6l7iy5hd5k7nvn7v9pnyw0s54bm9mjs0lap1l0xzqzq3")))) + "0df6ipayif05xn61iavdb0dcshm9y6wmcd140pp7dl91mirygs7j")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-bytes" ,rust-bytes) - ("rust-futures" ,rust-futures) - ("rust-iovec" ,rust-iovec) - ("rust-libc" ,rust-libc) - ("rust-log" ,rust-log) - ("rust-mio" ,rust-mio) - ("rust-mio-uds" ,rust-mio-uds) - ("rust-tokio-codec" ,rust-tokio-codec) - ("rust-tokio-io" ,rust-tokio-io) - ("rust-tokio-reactor" ,rust-tokio-reactor)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile) - ("rust-tokio" ,rust-tokio)))) - (home-page "https://github.com/tokio-rs/tokio") - (synopsis "Unix Domain sockets for Tokio") - (description "Unix Domain sockets for Tokio") - (license license:expat))) + (("rust-glob" ,rust-glob) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-serde" ,rust-serde) + ("rust-serde-json" ,rust-serde-json) + ("rust-termcolor" ,rust-termcolor) + ("rust-toml" ,rust-toml)))) + (home-page "https://github.com/dtolnay/trybuild") + (synopsis + "Test harness for ui tests of compiler diagnostics") + (description + "Test harness for ui tests of compiler diagnostics") + (license (list license:asl2.0 + license:expat)))) -(define-public rust-toml +(define-public rust-typed-arena (package - (name "rust-toml") - (version "0.5.1") + (name "rust-typed-arena") + (version "1.5.0") (source (origin (method url-fetch) - (uri (crate-uri "toml" version)) + (uri (crate-uri "typed-arena" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0fdhfyv20qn29cxq1f9j9wav92c3qhxdm71sxfyzhzpsfdw6vjdq")))) + "0im62vrmyzbr8xq66bcyr86ka4z2x8psn9z4982bq4fc8v1zaw3z")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-linked-hash-map" ,rust-linked-hash-map) - ("rust-serde" ,rust-serde)) - #:cargo-development-inputs - (("rust-serde-derive" ,rust-serde-derive) - ("rust-serde-json" ,rust-serde-json)))) + `(#:cargo-development-inputs + (("rust-criterion" ,rust-byteorder)))) (home-page - "https://github.com/alexcrichton/toml-rs") + "https://github.com/SimonSapin/rust-typed-arena") (synopsis - "A native Rust encoder and decoder of TOML-formatted files and streams. Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures.") + "The arena, a fast but limited type of allocator") (description - "A native Rust encoder and decoder of TOML-formatted files and streams. Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures.") - (license (list license:asl2.0 - license:expat)))) + "The arena, a fast but limited type of allocator") + (license license:expat))) -(define-public rust-tracing-core +(define-public rust-typed-headers (package - (name "rust-tracing-core") - (version "0.1.2") + (name "rust-typed-headers") + (version "0.1.1") (source (origin (method url-fetch) - (uri (crate-uri "tracing-core" version)) + (uri (crate-uri "typed-headers" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "01fa73wzw2m5ybi3kkd52dgrw97mgc3i6inmhwys46ab28giwnxi")))) + "0g40nlq5iw0zxhwb7nfmfbr9m86abgwwhxwhzrm10nfq6bsmlvxx")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static)))) - (home-page "https://tokio.rs") + (("rust-base64" ,rust-base64) + ("rust-bytes" ,rust-bytes) + ("rust-chrono" ,rust-chrono) + ("rust-http" ,rust-http) + ("rust-mime" ,rust-mime)))) + (home-page "https://github.com/sfackler/typed-headers") (synopsis - "Core primitives for application-level tracing.") + "Typed HTTP header serialization and deserialization.") (description - "Core primitives for application-level tracing.") + "Typed HTTP header serialization and deserialization.") (license (list license:asl2.0 license:expat)))) -(define-public rust-trybuild +(define-public rust-typemap (package - (name "rust-trybuild") - (version "1.0.9") + (name "rust-typemap") + (version "0.3.3") (source (origin (method url-fetch) - (uri (crate-uri "trybuild" version)) + (uri (crate-uri "typemap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0df6ipayif05xn61iavdb0dcshm9y6wmcd140pp7dl91mirygs7j")))) + (base32 + "1xm1gbvz9qisj1l6d36hrl9pw8imr8ngs6qyanjnsad3h0yfcfv5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-glob" ,rust-glob) - ("rust-lazy-static" ,rust-lazy-static) - ("rust-serde" ,rust-serde) - ("rust-serde-json" ,rust-serde-json) - ("rust-termcolor" ,rust-termcolor) - ("rust-toml" ,rust-toml)))) - (home-page "https://github.com/dtolnay/trybuild") + (("rust-unsafe-any" ,rust-base64)))) + (home-page "https://github.com/reem/rust-typemap") (synopsis - "Test harness for ui tests of compiler diagnostics") + "A typesafe store for many value types.") (description - "Test harness for ui tests of compiler diagnostics") - (license (list license:asl2.0 - license:expat)))) + "A typesafe store for many value types.") + (license license:expat))) (define-public rust-ucd-trie (package @@ -7150,6 +10949,61 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) +(define-public rust-unicase + (package + (name "rust-unicase") + (version "2.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicase" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xmpmkakhhblq7dzab1kwyv925kv7fqjkjsxjspg6ix9n88makm8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-version-check" ,rust-version-check)))) + (home-page + "https://github.com/seanmonstar/unicase") + (synopsis + "A case-insensitive wrapper around strings.") + (description + "A case-insensitive wrapper around strings.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-unicode-bidi + (package + (name "rust-unicode-bidi") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicode-bidi" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1malx8ljgm7v1gbaazkn7iicy5wj0bwcyadj3l727a38ch6bvwj9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-matches" ,rust-matches) + ("rust-flame" ,rust-flame) + ("rust-flamer" ,rust-flamer) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-serde-test" ,rust-serde-test)))) + (home-page "https://github.com/servo/unicode-bidi") + (synopsis + "Implementation of the Unicode Bidirectional Algorithm") + (description + "Implementation of the Unicode Bidirectional Algorithm") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-unicode-normalization (package (name "rust-unicode-normalization") @@ -7204,6 +11058,27 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) +(define-public rust-untrusted + (package + (name "rust-untrusted") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "untrusted" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1kmfykcwif6ashkwg54gcnhxj03kpba2i9vc7z5rpr0xlgvrwdk0")))) + (build-system cargo-build-system) + (home-page + "https://github.com/briansmith/untrusted") + (synopsis + "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted inputs in Rust.") + (description + "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted inputs in Rust.") + (license license:isc))) + (define-public rust-url (package (name "rust-url") @@ -7236,6 +11111,33 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) +(define-public rust-urlencoded + (package + (name "rust-urlencoded") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "urlencoded" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qrkblcj3gpz256d5fci9g9ig20mxlavy25gj6p612qi740zalha")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bodyparser" ,rust-bodyparser) + ("rust-iron" ,rust-iron) + ("rust-plugin" ,rust-plugin) + ("rust-url" ,rust-url)))) + (home-page "https://github.com/iron/urlencoded") + (synopsis + "URL Encoded middleware for the Iron web framework. Decode URL Encoded data from GET request queries and POST request bodies.") + (description + "URL Encoded middleware for the Iron web framework. Decode URL Encoded data from GET request queries and POST request bodies.") + (license license:expat))) + (define-public rust-utf8-ranges (package (name "rust-utf8-ranges") @@ -7350,6 +11252,28 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) +(define-public rust-version-check + (package + (name "rust-version-check") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "version_check" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1kikqlnggii1rvnxrbls55sc46lxvinz5k3giscgncjj4p87b1q7")))) + (build-system cargo-build-system) + (home-page + "https://github.com/SergioBenitez/version_check") + (synopsis + "This tiny crate checks that the running or installed rustc meets some version requirements. The version is queried by calling the Rust compiler with --version. The path to the compiler is determined first via the RUSTC environment variable. If it is not set, then rustc is used. If that fails, no determination is made, and calls return None.") + (description + "This tiny crate checks that the running or installed rustc meets some version requirements. The version is queried by calling the Rust compiler with --version. The path to the compiler is determined first via the RUSTC environment variable. If it is not set, then rustc is used. If that fails, no determination is made, and calls return None.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-version-sync (package (name "rust-version-sync") @@ -7377,11 +11301,32 @@ writing colored text to a terminal.") (home-page "https://github.com/mgeisler/version-sync") (synopsis - "Simple crate for ensuring that version numbers in README files are - updated when the crate version changes.") + "Simple crate for ensuring that version numbers in README files are + updated when the crate version changes.") + (description + "Simple crate for ensuring that version numbers in README files are + updated when the crate version changes.") + (license license:expat))) + +(define-public rust-void + (package + (name "rust-void") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "void" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0zc8f0ksxvmhvgx4fdg0zyn6vdnbxd2xv9hfx4nhzg6kbs4f80ka")))) + (build-system cargo-build-system) + (home-page "https://github.com/reem/rust-void.git") + (synopsis + "The uninhabited void type for use in statically impossible cases.") (description - "Simple crate for ensuring that version numbers in README files are - updated when the crate version changes.") + "The uninhabited void type for use in statically impossible cases.") (license license:expat))) (define-public rust-walkdir @@ -7412,6 +11357,34 @@ writing colored text to a terminal.") (license (list license:unlicense license:expat)))) +(define-public rust-want + (package + (name "rust-want") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "want" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "181b2zmwfq389x9n2g1n37cvcvvdand832zz6v8i1l8wrdlaks0w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-bytes) + ("rust-try-lock" ,rust-try-lock)) + #:cargo-development-inputs + (("rust-tokio-executor" ,rust-tokio-executor) + ("rust-tokio-sync" ,rust-tokio-sync)))) + (home-page "https://github.com/seanmonstar/want") + (synopsis + "Detect when another Future wants a result.") + (description + "Detect when another Future wants a result.") + (license license:expat))) + (define-public rust-wasm-bindgen (package (name "rust-wasm-bindgen") @@ -7473,6 +11446,44 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) +(define-public rust-wasm-bindgen-futures + (package + (name "rust-wasm-bindgen-futures") + (version "0.3.27") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasm-bindgen-futures" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "073p71skp91d9v2wczl6k7z9p0w25vn43br2v2g1ncbc6hvhnhl3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if) + ("rust-futures" ,rust-futures) + ("rust-futures-channel-preview" + ,rust-futures-channel-preview) + ("rust-futures-util-preview" + ,rust-futures-util-preview) + ("rust-js-sys" ,rust-js-sys) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-wasm-bindgen" ,rust-wasm-bindgen) + ("rust-web-sys" ,rust-web-sys)) + #:cargo-development-inputs + (("rust-wasm-bindgen-test" + ,rust-wasm-bindgen-test)))) + (home-page + "https://rustwasm.github.io/wasm-bindgen/") + (synopsis + "Bridging the gap between Rust Futures and JavaScript Promises") + (description + "Bridging the gap between Rust Futures and JavaScript Promises") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-wasm-bindgen-macro (package (name "rust-wasm-bindgen-macro") @@ -7598,6 +11609,128 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) +(define-public rust-wasm-bindgen-webidl + (package + (name "rust-wasm-bindgen-webidl") + (version "0.2.50") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasm-bindgen-webidl" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "057zak44nyrawipgi37m451fjkxz6ix5rzcw11d699rgpy4x4lxy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-failure" ,rust-failure) + ("rust-heck" ,rust-heck) + ("rust-log" ,rust-log) + ("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn) + ("rust-wasm-bindgen-backend" + ,rust-wasm-bindgen-backend) + ("rust-weedle" ,rust-weedle)))) + (home-page + "https://rustwasm.github.io/wasm-bindgen/") + (synopsis + "Support for parsing WebIDL specific to wasm-bindgen") + (description + "Support for parsing WebIDL specific to wasm-bindgen") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-web-sys + (package + (name "rust-web-sys") + (version "0.3.27") + (source + (origin + (method url-fetch) + (uri (crate-uri "web-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0lccdl3ihqh70s48dzvzpm09gpwvdjyw4wksk848dm0a41vw8db4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-js-sys" ,rust-js-sys) + ("rust-wasm-bindgen" ,rust-wasm-bindgen)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger) + ("rust-failure" ,rust-failure) + ("rust-futures" ,rust-futures) + ("rust-sourcefile" ,rust-sourcefile) + ("rust-wasm-bindgen-futures" + ,rust-wasm-bindgen-futures) + ("rust-wasm-bindgen-test" + ,rust-wasm-bindgen-test) + ("rust-wasm-bindgen-webidl" + ,rust-wasm-bindgen-webidl)))) + (home-page + "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html") + (synopsis + "Bindings for all Web APIs, a procedurally generated crate from WebIDL") + (description + "Bindings for all Web APIs, a procedurally generated crate from WebIDL") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-webpki + (package + (name "rust-webpki") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1d41gfai89q7drm92mgmh6fk57nikv2vqsa773i100dcf3kn9rnp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ring" ,rust-ring) + ("rust-untrusted" ,rust-untrusted)) + #:cargo-development-inputs + (("rust-base64" ,rust-base64)))) + (home-page "https://github.com/briansmith/webpki") + (synopsis + "webpki is a library that validates Web PKI (TLS/SSL) certificates. webpki is designed to provide a full implementation of the client side of the Web PKI to a diverse range of applications and devices, including embedded (IoT) applications, mobile apps, desktop applications, and server infrastructure. webpki is intended to not only be the best implementation of the Web PKI, but to also precisely define what the Web PKI is.") + (description + "webpki is a library that validates Web PKI (TLS/SSL) certificates. webpki is designed to provide a full implementation of the client side of the Web PKI to a diverse range of applications and devices, including embedded (IoT) applications, mobile apps, desktop applications, and server infrastructure. webpki is intended to not only be the best implementation of the Web PKI, but to also precisely define what the Web PKI is.") + (license license:isc))) ; I think + +(define-public rust-webpki-roots + (package + (name "rust-webpki-roots") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12vi8dh0yik0h4f0b9dnlw5i3gxyky7iblbksh6zcq4xvlvswqm2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-webpki" ,rust-webpki)))) + (home-page "https://github.com/ctz/webpki-roots") + (synopsis + "Mozilla's CA root certificates for use with webpki") + (description + "Mozilla's CA root certificates for use with webpki") + (license license:mpl2.0))) + (define-public rust-which (package (name "rust-which") @@ -7626,6 +11759,49 @@ writing colored text to a terminal.") "This package provides a Rust equivalent of Unix command \"which\". Locate installed execuable in cross platforms.") (license license:expat))) +(define-public rust-widestring + (package + (name "rust-widestring") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "widestring" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dhx6dndjsz1y7c9w06922412kdxyrrkqblvggm76mh8z17hxz7g")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-winapi" ,rust-winapi)))) + (home-page "https://github.com/starkat99/widestring-rs.git") + (synopsis + "A wide string Rust FFI library for converting to and from wide strings, such as those often used in Windows API or other FFI libaries. Both UTF-16 and UTF-32 types are provided, including support for malformed encoding.") + (description + "A wide string Rust FFI library for converting to and from wide strings, such as those often used in Windows API or other FFI libaries. Both UTF-16 and UTF-32 types are provided, including support for malformed encoding.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-winapi-build + (package + (name "rust-winapi-build") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "winapi-build" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d")))) + (build-system cargo-build-system) + (home-page "https://github.com/retep998/winapi-rs") + (synopsis "Common code for build.rs in WinAPI -sys crates") + (description + "Common code for build.rs in WinAPI -sys crates.") + (license license:expat))) + (define-public rust-winapi-util (package (name "rust-winapi-util") @@ -7674,6 +11850,108 @@ winapi.") (license (list license:unlicense license:expat)))) +(define-public rust-winreg + (package + (name "rust-winreg") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jdcqr6zmvwyrp87h48miasfdvv16gjsb60rc8dy2kqwb3mnv65j")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi) + ("rust-chrono" ,rust-chrono) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3) + ("rust-serde-derive" ,rust-serde-derive)))) + (home-page "https://github.com/gentoo90/winreg-rs") + (synopsis + "Rust bindings to MS Windows Registry API.") + (description + "Rust bindings to MS Windows Registry API.") + (license license:expat))) + +(define-public rust-winutil + (package + (name "rust-winutil") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "winutil" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi)))) + (home-page "https://bitbucket.org/DaveLancaster/winutil") + (synopsis "A simple library wrapping a handful of useful winapi functions.") + (description + "A simple library wrapping a handful of useful winapi functions.") + (license license:expat))) + +(define-public rust-ws2-32-sys + (package + (name "rust-ws2-32-sys") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ws2_32-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi) + ("rust-winapi-build" ,rust-winapi-build)))) + (home-page "https://github.com/retep998/winapi-rs") + (synopsis + "Contains function definitions for the Windows API library ws2_32.") + (description + "Contains function definitions for the Windows API library ws2_32.") + (license license:expat))) + +(define-public rust-xattr + (package + (name "rust-xattr") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "xattr" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0k556fb6f5jc907975j9c8iynl2fqz3rf0w6fiig83i4yi0kfk14")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile)))) + (home-page + "https://github.com/Stebalien/xattr") + (synopsis "unix extended filesystem attributes") + (description "unix extended filesystem attributes") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-xdg (package (name "rust-xdg") @@ -7697,6 +11975,40 @@ winapi.") (license (list license:asl2.0 license:expat)))) +(define-public rust-xz2 + (package + (name "rust-xz2") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "xz2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0v4jb0193gx8s1kvd2ajsgh0ffmwhqhfmrrw1n1h2z7w6jgqcyf1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures) + ("rust-lzma-sys" ,rust-lzma-sys) + ("rust-tokio-io" ,rust-tokio-io)) + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck) + ("rust-rand" ,rust-rand) + ("rust-tokio-core" ,rust-tokio-core)))) + (home-page + "https://github.com/alexcrichton/xz2-rs") + (synopsis + "Rust bindings to liblzma providing Read/Write streams as well as low-level + in-memory encoding/decoding.") + (description + "Rust bindings to liblzma providing Read/Write streams as well as low-level + in-memory encoding/decoding.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-yaml-rust (package (name "rust-yaml-rust") diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index 7773fa5..dbd3abc 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -248,11 +248,11 @@ location of a putative QTL.") (license license:gpl2+)))) (define-public rust-qtlreaper - (let ((commit "eacf6ff1c3d1cd16084a70a7a425bd77080c15de") + (let ((commit "2e7fed6d45b0b602d80fa2a55835f96ef1cba9e3") (revision "1")) (package (name "rust-qtlreaper") - (version (git-version "0.1.3" revision commit)) + (version "0.1.4") (source (origin (method git-fetch) @@ -262,7 +262,7 @@ location of a putative QTL.") (file-name (git-file-name name version)) (sha256 (base32 - "0gr2z54i11zz94ra4w06fhfnwnmmhl5xyc8qhlk0v2qq18yfi7ji")))) + "0h70aalsplmc6xn1w7ha102n3bsi3gqkbnbrjvjm2za37c07gv0g")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -270,7 +270,8 @@ location of a putative QTL.") ("rust-structopt" ,rust-structopt) ("rust-rayon" ,rust-rayon-1.0) ("rust-serde" ,rust-serde) - ("rust-serde-json" ,rust-serde-json)))) + ("rust-serde-json" ,rust-serde-json) + ("rust-ndarray" ,rust-ndarray)))) (home-page "https://github.com/chfi/rust-qtlreaper") (synopsis "Reimplementation of genenetwork/QTLReaper in Rust") (description "Reimplementation of genenetwork/QTLReaper in Rust") -- cgit v1.2.3 From 5ceeeec3b50018cde68725ae604c53e30c07cada Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 26 Aug 2019 08:09:32 -0500 Subject: gn: Updates to crates --- gn/packages/crates-io.scm | 712 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 603 insertions(+), 109 deletions(-) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index 098e279..9a6ad48 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -5,7 +5,16 @@ #:use-module (guix download) #:use-module (guix utils) #:use-module (guix build-system cargo) - #:use-module (gnu packages crates-io)) + #:use-module (gnu packages compression) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages gcc) + #:use-module (gnu packages jemalloc) + #:use-module (gnu packages llvm) + #:use-module (gnu packages maths) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages ssh) + #:use-module (gnu packages tls) + #:use-module (gnu packages version-control)) ;; Please keep these packages sorted alphabetically @@ -651,7 +660,7 @@ (string-append clang "/lib"))) #t))))) (inputs - `(("libclang" ,(@ (gnu packages llvm) clang)))) + `(("libclang" ,clang))) (home-page "https://rust-lang.github.io/rust-bindgen/") (synopsis @@ -729,6 +738,28 @@ (base32 "0l9c1gjhld3ajalak1ipklxfjvwqyy3l7xl019spdbqlrk8r9f57")))))) +(define-public rust-blas-sys + (package + (name "rust-blas-sys") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "blas-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc)))) + (home-page "https://github.com/blas-lapack-rs/blas-sys") + (synopsis "Bindings to BLAS (Fortran).") + (description + "Ths package provides bindings to BLAS (Fortran).") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-blobby (package (name "rust-blobby") @@ -983,7 +1014,7 @@ (string-append clang "/lib"))) #t))))) (inputs - `(("libclang" ,(@ (gnu packages llvm) clang)))) + `(("libclang" ,clang))) (home-page "https://github.com/jethrogb/rust-cexpr") (synopsis "A C expression parser and evaluator") @@ -1084,7 +1115,7 @@ (string-append clang "/lib"))) #t))))) (inputs - `(("libclang" ,(@ (gnu packages llvm) clang)))) + `(("libclang" ,clang))) (home-page "https://github.com/KyleMayes/clang-sys") (synopsis "Rust bindings for libclang.") @@ -1387,6 +1418,34 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-cookie-store-0.7 + (package + (inherit rust-cookie-store) + (name "rust-cookie-store") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie_store" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "174i9k9g62pfx7y1nqynywdpjplkl3j4hi3ck6bz2r996qzhnxa6")))) + (arguments + `(#:cargo-inputs + (("rust-cookie" ,rust-cookie) + ("rust-idna" ,rust-idna) + ("rust-log" ,rust-log) + ("rust-publicsuffix" ,rust-publicsuffix) + ("rust-serde" ,rust-serde) + ("rust-serde-json" ,rust-serde-json) + ("rust-time" ,rust-time) + ("rust-try-from" ,rust-try-from) + ("rust-url" ,rust-url)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger) + ("rust-pretty-assertions" ,rust-pretty-assertions)))))) + (define-public rust-core-arch (package (name "rust-core-arch") @@ -2204,6 +2263,187 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-encoding + (package + (name "rust-encoding") + (version "0.2.33") + (source + (origin + (method url-fetch) + (uri (crate-uri "encoding" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1v1ndmkarh9z3n5hk53da4z56hgk9wa5kcsm7cnx345raqw983bb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-encoding-index-japanese" + ,rust-encoding-index-japanese) + ("rust-encoding-index-korean" + ,rust-encoding-index-korean) + ("rust-encoding-index-simpchinese" + ,rust-encoding-index-simpchinese) + ("rust-encoding-index-singlebyte" + ,rust-encoding-index-singlebyte) + ("rust-encoding-index-tradchinese" + ,rust-encoding-index-tradchinese)) + #:cargo-development-inputs + (("rust-getopts" ,rust-getopts)))) + (home-page + "https://github.com/lifthrasiir/rust-encoding") + (synopsis "Character encoding support for Rust") + (description + "Character encoding support for Rust") + (license license:expat))) + +(define-public rust-encoding-index-japanese + (package + (name "rust-encoding-index-japanese") + (version "1.20141219.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "encoding_index_japanese" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "148c1lmd640p1d7fzk0nv7892mbyavvwddgqvcsm78798bzv5s04")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-encoding-index-tests" + ,rust-encoding-index-tests)))) + (home-page + "https://github.com/lifthrasiir/rust-encoding") + (synopsis "Index tables for Japanese character encodings") + (description + "Index tables for Japanese character encodings") + (license license:cc0))) + +(define-public rust-encoding-index-korean + (package + (name "rust-encoding-index-korean") + (version "1.20141219.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "encoding_index_korean" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10cxabp5ppygbq4y6y680856zl9zjvq7ahpiw8zj3fmwwsw3zhsd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-encoding-index-tests" + ,rust-encoding-index-tests)))) + (home-page + "https://github.com/lifthrasiir/rust-encoding") + (synopsis "Index tables for Korean character encodings") + (description + "Index tables for Korean character encodings") + (license license:cc0))) + +(define-public rust-encoding-index-simpchinese + (package + (name "rust-encoding-index-simpchinese") + (version "1.20141219.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "encoding_index_simpchinese" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xria2i7mc5dqdrpqxasdbxv1qx46jjbm53if3y1i4cvj2a72ynq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-encoding-index-tests" + ,rust-encoding-index-tests)))) + (home-page + "https://github.com/lifthrasiir/rust-encoding") + (synopsis "Index tables for simple Chienese character encodings") + (description + "Index tables for simple Chienese character encodings") + (license license:cc0))) + +(define-public rust-encoding-index-singlebyte + (package + (name "rust-encoding-index-singlebyte") + (version "1.20141219.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "encoding_index_singlebyte" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0jp85bz2pprzvg9m95w4q0vibh67b6w3bx35lafay95jzyndal9k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-encoding-index-tests" + ,rust-encoding-index-tests)))) + (home-page + "https://github.com/lifthrasiir/rust-encoding") + (synopsis "Index tables for various single-byte character encodings") + (description + "Index tables for various single-byte character encodings") + (license license:cc0))) + +(define-public rust-encoding-index-tests + (package + (name "rust-encoding-index-tests") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "encoding_index_tests" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0s85y091gl17ixass49bzaivng7w8p82p6nyvz2r3my9w4mxhim2")))) + (build-system cargo-build-system) + (home-page + "https://github.com/lifthrasiir/rust-encoding") + (synopsis "Helper macros used to test index tables for character encodings") + (description + "Helper macros used to test index tables for character encodings.") + (license license:cc0))) + +(define-public rust-encoding-index-tradchinese + (package + (name "rust-encoding-index-tradchinese") + (version "1.20141219.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "encoding_index_tradchinese" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "060ci4iz6xfvzk38syfbjvs7pix5hch3mvxkksswmqwcd3aj03px")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-encoding-index-tests" + ,rust-encoding-index-tests)))) + (home-page + "https://github.com/lifthrasiir/rust-encoding") + (synopsis "Index tables for traditional Chienese character encodings") + (description + "Index tables for traditional Chienese character encodings") + (license license:cc0))) + (define-public rust-encoding-rs (package (name "rust-encoding-rs") @@ -2450,7 +2690,7 @@ (("rust-proc-macro2" ,rust-proc-macro2) ("rust-quote" ,rust-quote) ("rust-syn" ,rust-syn) - ("rust-synstructure" ,rust-synstructure)) + ("rust-synstructure" ,rust-synstructure-0.10)) #:cargo-development-inputs (("rust-failure" ,rust-failure)))) (home-page @@ -3324,8 +3564,8 @@ pseudorandom number generator") (setenv "LIBGIT2_SYS_USE_PKG_CONFIG" "1") #t))))) (inputs - `(("libgit" ,(@ (gnu packages version-control) libgit2)) - ("openssl" ,(@ (gnu packages tls) openssl)))) + `(("libgit" ,libgit2) + ("openssl" ,openssl))) (home-page "https://github.com/rust-lang/git2-rs") (synopsis @@ -4173,27 +4413,27 @@ pseudorandom number generator") (origin (method url-fetch) (uri (crate-uri "intel-mkl-src" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "16kq725cl4rnvfpwq9x4rl83ylcqs7d0xryagx8ijm6bdblbfabc")))) + (base32 + "16kq725cl4rnvfpwq9x4rl83ylcqs7d0xryagx8ijm6bdblbfabc")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-failure" ,rust-failure) - ("rust-pkg-config" ,rust-pkg-config) - ("rust-reqwest" ,rust-reqwest) - ("rust-tar" ,rust-tar) - ("rust-xz2" ,rust-xz2)) - #:cargo-development-inputs - (("rust-libc" ,rust-libc)))) - (home-page - "https://github.com/termoshtt/rust-intel-mkl") - (synopsis - "Redistribution of Intel MKL as a crate.") + `(#:cargo-inputs + (("rust-failure" ,rust-failure) + ("rust-pkg-config" ,rust-pkg-config) + ("rust-reqwest" ,rust-reqwest) + ("rust-tar" ,rust-tar) + ("rust-xz2" ,rust-xz2)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc)))) + (inputs + `(("pkg-config" ,pkg-config) + ("xz" ,xz))) + (home-page "https://github.com/termoshtt/rust-intel-mkl") + (synopsis "Redistribution of Intel MKL as a crate") (description - "Redistribution of Intel MKL as a crate.") + "Redistribution of Intel @acronym{MKL, Math Kernel Library} as a crate.") (license (list license:non-copyleft "Intel Simplified Software License" license:expat)))) ; some wrapper codes @@ -4272,7 +4512,7 @@ pseudorandom number generator") (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc) - ("rust-winapi" ,rust-winapi)))) + ("rust-winapi" ,rust-winapi-0.2)))) (home-page "https://github.com/carllerche/iovec") (synopsis "Portable buffer type for scatter/gather I/O operations") @@ -4390,7 +4630,7 @@ pseudorandom number generator") (string-append jemalloc "/lib/libjemalloc_pic.a"))) #t))))) (inputs - `(("jemalloc" ,(@ (gnu packages jemalloc) jemalloc)))) + `(("jemalloc" ,jemalloc))) (home-page "https://github.com/gnzlbg/jemallocator") (synopsis "A safe wrapper over jemalloc's control and introspection APIs") @@ -4432,7 +4672,7 @@ pseudorandom number generator") (string-append jemalloc "/lib/libjemalloc_pic.a"))) #t))))) (inputs - `(("jemalloc" ,(@ (gnu packages jemalloc) jemalloc)))) + `(("jemalloc" ,jemalloc))) (home-page "https://github.com/gnzlbg/jemallocator") (synopsis "Rust FFI bindings to jemalloc") (description "Rust FFI bindings to jemalloc") @@ -4468,7 +4708,7 @@ pseudorandom number generator") (string-append jemalloc "/lib/libjemalloc_pic.a"))) #t))))) (inputs - `(("jemalloc" ,(@ (gnu packages jemalloc) jemalloc)))) + `(("jemalloc" ,jemalloc))) (home-page "https://github.com/gnzlbg/jemallocator") (synopsis "A Rust allocator backed by jemalloc") (description @@ -4711,10 +4951,10 @@ pseudorandom number generator") (setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1") #t))))) (inputs - `(("libgit" ,(@ (gnu packages version-control) libgit2)) - ("openssl" ,(@ (gnu packages tls) openssl)) - ("pkg-config" ,(@ (gnu packages pkg-config) pkg-config)) - ("zlib" ,(@ (gnu packages compression) zlib)))) + `(("libgit" ,libgit2) + ("openssl" ,openssl) + ("pkg-config" ,pkg-config) + ("zlib" ,zlib))) (home-page "https://github.com/rust-lang/git2-rs") (synopsis @@ -4789,10 +5029,10 @@ pseudorandom number generator") (setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1") #t))))) (inputs - `(("libssh2" ,(@ (gnu packages ssh) libssh2)) - ("openssl" ,(@ (gnu packages tls) openssl)) - ("pkg-config" ,(@ (gnu packages pkg-config) pkg-config)) - ("zlib" ,(@ (gnu packages compression) zlib)))) + `(("libssh2" ,libssh2) + ("openssl" ,openssl) + ("pkg-config" ,pkg-config) + ("zlib" ,zlib))) (home-page "https://github.com/alexcrichton/ssh2-rs") (synopsis @@ -4835,8 +5075,8 @@ pseudorandom number generator") (delete-file-recursively "src/zlib") #t))))) (inputs - `(("pkg-config" ,(@ (gnu packages pkg-config) pkg-config)) - ("zlib" ,(@ (gnu packages compression) zlib)))) + `(("pkg-config" ,pkg-config) + ("zlib" ,zlib))) (home-page "https://github.com/alexcrichton/libz-sys") (synopsis "Bindings to the system libz library (also known as zlib).") (description @@ -4936,6 +5176,24 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-lock-api-0.1 + (package + (inherit rust-lock-api) + (name "rust-lock-api") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "lock_api" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0b24q9mh258xa52ap636q1sxz0j5vrnp0hwbbh7ddjka3wwz3sv2")))) + (arguments + `(#:cargo-inputs + (("rust-owning-ref" ,rust-owning-ref) + ("rust-scopeguard" ,rust-scopeguard-0.3)))))) + (define-public rust-log (package (name "rust-log") @@ -5045,30 +5303,31 @@ pseudorandom number generator") (origin (method url-fetch) (uri (crate-uri "lzma-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k")))) + (base32 + "14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc)) - #:cargo-development-inputs - (("rust-cc" ,rust-cc) - ("rust-pkg-config" ,rust-pkg-config)))) - (home-page - "https://github.com/alexcrichton/xz2-rs") - (synopsis - "Raw bindings to liblzma which contains an implementation of LZMA and xz stream - encoding/decoding. - - High level Rust bindings are available in the `xz2` crate.") + `(#:cargo-inputs + (("rust-cc" ,rust-cc) + ("rust-libc" ,rust-libc) + ("rust-pkg-config" ,rust-pkg-config)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'unbundle-xz + (lambda* (#:key inputs #:allow-other-keys) + (let ((xz (assoc-ref inputs "xz"))) + (delete-file-recursively "xz-5.2")) + #t))))) + (inputs + `(("pkg-config" ,pkg-config) + ("xz" ,xz))) + (home-page "https://github.com/alexcrichton/xz2-rs") + (synopsis "Bindings to liblzma for lzma and xz stream encoding/decoding") (description - "Raw bindings to liblzma which contains an implementation of LZMA and xz stream - encoding/decoding. - - High level Rust bindings are available in the `xz2` crate.") + "Raw bindings to liblzma which contains an implementation of LZMA and xz +stream encoding/decoding.") (license (list license:asl2.0 license:expat)))) @@ -5335,7 +5594,7 @@ pseudorandom number generator") ("rust-kernel32-sys" ,rust-kernel32-sys) ("rust-libc" ,rust-libc) ("rust-log" ,rust-log) - ("rust-miow" ,rust-miow) + ("rust-miow" ,rust-miow-0.2) ("rust-net2" ,rust-net2) ("rust-slab" ,rust-slab) ("rust-winapi" ,rust-winapi)) @@ -5407,6 +5666,28 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-miow-0.2 + (package + (inherit rust-miow) + (name "rust-miow") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "miow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06g9b8sqlh5gxakwqq4rrib07afwanfnxgxajrldwcgk3hxjy7wc")))) + (arguments + `(#:cargo-inputs + (("rust-kernel32-sys" ,rust-kernel32-sys) + ("rust-net2" ,rust-net2) + ("rust-winapi" ,rust-winapi-0.2) + ("rust-ws2-32-sys" ,rust-ws2-32-sys)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3)))))) + (define-public rust-modifier (package (name "rust-modifier") @@ -5535,16 +5816,27 @@ pseudorandom number generator") (origin (method url-fetch) (uri (crate-uri "netlib-src" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "112hwfw1zzdj10h3j213xxqjrq38iygb3nb3ijay65ycmrg819s4")))) + (base32 + "112hwfw1zzdj10h3j213xxqjrq38iygb3nb3ijay65ycmrg819s4")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-cmake" ,rust-cmake) - ("rust-libc" ,rust-libc)))) + `(#:cargo-development-inputs + (("rust-cmake" ,rust-cmake) + ("rust-libc" ,rust-libc)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'use-system-lapack + (lambda _ + (delete-file-recursively "source") + (substitute* "Cargo.toml" + (("default .*") + "default = [\"system\"]\n")) + #t))))) + (inputs + `(("gfortran:lib" ,gfortran "lib") + ("lapack" ,lapack))) (home-page "https://github.com/cmr/netlib-src") (synopsis "The package provides a source of BLAS and LAPACK via Netlib.") @@ -5870,7 +6162,7 @@ implementation (which is unstable / requires nightly).") (setenv "OPENSSL_DIR" openssl)) #t))))) (inputs - `(("openssl" ,(@ (gnu packages tls) openssl)))) + `(("openssl" ,openssl))) (home-page "https://github.com/sfackler/rust-openssl") (synopsis "OpenSSL bindings") @@ -5957,8 +6249,8 @@ implementation (which is unstable / requires nightly).") (setenv "OPENSSL_DIR" openssl)) #t))))) (inputs - `(("openssl" ,(@ (gnu packages tls) openssl)) - ("pkg-config" ,(@ (gnu packages pkg-config) pkg-config)))) + `(("openssl" ,openssl) + ("pkg-config" ,pkg-config))) (home-page "https://github.com/sfackler/rust-openssl") (synopsis "FFI bindings to OpenSSL") @@ -5984,9 +6276,9 @@ implementation (which is unstable / requires nightly).") (("rust-serde" ,rust-serde)) #:cargo-development-inputs (("rust-fnv" ,rust-fnv) - ("rust-itertools" ,rust-itertools) + ("rust-itertools" ,rust-itertools-0.7) ("rust-lazy-static" ,rust-lazy-static) - ("rust-quickcheck" ,rust-quickcheck) + ("rust-quickcheck" ,rust-quickcheck-0.6) ("rust-rand" ,rust-rand-0.4) ("rust-serde-test" ,rust-serde-test)))) (home-page "https://github.com/bluss/ordermap") @@ -5998,6 +6290,30 @@ implementation (which is unstable / requires nightly).") (license (list license:asl2.0 license:expat)))) +(define-public rust-ordermap-0.3 + (package + (inherit rust-ordermap) + (name "rust-ordermap") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "ordermap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qr0a50l0qakbjcck93qdayd0xl8gzpp42x0n7b75cs4ybsx6vm8")))) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-fnv" ,rust-fnv) + ("rust-itertools" ,rust-itertools-0.7) + ("rust-lazy-static" ,rust-lazy-static) + ("rust-quickcheck" ,rust-quickcheck-0.6) + ("rust-rand" ,rust-rand-0.4) + ("rust-serde-test" ,rust-serde-test)))))) + (define-public rust-owning-ref (package (name "rust-owning-ref") @@ -6212,6 +6528,26 @@ implementation (which is unstable / requires nightly).") (license (list license:asl2.0 license:expat)))) +(define-public rust-parking-lot-0.7 + (package + (inherit rust-parking-lot) + (name "rust-parking-lot") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "parking_lot" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dz32cqx9200n1lk3kwyb599vabfid3f8sj1aq85sw42s2pb8hdb")))) + (arguments + `(#:cargo-inputs + (("rust-lock-api" ,rust-lock-api-0.1) + ("rust-parking-lot-core" ,rust-parking-lot-core-0.4)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.6)))))) + (define-public rust-parking-lot-core (package (name "rust-parking-lot-core") @@ -6248,6 +6584,29 @@ implementation (which is unstable / requires nightly).") (license (list license:asl2.0 license:expat)))) +(define-public rust-parking-lot-core-0.4 + (package + (inherit rust-parking-lot-core) + (name "rust-parking-lot-core") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "parking_lot_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jcq8aq4wv9y5fip7jg12jdwjd5g5r3x857xdma8vcin769cgj4l")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-rand" ,rust-rand-0.6) + ("rust-rustc-version" ,rust-rustc-version) + ("rust-winapi" ,rust-winapi) + ("rust-backtrace" ,rust-backtrace) + ("rust-petgraph" ,rust-petgraph) + ("rust-thread-id" ,rust-thread-id)))))) + (define-public rust-paste (package (name "rust-paste") @@ -6467,7 +6826,7 @@ implementation (which is unstable / requires nightly).") (arguments `(#:cargo-inputs (("rust-fixedbitset" ,rust-fixedbitset) - ("rust-ordermap" ,rust-ordermap) + ("rust-ordermap" ,rust-ordermap-0.3) ("rust-quickcheck" ,rust-quickcheck) ("rust-serde" ,rust-serde) ("rust-serde-derive" ,rust-serde-derive)) @@ -6528,7 +6887,7 @@ implementation (which is unstable / requires nightly).") `(#:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static)))) (inputs - `(("pkg-config" ,(@ (gnu packages pkg-config) pkg-config)))) + `(("pkg-config" ,pkg-config))) (home-page "https://github.com/alexcrichton/pkg-config-rs") (synopsis @@ -7866,7 +8225,7 @@ system calls.") (("rust-base64" ,rust-base64) ("rust-bytes" ,rust-bytes) ("rust-cookie" ,rust-cookie) - ("rust-cookie-store" ,rust-cookie-store) + ("rust-cookie-store" ,rust-cookie-store-0.7) ("rust-encoding-rs" ,rust-encoding-rs) ("rust-flate2" ,rust-flate2) ("rust-futures" ,rust-futures) @@ -7877,7 +8236,7 @@ system calls.") ("rust-mime-guess" ,rust-mime-guess) ("rust-serde" ,rust-serde) ("rust-serde-json" ,rust-serde-json) - ("rust-serde-urlencoded" ,rust-urlencoded) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.5) ("rust-time" ,rust-time) ("rust-tokio" ,rust-tokio) ("rust-tokio-executor" ,rust-tokio-executor) @@ -8227,6 +8586,20 @@ system calls.") "Rust bindings to the Windows SChannel APIs providing TLS client and server functionality.") (license license:expat))) +(define-public rust-scoped-tls-0.1 + (package + (inherit rust-scoped-tls) + (name "rust-scoped-tls") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "scoped-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk")))))) + (define-public rust-scopeguard-0.3 (package (inherit rust-scopeguard) @@ -8724,6 +9097,57 @@ function with proven statistical guarantees.") (license (list license:asl2.0 license:expat)))) +(define-public rust-serde-urlencoded + (package + (name "rust-serde-urlencoded") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_urlencoded" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15rcwfkff0md5i231m2ym5756ksw1mkh5b5g2rw72wsc5mzdgicy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-dtoa" ,rust-dtoa) + ("rust-itoa" ,rust-itoa) + ("rust-serde" ,rust-serde) + ("rust-url" ,rust-url)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive)))) + (home-page "https://serde.rs") + (synopsis + "`x-www-form-urlencoded` meets Serde") + (description + "`x-www-form-urlencoded` meets Serde") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-serde-urlencoded-0.5 + (package + (inherit rust-serde-urlencoded) + (name "rust-serde-urlencoded") + (version "0.5.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_urlencoded" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nhnzllx5xrij4x17g351n14md691r95mxr7sbpz4sl80n8xcbb4")))) + (arguments + `(#:cargo-inputs + (("rust-dtoa" ,rust-dtoa) + ("rust-itoa" ,rust-itoa) + ("rust-serde" ,rust-serde) + ("rust-url" ,rust-url-1)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive)))))) + (define-public rust-serde-yaml (package (name "rust-serde-yaml") @@ -9405,6 +9829,29 @@ function with proven statistical guarantees.") "Helper methods and macros for custom derives") (license license:expat))) +(define-public rust-synstructure-0.10 + (package + (inherit rust-synstructure) + (name "rust-synstructure") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "synstructure" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0grirdkgh2wl4hf9a3nbiazpgccxgq54kn52ms0xrr6njvgkwd82")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2) + ("rust-quote" ,rust-quote) + ("rust-syn" ,rust-syn) + ("rust-unicode-xid" ,rust-unicode-xid)) + #:cargo-development-inputs + (("rust-synstructure-test-traits" + ,rust-synstructure-test-traits)))))) + (define-public rust-tar (package (name "rust-tar") @@ -9931,7 +10378,7 @@ writing colored text to a terminal.") ("rust-iovec" ,rust-iovec) ("rust-log" ,rust-log) ("rust-mio" ,rust-mio) - ("rust-scoped-tls" ,rust-scoped-tls) + ("rust-scoped-tls" ,rust-scoped-tls-0.1) ("rust-tokio" ,rust-tokio) ("rust-tokio-executor" ,rust-tokio-executor) ("rust-tokio-io" ,rust-tokio-io) @@ -10123,7 +10570,7 @@ writing colored text to a terminal.") ("rust-log" ,rust-log) ("rust-mio" ,rust-mio) ("rust-num-cpus" ,rust-num-cpus) - ("rust-parking-lot" ,rust-parking-lot) + ("rust-parking-lot" ,rust-parking-lot-0.7) ("rust-slab" ,rust-slab) ("rust-tokio-executor" ,rust-tokio-executor) ("rust-tokio-io" ,rust-tokio-io) @@ -11111,6 +11558,34 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) +(define-public rust-url-1 + (package + (inherit rust-url) + (name "rust-url") + (version "1.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "url" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nim1c90mxpi9wgdw2xh8dqd72vlklwlzam436akcrhjac6pqknx")))) + (arguments + `(#:cargo-inputs + (("rust-idna" ,rust-idna) + ("rust-matches" ,rust-matches) + ("rust-percent-encoding" ,rust-percent-encoding) + ("rust-encoding" ,rust-encoding) + ("rust-heapsize" ,rust-heapsize) + ("rust-rustc-serialize" ,rust-rustc-serialize) + ("rust-serde" ,rust-serde)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher) + ("rust-rustc-serialize" ,rust-rustc-test) + ("rust-rustc-test" ,rust-rustc-test) + ("rust-serde-json" ,rust-serde-json)))))) + (define-public rust-urlencoded (package (name "rust-urlencoded") @@ -11783,6 +12258,27 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) +(define-public rust-winapi-0.2 + (package + (inherit rust-winapi) + (name "rust-winapi") + (version "0.2.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "winapi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n")))) + ;; We do not want to package 48 -sys crates for a package we do not want. + ;; They are all dev dependencies, so we skip building and testing. + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'build)))))) + (define-public rust-winapi-build (package (name "rust-winapi-build") @@ -11828,7 +12324,7 @@ winapi.") (define-public rust-wincolor (package (name "rust-wincolor") - (version "1.0.1") + (version "1.0.2") (source (origin (method url-fetch) @@ -11836,17 +12332,17 @@ winapi.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1fp9sxq63kw3vjjcjrl3f7px082pplzxcr3qza2n2pa6mq0xj7jn")))) + "1agaf3hcav113i86912ajnw6jxcy4rvkrgyf8gdj8kc031mh3xcn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-winapi" ,rust-winapi) ("rust-winapi-util" ,rust-winapi-util)))) (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor") - (synopsis - "A simple Windows specific API for controlling text color in a Windows console.") + (synopsis "Windows API for controlling text color in a Windows console") (description - "This package provides a simple Windows specific API for controlling text color in a Windows console.") + "This package provides a simple Windows specific API for controlling text +color in a Windows console.") (license (list license:unlicense license:expat)))) @@ -11909,16 +12405,15 @@ winapi.") (origin (method url-fetch) (uri (crate-uri "ws2_32-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m")))) + (base32 + "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-winapi" ,rust-winapi) - ("rust-winapi-build" ,rust-winapi-build)))) + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi-0.2) + ("rust-winapi-build" ,rust-winapi-build)))) (home-page "https://github.com/retep998/winapi-rs") (synopsis "Contains function definitions for the Windows API library ws2_32.") @@ -11983,29 +12478,28 @@ winapi.") (origin (method url-fetch) (uri (crate-uri "xz2" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0v4jb0193gx8s1kvd2ajsgh0ffmwhqhfmrrw1n1h2z7w6jgqcyf1")))) + (base32 + "0v4jb0193gx8s1kvd2ajsgh0ffmwhqhfmrrw1n1h2z7w6jgqcyf1")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-futures" ,rust-futures) - ("rust-lzma-sys" ,rust-lzma-sys) - ("rust-tokio-io" ,rust-tokio-io)) - #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck) - ("rust-rand" ,rust-rand) - ("rust-tokio-core" ,rust-tokio-core)))) - (home-page - "https://github.com/alexcrichton/xz2-rs") - (synopsis - "Rust bindings to liblzma providing Read/Write streams as well as low-level - in-memory encoding/decoding.") + `(#:cargo-inputs + (("rust-futures" ,rust-futures) + ("rust-lzma-sys" ,rust-lzma-sys) + ("rust-tokio-io" ,rust-tokio-io)) + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.7) + ("rust-rand" ,rust-rand-0.5) + ("rust-tokio-core" ,rust-tokio-core)))) + (inputs + `(("pkg-config" ,pkg-config) + ("xz" ,xz))) + (home-page "https://github.com/alexcrichton/xz2-rs") + (synopsis "Rust bindings to liblzma providing Read/Write streams") (description - "Rust bindings to liblzma providing Read/Write streams as well as low-level - in-memory encoding/decoding.") + "Rust bindings to liblzma providing Read/Write streams as well as low-level +in-memory encoding/decoding.") (license (list license:asl2.0 license:expat)))) @@ -12027,7 +12521,7 @@ winapi.") `(#:cargo-inputs (("rust-linked-hash-map" ,rust-linked-hash-map)) #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck)))) + (("rust-quickcheck" ,rust-quickcheck-0.7)))) (home-page "http://chyh1990.github.io/yaml-rust/") (synopsis "The missing YAML 1.2 parser for rust") -- cgit v1.2.3 From 5a2bd4b6e7c395a16b18cfd65b30e04c023c175a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 28 Aug 2019 02:09:02 -0500 Subject: gn: genenetwork.scm: Fix indentation. --- gn/packages/genenetwork.scm | 436 ++++++++++++++++++++++---------------------- 1 file changed, 216 insertions(+), 220 deletions(-) (limited to 'gn') diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index dbd3abc..522e0c1 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -224,8 +224,7 @@ location of a putative QTL.") "1ldcvyk8y8w6f4ci04hzx85sknd5a3h424p5bfi4fz32sm2p7fja")))) (build-system python-build-system) (arguments - `( - #:phases + `(#:phases (modify-phases %standard-phases (add-after 'unpack 'fix-tests @@ -292,62 +291,62 @@ location of a putative QTL.") (sha256 (base32 "0ji929xgzypyhchcfy9xa1sz04w322ibs2khc8s3qiddxjqdglrz")))) - (propagated-inputs `( ;; propagated for development purposes - ("python" ,python-2) ;; probably superfluous - ("coreutils" ,coreutils) - ("git" ,git) - ("vim" ,vim) - ("which" ,which) - ("grep" ,grep) - ("r" ,r) - ("r-ctl" ,r-ctl) - ("r-phewas" ,r-phewas) - ("r-qtl" ,r-qtl) - ("r-wgcna" ,r-wgcna) - ("redis" ,redis) - ("mysql" ,mysql) - ("gemma" ,gemma-gn2-git) - ("gemma-wrapper" ,gemma-wrapper) - ("genenetwork2-files-small" ,genenetwork2-files-small) - ("plink-ng-gn" ,plink-ng-gn) - ("pylmm-gn2" ,pylmm-gn2) - ("nginx" ,nginx) - ("python2-flask" ,python2-flask) - ("gunicorn" ,gunicorn) - ("python2-pillow" ,python2-pillow) - ("python2-cssselect" ,python2-cssselect) - ("python2-elasticsearch" ,python2-elasticsearch) - ("python2-htmlgen" ,python2-htmlgen) - ("python2-jinja2" ,python2-jinja2) - ("python2-sqlalchemy" ,python2-sqlalchemy) - ("python2-flask-sqlalchemy" ,python2-flask-sqlalchemy) - ("python2-setuptools" ,python2-setuptools) - ("python2-scipy" ,python2-scipy) - ("python2-lxml" ,python2-lxml) - ("python2-mechanize" ,python2-mechanize) - ("python2-mysqlclient" ,python2-mysqlclient) - ("python2-numarray" ,python2-numarray) - ("python2-numpy" ,python2-numpy) - ("python2-pandas" ,python2-pandas) - ("python2-parallel" ,python2-parallel) - ("python2-parameterized" ,python2-parameterized) - ("python2-passlib" ,python2-passlib) - ("python2-redis" ,python2-redis) - ("python2-requests" ,python2-requests) - ("python2-requests" ,python2-requests) - ("python2-rpy2" ,python2-rpy2) - ("python2-scipy" ,python2-scipy) - ("python2-simplejson" ,python2-simplejson) - ("python2-pyyaml" ,python2-pyyaml) - ("python2-unittest2" ,python2-unittest2) - ("python2-xlsxwriter" ,python2-xlsxwriter) - ("python2-qtlreaper" ,python2-qtlreaper) - ("javascript-twitter-post-fetcher" ,javascript-twitter-post-fetcher) - ("javascript-cytoscape" ,javascript-cytoscape) - ("javascript-panzoom" ,javascript-cytoscape-panzoom) - ("javascript-qtip" ,javascript-cytoscape-qtip) - - )) + (propagated-inputs + `(;; propagated for development purposes + ("python" ,python-2) ;; probably superfluous + ("coreutils" ,coreutils) + ("git" ,git) + ("vim" ,vim) + ("which" ,which) + ("grep" ,grep) + ("r" ,r) + ("r-ctl" ,r-ctl) + ("r-phewas" ,r-phewas) + ("r-qtl" ,r-qtl) + ("r-wgcna" ,r-wgcna) + ("redis" ,redis) + ("mysql" ,mysql) + ("gemma" ,gemma-gn2-git) + ("gemma-wrapper" ,gemma-wrapper) + ("genenetwork2-files-small" ,genenetwork2-files-small) + ("plink-ng-gn" ,plink-ng-gn) + ("pylmm-gn2" ,pylmm-gn2) + ("nginx" ,nginx) + ("python2-flask" ,python2-flask) + ("gunicorn" ,gunicorn) + ("python2-pillow" ,python2-pillow) + ("python2-cssselect" ,python2-cssselect) + ("python2-elasticsearch" ,python2-elasticsearch) + ("python2-htmlgen" ,python2-htmlgen) + ("python2-jinja2" ,python2-jinja2) + ("python2-sqlalchemy" ,python2-sqlalchemy) + ("python2-flask-sqlalchemy" ,python2-flask-sqlalchemy) + ("python2-setuptools" ,python2-setuptools) + ("python2-scipy" ,python2-scipy) + ("python2-lxml" ,python2-lxml) + ("python2-mechanize" ,python2-mechanize) + ("python2-mysqlclient" ,python2-mysqlclient) + ("python2-numarray" ,python2-numarray) + ("python2-numpy" ,python2-numpy) + ("python2-pandas" ,python2-pandas) + ("python2-parallel" ,python2-parallel) + ("python2-parameterized" ,python2-parameterized) + ("python2-passlib" ,python2-passlib) + ("python2-redis" ,python2-redis) + ("python2-requests" ,python2-requests) + ("python2-requests" ,python2-requests) + ("python2-rpy2" ,python2-rpy2) + ("python2-scipy" ,python2-scipy) + ("python2-simplejson" ,python2-simplejson) + ("python2-pyyaml" ,python2-pyyaml) + ("python2-unittest2" ,python2-unittest2) + ("python2-xlsxwriter" ,python2-xlsxwriter) + ("python2-qtlreaper" ,python2-qtlreaper) + ("javascript-twitter-post-fetcher" ,javascript-twitter-post-fetcher) + ("javascript-cytoscape" ,javascript-cytoscape) + ("javascript-panzoom" ,javascript-cytoscape-panzoom) + ("javascript-qtip" ,javascript-cytoscape-qtip) + )) (build-system python-build-system) (arguments `(#:python ,python-2 @@ -355,37 +354,38 @@ location of a putative QTL.") (modify-phases %standard-phases (delete 'reset-gzip-timestamps) (add-after 'unpack 'fix-paths-scripts - (lambda* _ + (lambda _ (substitute* "bin/genenetwork2" - (("/usr/bin/env") (which "env")) - (("python ") (string-append (which "python2") " ")) - (("readlink") (which "readlink")) - (("dirname") (which "dirname")) - (("basename") (which "basename")) - (("cat") (which "cat")) - (("echo") (which "echo")) - (("redis-server") (which "redis-server")) - (("git") (which "git")) - (("grep") (which "grep")) - (("rm") (which "rm")) - (("which") (which "which")) ; three wiches in a row! - )#t)) + (("/usr/bin/env") (which "env")) + (("python ") (string-append (which "python2") " ")) + (("readlink") (which "readlink")) + (("dirname") (which "dirname")) + (("basename") (which "basename")) + (("cat") (which "cat")) + (("echo") (which "echo")) + (("redis-server") (which "redis-server")) + (("git") (which "git")) + (("grep") (which "grep")) + (("rm") (which "rm")) + (("which") (which "which")) ; three wiches in a row! + ) + #t)) (add-before 'install 'fix-paths (lambda* (#:key inputs #:allow-other-keys) - (let* ( - (datafiles (string-append (assoc-ref inputs "genenetwork2-files-small") "/share/genenetwork2" )) - (pylmmcmd (string-append (assoc-ref inputs "pylmm-gn2") "/bin/pylmm_redis")) - (plink2cmd (string-append (assoc-ref inputs "plink-ng-gn") "/bin/plink2")) - (gemmacmd (string-append (assoc-ref inputs "gemma") "/bin/gemma")) - ) + (let* ( + (datafiles (string-append (assoc-ref inputs "genenetwork2-files-small") "/share/genenetwork2")) + (pylmmcmd (string-append (assoc-ref inputs "pylmm-gn2") "/bin/pylmm_redis")) + (plink2cmd (string-append (assoc-ref inputs "plink-ng-gn") "/bin/plink2")) + (gemmacmd (string-append (assoc-ref inputs "gemma") "/bin/gemma")) + ) - (substitute* '("etc/default_settings.py") - (("^GENENETWORK_FILES +=.*") (string-append "GENENETWORK_FILES = \"" datafiles "\"\n" )) - (("^PYLMM_COMMAND =.*") (string-append "PYLMM_COMMAND = \"" pylmmcmd "\"\n" )) - (("^PLINK_COMMAND =.*") (string-append "PLINK_COMMAND = \"" plink2cmd "\"\n" )) - (("^GEMMA_COMMAND =.*") (string-append "GEMMA_COMMAND = \"" gemmacmd "\"\n" )) - ) - )))) + (substitute* '("etc/default_settings.py") + (("^GENENETWORK_FILES +=.*") (string-append "GENENETWORK_FILES = \"" datafiles "\"\n" )) + (("^PYLMM_COMMAND =.*") (string-append "PYLMM_COMMAND = \"" pylmmcmd "\"\n" )) + (("^PLINK_COMMAND =.*") (string-append "PLINK_COMMAND = \"" plink2cmd "\"\n" )) + (("^GEMMA_COMMAND =.*") (string-append "GEMMA_COMMAND = \"" gemmacmd "\"\n" )) + ) + )))) #:tests? #f)) ; no 'setup.py test' (home-page "http://genenetwork.org/") (synopsis "Full genenetwork services") @@ -418,20 +418,17 @@ location of a putative QTL.") (let* ((out (assoc-ref %outputs "out")) (name "gn2_data_s") (tarfn (string-append name ".tar")) - (targetdir (string-append out "/share/genenetwork2/")) - ) + (targetdir (string-append out "/share/genenetwork2/"))) (begin (use-modules (guix build utils)) (let ((source (assoc-ref %build-inputs "source")) (lz4unpack (string-append (assoc-ref %build-inputs "lz4") "/bin/lz4")) - (tar (string-append (assoc-ref %build-inputs "tar") "/bin/tar")) - ) + (tar (string-append (assoc-ref %build-inputs "tar") "/bin/tar"))) (and - (zero? (system* lz4unpack source "-d" tarfn)) - (zero? (system* tar "xf" tarfn)) - (mkdir-p targetdir) - (copy-recursively name targetdir) - )))))) + (zero? (system* lz4unpack source "-d" tarfn)) + (zero? (system* tar "xf" tarfn)) + (mkdir-p targetdir) + (copy-recursively name targetdir))))))) (home-page "http://genenetwork.org/") (synopsis "Small file archive to run on genenetwork") (description "Genenetwork genotype and mapping files.") @@ -458,8 +455,7 @@ location of a putative QTL.") #:builder (begin (use-modules (guix build utils)) (let ((source (assoc-ref %build-inputs "source")) - (unzip (string-append (assoc-ref %build-inputs "unzip") "/bin/unzip")) - ) + (unzip (string-append (assoc-ref %build-inputs "unzip") "/bin/unzip"))) (and (mkdir "db") (zero? (system* unzip source "-d" "db")) (chdir "db")))))) @@ -475,15 +471,16 @@ location of a putative QTL.") (package (name "python-reaper") (version (string-append "0.0.1-" - (string-take commit 7))) + (string-take commit 7))) (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/fredmanglis/reaper.git") - (commit commit))) - (sha256 - (base32 - "1rq2qn0vrqd8k676yy8drm0zxzkj065ywhxjl0j1n2r25zifay7r")))) + (method git-fetch) + (uri (git-reference + (url "https://github.com/fredmanglis/reaper.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rq2qn0vrqd8k676yy8drm0zxzkj065ywhxjl0j1n2r25zifay7r")))) (build-system python-build-system) (arguments `(#:tests? #f)) @@ -495,133 +492,132 @@ written in C") (define-public genenetwork3 (let (;; (commit "1538ffd33af19e6ac922b4ee85fe701408968dfd") - (commit "5bff4f49dffb4ac982d36cd0d39e0a9ec6bc66e9")) + (commit "5bff4f49dffb4ac982d36cd0d39e0a9ec6bc66e9")) (package (name "genenetwork3") (version (string-append "2.10rc5-" (string-take commit 7) )) (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/fredmanglis/genenetwork2.git") - ;; (url "https://pjotrp@gitlab.com/genenetwork/gn2_diet.git") - ;; (url "https://github.com/genenetwork/genenetwork2_diet.git") - (commit commit))) - (file-name (string-append name "-" version)) - (sha256 - (base32 - "0klgjra2qisfzs8mk0s8vzdr190l4n56xcm66dk0asqs7zswi8di" - ;; "0ji929xgzypyhchcfy9xa1sz04w322ibs2khc8s3qiddxjqdglrz" - )))) + (method git-fetch) + (uri (git-reference + (url "https://github.com/fredmanglis/genenetwork2.git") + ;; (url "https://pjotrp@gitlab.com/genenetwork/gn2_diet.git") + ;; (url "https://github.com/genenetwork/genenetwork2_diet.git") + (commit commit))) + (file-name (string-append name "-" version)) + (sha256 + (base32 + "0klgjra2qisfzs8mk0s8vzdr190l4n56xcm66dk0asqs7zswi8di" + ;; "0ji929xgzypyhchcfy9xa1sz04w322ibs2khc8s3qiddxjqdglrz" + )))) (propagated-inputs ;; propagated for development purposes - `( ;; Agnostic to Python - ("r" ,r) - ("git" ,git) - ("vim" ,vim) - ("grep" ,grep) - ("which" ,which) - ("r-ctl" ,r-ctl) - ("r-qtl" ,r-qtl) - ("redis" ,redis) - ("mysql" ,mysql) - ("nginx" ,nginx) - ("r-wgcna" ,r-wgcna) - ;; ("r-phewas" ,r-phewas) - ("coreutils" ,coreutils) - ("gemma" ,gemma-gn2-git) - ("plink-ng-gn" ,plink-ng-gn) - ("python-lxml" ,python-lxml) ;; used for the tests - ("gemma-wrapper" ,gemma-wrapper) - ("python-unittest" ,python-unittest2) ;; used for the tests - ("python-parameterized" ,python-parameterized) ;; used for the tests - ("genenetwork2-files-small" ,genenetwork2-files-small) - ("javascript-twitter-post-fetcher" ,javascript-twitter-post-fetcher) - ("javascript-cytoscape" ,javascript-cytoscape) - ("javascript-panzoom" ,javascript-cytoscape-panzoom) - ("javascript-qtip" ,javascript-cytoscape-qtip) - - ;; With Python3 support - ("gunicorn" ,gunicorn) - ("python-rpy2" ,python-rpy2) - ("python-flask" ,python-flask) - ("python-scipy" ,python-scipy) - ("python-numpy" ,python-numpy) - ("python-redis" ,python-redis) - ("python-scipy" ,python-scipy) - ("python-pillow" ,python-pillow) - ("python-reaper" ,python-reaper) - ("python-pyyaml" ,python-pyyaml) - ("python-jinja2" ,python-jinja2) - ("python-pandas" ,python-pandas) - ("python-htmlgen" ,python-htmlgen) - ("python-passlib" ,python-passlib) - ("python-wrapper" ,python-wrapper) - ("python-requests" ,python-requests) - ("python-cssselect" ,python-cssselect) - ("python-sqlalchemy" ,python-sqlalchemy) - ("python-setuptools" ,python-setuptools) - ("python-simplejson" ,python-simplejson) - ("python-xlsxwriter" ,python-xlsxwriter) - ("python-mysqlclient" ,python-mysqlclient) - ("python-elasticsearch" ,python-elasticsearch) - ("python-flask-sqlalchemy" ,python-flask-sqlalchemy) + `(;; Agnostic to Python + ("r" ,r) + ("git" ,git) + ("vim" ,vim) + ("grep" ,grep) + ("which" ,which) + ("r-ctl" ,r-ctl) + ("r-qtl" ,r-qtl) + ("redis" ,redis) + ("mysql" ,mysql) + ("nginx" ,nginx) + ("r-wgcna" ,r-wgcna) + ;; ("r-phewas" ,r-phewas) + ("coreutils" ,coreutils) + ("gemma" ,gemma-gn2-git) + ("plink-ng-gn" ,plink-ng-gn) + ("python-lxml" ,python-lxml) ;; used for the tests + ("gemma-wrapper" ,gemma-wrapper) + ("python-unittest" ,python-unittest2) ;; used for the tests + ("python-parameterized" ,python-parameterized) ;; used for the tests + ("genenetwork2-files-small" ,genenetwork2-files-small) + ("javascript-twitter-post-fetcher" ,javascript-twitter-post-fetcher) + ("javascript-cytoscape" ,javascript-cytoscape) + ("javascript-panzoom" ,javascript-cytoscape-panzoom) + ("javascript-qtip" ,javascript-cytoscape-qtip) + ;; With Python3 support + ("gunicorn" ,gunicorn) + ("python-rpy2" ,python-rpy2) + ("python-flask" ,python-flask) + ("python-scipy" ,python-scipy) + ("python-numpy" ,python-numpy) + ("python-redis" ,python-redis) + ("python-scipy" ,python-scipy) + ("python-pillow" ,python-pillow) + ("python-reaper" ,python-reaper) + ("python-pyyaml" ,python-pyyaml) + ("python-jinja2" ,python-jinja2) + ("python-pandas" ,python-pandas) + ("python-htmlgen" ,python-htmlgen) + ("python-passlib" ,python-passlib) + ("python-wrapper" ,python-wrapper) + ("python-requests" ,python-requests) + ("python-cssselect" ,python-cssselect) + ("python-sqlalchemy" ,python-sqlalchemy) + ("python-setuptools" ,python-setuptools) + ("python-simplejson" ,python-simplejson) + ("python-xlsxwriter" ,python-xlsxwriter) + ("python-mysqlclient" ,python-mysqlclient) + ("python-elasticsearch" ,python-elasticsearch) + ("python-flask-sqlalchemy" ,python-flask-sqlalchemy) - ;; Without Python3 support - ;; ("python-qtlreaper" ,python-qtlreaper) ;; Run as an external program - ;; ("pylmm-gn2" ,pylmm-gn2) ;; To be run as an external python2 program - ;; ("python2-numarray" ,python2-numarray) ;; Update gn2 code and drop this (IMPORTANT) - ;; ("python2-htmlgen-gn" ,python2-htmlgen-gn) ;; pjotrp and zsloan to give directions - )) + ;; Without Python3 support + ;; ("python-qtlreaper" ,python-qtlreaper) ;; Run as an external program + ;; ("pylmm-gn2" ,pylmm-gn2) ;; To be run as an external python2 program + ;; ("python2-numarray" ,python2-numarray) ;; Update gn2 code and drop this (IMPORTANT) + ;; ("python2-htmlgen-gn" ,python2-htmlgen-gn) ;; pjotrp and zsloan to give directions + )) (build-system python-build-system) (arguments `(#:phases - (modify-phases - %standard-phases - (delete 'reset-gzip-timestamps) - (add-after - 'unpack 'fix-paths-scripts - (lambda* _ - (substitute* "bin/genenetwork2" - (("/usr/bin/env") (which "env")) - (("python ") (string-append (which "python") " ")) - (("readlink") (which "readlink")) - (("dirname") (which "dirname")) - (("basename") (which "basename")) - (("cat") (which "cat")) - (("echo") (which "echo")) - (("redis-server") (which "redis-server")) - (("git") (which "git")) - (("grep") (which "grep")) - (("rm") (which "rm")) - (("which") (which "which"))) - #t)) - (add-before - 'install 'fix-paths - (lambda* (#:key inputs #:allow-other-keys) - (let* ((datafiles - (string-append - (assoc-ref inputs "genenetwork2-files-small") - "/share/genenetwork2" )) - ;; (pylmmcmd - ;; (string-append - ;; (assoc-ref inputs "pylmm-gn2") "/bin/pylmm_redis")) - (plink2cmd - (string-append - (assoc-ref inputs "plink-ng-gn") "/bin/plink2")) - (gemmacmd - (string-append (assoc-ref inputs "gemma") "/bin/gemma"))) + (modify-phases + %standard-phases + (delete 'reset-gzip-timestamps) + (add-after + 'unpack 'fix-paths-scripts + (lambda _ + (substitute* "bin/genenetwork2" + (("/usr/bin/env") (which "env")) + (("python ") (string-append (which "python") " ")) + (("readlink") (which "readlink")) + (("dirname") (which "dirname")) + (("basename") (which "basename")) + (("cat") (which "cat")) + (("echo") (which "echo")) + (("redis-server") (which "redis-server")) + (("git") (which "git")) + (("grep") (which "grep")) + (("rm") (which "rm")) + (("which") (which "which"))) + #t)) + (add-before + 'install 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (let* ((datafiles + (string-append + (assoc-ref inputs "genenetwork2-files-small") + "/share/genenetwork2" )) + ;; (pylmmcmd + ;; (string-append + ;; (assoc-ref inputs "pylmm-gn2") "/bin/pylmm_redis")) + (plink2cmd + (string-append + (assoc-ref inputs "plink-ng-gn") "/bin/plink2")) + (gemmacmd + (string-append (assoc-ref inputs "gemma") "/bin/gemma"))) - (substitute* - '("etc/default_settings.py") - (("^GENENETWORK_FILES +=.*") - (string-append "GENENETWORK_FILES = \"" datafiles "\"\n" )) - (("^PYLMM_COMMAND =.*") - (string-append "PYLMM_COMMAND = \"" pylmmcmd "\"\n" )) - (("^PLINK_COMMAND =.*") - (string-append "PLINK_COMMAND = \"" plink2cmd "\"\n" )) - (("^GEMMA_COMMAND =.*") - (string-append "GEMMA_COMMAND = \"" gemmacmd "\"\n"))))))) - #:tests? #f)) ; no 'setup.py test' + (substitute* + '("etc/default_settings.py") + (("^GENENETWORK_FILES +=.*") + (string-append "GENENETWORK_FILES = \"" datafiles "\"\n" )) + (("^PYLMM_COMMAND =.*") + (string-append "PYLMM_COMMAND = \"" pylmmcmd "\"\n" )) + (("^PLINK_COMMAND =.*") + (string-append "PLINK_COMMAND = \"" plink2cmd "\"\n" )) + (("^GEMMA_COMMAND =.*") + (string-append "GEMMA_COMMAND = \"" gemmacmd "\"\n"))))))) + #:tests? #f)) ; no 'setup.py test' (home-page "http://genenetwork.org/") (synopsis "Full genenetwork services") (description "Genenetwork installation sumo.") -- cgit v1.2.3 From af01b15f3d1030130bde0a45adf05ca0689d3629 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 28 Aug 2019 02:40:25 -0500 Subject: gn: r-ctl: Update to 1.0.0-2. * gn/packages/statistics.scm (r-ctl): Update to 1.0.0-2. --- gn/packages/statistics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn') diff --git a/gn/packages/statistics.scm b/gn/packages/statistics.scm index edc9ab7..134213a 100644 --- a/gn/packages/statistics.scm +++ b/gn/packages/statistics.scm @@ -318,7 +318,7 @@ for use in genome-wide association studies (GWAS).") (define-public r-ctl ; guix: ready (package (name "r-ctl") - (version "1.0.0-0") + (version "1.0.0-2") (source (origin (method url-fetch) @@ -326,7 +326,7 @@ for use in genome-wide association studies (GWAS).") version ".tar.gz")) (sha256 (base32 - "12hrrql9wz43s1d3sfyzlqzx7ajrl3hvf96776ik6icbm8by8h6j")))) + "1gpb43zn411l476dby2g38qkcvh2fsdcvbkr9jb274l1154km1xm")))) (build-system r-build-system) (inputs `( ("r-qtl" ,r-qtl) -- cgit v1.2.3 From 9e7e4b9dd69500e5c6e9ad1ef456551cdc173553 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 28 Aug 2019 02:44:25 -0500 Subject: gn: genenetwork.scm: Clean up module imports. --- gn/packages/genenetwork.scm | 40 +++++++--------------------------------- 1 file changed, 7 insertions(+), 33 deletions(-) (limited to 'gn') diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index 522e0c1..5f18c69 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -6,60 +6,34 @@ #:use-module (guix utils) #:use-module (guix download) #:use-module (guix git-download) - #:use-module (guix build-system gnu) #:use-module (guix build-system cargo) - #:use-module (guix build-system cmake) - #:use-module (guix build-system perl) #:use-module (guix build-system python) - ;; #:use-module (guix build-system ruby) - #:use-module (guix build-system r) #:use-module (guix build-system trivial) #:use-module (gnu packages) - #:use-module (gnu packages algebra) #:use-module (gnu packages base) #:use-module (gnu packages bioinformatics) - #:use-module (gnu packages boost) - #:use-module (gnu packages compression) + #:use-module (gnu packages bootstrap) #:use-module (gnu packages check) #:use-module (gnu packages cran) - #:use-module (gn packages crates-io) - #:use-module (gnu packages crates-io) + #:use-module (gnu packages compression) #:use-module (gnu packages databases) - #:use-module (gnu packages cpio) - #:use-module (gn packages elixir) - #:use-module (gnu packages file) - #:use-module (gnu packages gcc) - #:use-module (gnu packages graphviz) - #:use-module (gnu packages java) - #:use-module (gnu packages linux) - #:use-module (gnu packages dlang) - #:use-module (gnu packages machine-learning) - #:use-module (gnu packages maths) - #:use-module (gnu packages ncurses) - #:use-module (gnu packages perl) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages popt) - #:use-module (gnu packages protobuf) - #:use-module (gnu packages python-crypto) #:use-module (gnu packages python) + #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages statistics) - #:use-module (gnu packages tbb) - #:use-module (gnu packages textutils) + #:use-module (gnu packages version-control) #:use-module (gnu packages vim) #:use-module (gnu packages web) - #:use-module (gnu packages xml) - #:use-module (gnu packages bootstrap) - #:use-module (gnu packages version-control) #:use-module (gn packages bioinformatics) + #:use-module (gn packages crates-io) + #:use-module (gn packages elixir) #:use-module (gn packages gemma) #:use-module (gn packages javascript) #:use-module (gn packages phewas) #:use-module (gn packages python) #:use-module (gn packages python24) - #:use-module (gn packages statistics) - #:use-module (srfi srfi-1)) + #:use-module (gn packages statistics)) (define-public my-deploy (package -- cgit v1.2.3 From 0b2c14b336a931da8002b75a5b8ae23c8c54c777 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 28 Aug 2019 05:16:31 -0500 Subject: gn: Remove some upstreamed packages --- gn/packages/bioinformatics.scm | 480 ----------------------------------------- 1 file changed, 480 deletions(-) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 040373c..00eab03 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -222,486 +222,6 @@ data. For whole genome sequencing data analysis, the program can also use mappability data (files created by GEM). ") (license license:gpl2+))) -(define-public tabixpp - (package - (name "tabixpp") - (version "1.0.0") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/tabixpp/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1s0lgks7qlvlhvcjhi2wm18nnza1bwcnic44ij7z8wfg88h4ivwn")))) - (build-system gnu-build-system) - (inputs - `(("htslib" ,htslib) - ("zlib" ,zlib))) - (arguments - `(#:tests? #f ; There are no tests to run. - #:phases - (modify-phases %standard-phases - (delete 'configure) ; There is no configure phase. - ;; The build phase needs overriding the location of htslib. - (replace 'build - (lambda* (#:key inputs #:allow-other-keys) - (let ((htslib-ref (assoc-ref inputs "htslib"))) - (zero? - (system* "make" - (string-append "HTS_LIB=" htslib-ref "/lib/libhts.a") - "HTS_HEADERS=" ; No need to check for headers here. - (string-append "LIBPATH=-L. -L" htslib-ref "/include")))))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) - (install-file "tabix++" bin))))))) - (home-page "https://github.com/ekg/tabixpp") - (synopsis "C++ wrapper around tabix project") - (description "This is a C++ wrapper around the Tabix project which abstracts -some of the details of opening and jumping in tabix-indexed files.") - (license license:expat))) - -;; This version works with FreeBayes while the released version doesn't. The -;; released creates a variable with the name "vcf" somewhere, which is also the -;; name of a namespace in vcflib. -(define-public tabixpp-freebayes - (let ((commit "bbc63a49acc52212199f92e9e3b8fba0a593e3f7")) - (package (inherit tabixpp) - (name "tabixpp-freebayes") - (version (string-append "0-1." (string-take commit 7))) - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/tabixpp/archive/" - commit ".tar.gz")) - (file-name (string-append name "-" version "-checkout.tar.gz")) - (sha256 - (base32 "1s06wmpgj4my4pik5kp2lc42hzzazbp5ism2y4i2ajp2y1c68g77"))))))) - -(define-public smithwaterman - ;; TODO: Upgrading smithwaterman breaks FreeBayes. - (let ((commit "203218b47d45ac56ef234716f1bd4c741b289be1")) - (package - (name "smithwaterman") - (version (string-append "0-1." (string-take commit 7))) - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/smithwaterman/archive/" - commit ".tar.gz")) - (file-name (string-append name "-" version "-checkout.tar.gz")) - (sha256 - (base32 "1lkxy4xkjn96l70jdbsrlm687jhisgw4il0xr2dm33qwcclzzm3b")))) - (build-system gnu-build-system) - (arguments - `(#:tests? #f ; There are no tests to run. - #:phases - (modify-phases %standard-phases - (delete 'configure) ; There is no configure phase. - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) - (install-file "smithwaterman" bin))))))) - (home-page "https://github.com/ekg/smithwaterman") - (synopsis "Implementation of the Smith-Waterman algorithm") - (description "Implementation of the Smith-Waterman algorithm.") - ;; The project contains a license file for the GPLv2. The source files - ;; do not contain a license notice, so GPLv2-only is assumed here. - (license license:gpl2)))) - -(define-public multichoose - (package - (name "multichoose") - (version "1.0.3") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/multichoose/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xy86vvr3qrs4l81qis7ia1q2hnqv0xcb4a1n60smxbhqqis5w3l")))) - (build-system gnu-build-system) - (native-inputs - `(("python" ,python-2) - ("node" ,node))) - (arguments - `(#:tests? #f ; There are no tests to run. - #:phases - (modify-phases %standard-phases - (delete 'configure) ; There is no configure phase. - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) - ;; TODO: There are Python modules for these programs too. - (install-file "multichoose" bin) - (install-file "multipermute" bin))))))) - (home-page "https://github.com/ekg/multichoose") - (synopsis "Library for efficient loopless multiset combination generation -algorithm") - (description "A library implements an efficient loopless multiset -combination generation algorithm which is (approximately) described in -\"Loopless algorithms for generating permutations, combinations, and other -combinatorial configurations.\" G Ehrlich - Journal of the ACM (JACM), -1973. (Algorithm 7.)") - (license license:expat))) - -(define-public fsom - (let ((commit "a6ef318fbd347c53189384aef7f670c0e6ce89a3")) - (package - (name "fsom") - (version (string-append "0-1." (string-take commit 7))) - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/fsom/archive/" - "a6ef318fbd347c53189384aef7f670c0e6ce89a3" ".tar.gz")) - (file-name (string-append name "-" version "-checkout.tar.gz")) - (sha256 - (base32 "0q6b57ppxfvsm5cqmmbfmjpn5qvx2zi5pamvp3yh8gpmmz8cfbl3")))) - (build-system gnu-build-system) - (arguments - `(#:tests? #f ; There are no tests to run. - #:phases - (modify-phases %standard-phases - (delete 'configure) ; There is no configure phase. - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) - (install-file "fsom" bin))))))) - (home-page "https://github.com/ekg/fsom") - (synopsis "Program for managing SOM (Self-Organizing Maps) neural networks") - (description "Program for managing SOM (Self-Organizing Maps) neural networks.") - (license license:gpl3)))) - -(define-public filevercmp - (let ((commit "1a9b779b93d0b244040274794d402106907b71b7")) - (package - (name "filevercmp") - (version (string-append "0-1." (string-take commit 7))) - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/filevercmp/archive/" - commit ".tar.gz")) - (file-name "filevercmp-src.tar.gz") - (sha256 - (base32 "0yp5jswf5j2pqc6517x277s4s6h1ss99v57kxw9gy0jkfl3yh450")))) - (build-system gnu-build-system) - (arguments - `(#:tests? #f ; There are no tests to run. - #:phases - (modify-phases %standard-phases - (delete 'configure) ; There is no configure phase. - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) - (install-file "filevercmp" bin))))))) - (home-page "https://github.com/ekg/filevercmp") - (synopsis "Program to compare version strings") - (description "A program to compare version strings. It intends to be a -replacement for strverscmp.") - (license license:gpl3+)))) - -(define-public fastahack ; guix ready - (let ((commit "c68cebb4f2e5d5d2b70cf08fbdf1944e9ab2c2dd")) - (package - (name "fastahack") - (version (string-append "0-1." (string-take commit 7))) - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/fastahack/archive/" - commit ".tar.gz")) - (file-name (string-append name "-" version "-checkout.tar.gz")) - (sha256 - (base32 "0j25lcl3jk1kls66zzxjfyq5ir6sfcvqrdwfcva61y3ajc9ssay2")))) - (build-system gnu-build-system) - (arguments - `(#:tests? #f ; There are no tests to run. - #:phases - (modify-phases %standard-phases - (delete 'configure) ; There is no configure phase. - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) - (install-file "fastahack" bin))))))) - (home-page "https://github.com/ekg/fastahack") - (synopsis "Program for indexing and sequence extraction from FASTA files") - (description "Fastahack is a small application for indexing and extracting -sequences and subsequences from FASTA files. The included Fasta.cpp library -provides a FASTA reader and indexer that can be embeddedinto applications which -would benefit from directly reading subsequences from FASTA files. The library -automatically handles index file generation and use.") - ;; There is no specific license for fastahack. - ;; A part of the program is licensed GPLv2. - (license (list license:non-copyleft license:gpl2))))) - -(define-public vcflib - (let ((commit "3ce827d8ebf89bb3bdc097ee0fe7f46f9f30d5fb")) - (package - (name "vcflib") - (version (string-append "1.0.2-1." (string-take commit 7))) - (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/vcflib/vcflib/archive/" - "5ac091365fdc716cc47cc5410bb97ee5dc2a2c92" ".tar.gz")) - (file-name "vcflib-5ac0913.tar.gz") - (sha256 - (base32 "0ywshwpif059z5h0g7zzrdfzzdj2gr8xvwlwcsdxrms3p9iy35h8")))) - (build-system gnu-build-system) - (native-inputs - `(("htslib" ,htslib) - ("zlib" ,zlib) - ("python" ,python-2) - ("perl" ,perl) - ("r" ,r) - ("node" ,node) - ("tabixpp-src" ,(package-source tabixpp-freebayes)) - ("smithwaterman-src" ,(package-source smithwaterman)) - ("multichoose-src" ,(package-source multichoose)) - ("fsom-src" ,(package-source fsom)) - ("filevercmp-src" ,(package-source filevercmp)) - ("fastahack-src" ,(package-source fastahack)) - ("intervaltree-src" - ,(origin - (method url-fetch) - (uri (string-append - "https://github.com/ekg/intervaltree/archive/" - "dbb4c513d1ad3baac516fc1484c995daf9b42838" ".tar.gz")) - (file-name "intervaltree-src.tar.gz") - (sha256 - (base32 "19prwpn2wxsrijp5svfqvfcxl5nj7zdhm3jycd5kqhl9nifpmcks")))))) - (arguments - `(#:tests? #f - #:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'check) - (add-after 'unpack 'unpack-submodule-sources - (lambda* (#:key inputs #:allow-other-keys) - (let ((unpack (lambda (source target) - (with-directory-excursion target - (zero? (system* "tar" "xvf" - (assoc-ref inputs source) - "--strip-components=1")))))) - (and - (unpack "intervaltree-src" "intervaltree") - (unpack "fastahack-src" "fastahack") - (unpack "filevercmp-src" "filevercmp") - (unpack "fsom-src" "fsom") - (unpack "multichoose-src" "multichoose") - (unpack "smithwaterman-src" "smithwaterman") - (unpack "tabixpp-src" "tabixpp"))))) - (add-after 'unpack-submodule-sources 'fix-makefile - (lambda* (#:key inputs #:allow-other-keys) - (substitute* '("Makefile") - (("^GIT_VERSION.*") "GIT_VERSION = v1.0.0")))) - (replace - 'build - (lambda* (#:key inputs make-flags #:allow-other-keys) - (with-directory-excursion "tabixpp" - (zero? (system* "make"))) - (zero? (system* "make" "CC=gcc" - (string-append "CFLAGS=\"" "-Itabixpp " - "-I" (assoc-ref inputs "htslib") "/include " "\"") "all")))) - (replace - 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append (assoc-ref outputs "out") "/bin")) - ;;(include (string-append (assoc-ref outputs "out") "/include")) - (lib (string-append (assoc-ref outputs "out") "/lib"))) - (for-each (lambda (file) - (install-file file bin)) - (find-files "bin" ".*")) - ;; The header files do not correspond to libvcflib.a, therefore - ;; I left them out. - ;;(for-each (lambda (file) - ;; (install-file file include)) - ;; (find-files "src" "\\.h$")) - (install-file "libvcflib.a" lib))))))) - (home-page "https://github.com/vcflib/vcflib/") - (synopsis "Library for parsing and manipulating VCF files") - (description "Vcflib provides methods to manipulate and interpret -sequence variation as it can be described by VCF. It is both an API for parsing -and operating on records of genomic variation as it can be described by the VCF -format, and a collection of command-line utilities for executing complex -manipulations on VCF files.") - (license license:expat)))) - -(define-public bash-tap ; guix license issue - (package - (name "bash-tap") - (version "1.0.2") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/illusori/bash-tap/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qs1qi38bl3ns4mpagcawv618dsk2q1lgrbddgvs0wl3ia12cyz5")))) - (build-system trivial-build-system) - (native-inputs `(("source" ,source) - ("tar" ,tar) - ("gzip" ,gzip))) - (arguments - `(#:modules ((guix build utils)) - #:builder (begin - (use-modules (guix build utils)) - (let ((tar (string-append (assoc-ref %build-inputs "tar") "/bin/tar")) - (path (string-append (assoc-ref %build-inputs "gzip") "/bin")) - (bin (string-append %output "/bin")) - (source (string-append (assoc-ref %build-inputs "source")))) - (setenv "PATH" path) - (mkdir-p bin) - (with-directory-excursion bin - (zero? (system* tar "xvf" source - "--strip-components=1" - "--no-anchored" - "bash-tap" - "bash-tap-bootstrap" - "bash-tap-mock"))))))) - (home-page "http://www.illusori.co.uk/projects/bash-tap/") - (synopsis "Bash port of a Test::More/Test::Builder-style TAP-compliant -test library") - (description "Bash TAP is a TAP-compliant Test::More-style testing library -for Bash shell scripts and functions. Along with the Test::More-style testing -helpers it provides helper functions for mocking commands and functions and -in-process output capturing.") - ;; The author didn't specify a license. - (license license:public-domain))) - -(define-public freebayes ; guix dependent package issues - (let ((commit "3ce827d8ebf89bb3bdc097ee0fe7f46f9f30d5fb") - (revision "1")) - (package - (name "freebayes") - (version (string-append "1.0.2-" revision "." (string-take commit 7))) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ekg/freebayes.git") - (commit commit))) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 "1sbzwmcbn78ybymjnhwk7qc5r912azy5vqz2y7y81616yc3ba2a2")))) - (build-system gnu-build-system) - (inputs - `(("zlib" ,zlib) - ("htslib" ,htslib))) - (native-inputs - `(("bc" ,bc) ; Needed for running tests. - ("samtools" ,samtools) ; Needed for running tests. - ("parallel" ,parallel) ; Needed for running tests. - ("procps" ,procps) ; Needed for running tests. - ("bamtools" ,bamtools) - ("cmake" ,cmake) - ("python" ,python-2) - ("node" ,node) - ("r" ,r) - ("perl" ,perl) - ("bamtools-src" ,(package-source bamtools)) - ("vcflib-src" ,(package-source vcflib)) - ;; These are submodules for the vcflib version used in freebayes - ("tabixpp-src" ,(package-source tabixpp-freebayes)) - ("smithwaterman-src" ,(package-source smithwaterman)) - ("multichoose-src" ,(package-source multichoose)) - ("fsom-src" ,(package-source fsom)) - ("filevercmp-src" ,(package-source filevercmp)) - ("fastahack-src" ,(package-source fastahack)) - ("intervaltree-src" - ,(origin - (method url-fetch) - (uri (string-append - "https://github.com/ekg/intervaltree/archive/" - "dbb4c513d1ad3baac516fc1484c995daf9b42838" ".tar.gz")) - (file-name "intervaltree-src.tar.gz") - (sha256 - (base32 "19prwpn2wxsrijp5svfqvfcxl5nj7zdhm3jycd5kqhl9nifpmcks")))) - ;; These submodules are needed to run the tests. - ("bash-tap-src" ,(package-source bash-tap)) - ;; ,(origin - ;; (method url-fetch) - ;; (uri (string-append "https://github.com/illusori/bash-tap/archive/" - ;; "c38fbfa401600cc81ccda66bfc0da3ea56288d03" ".tar.gz")) - ;; (file-name "bash-tap-src.tar.gz") - ;; (sha256 - ;; (base32 "07ijb1p0aa65ajpg9nkghc183iha6lwiydkckay8pghapa01j6nz")))) - ("test-simple-bash-src" - ,(origin - (method url-fetch) - (uri (string-append "https://github.com/ingydotnet/test-simple-bash/archive/" - "124673ff204b01c8e96b7fc9f9b32ee35d898acc" ".tar.gz")) - (file-name "test-simple-bash-src.tar.gz") - (sha256 - (base32 "016xf3wbgqbav9dncvfdx5k0f10z5xwq8jdszajzmcvnhz5wis14")))))) - (arguments - `(#:phases - (modify-phases %standard-phases - (delete 'configure) - (add-after 'unpack 'unpack-submodule-sources - (lambda* (#:key inputs #:allow-other-keys) - (let ((unpack (lambda (source target) - (with-directory-excursion target - (zero? (system* "tar" "xvf" - (assoc-ref inputs source) - "--strip-components=1")))))) - (and - (unpack "bamtools-src" "bamtools") - (unpack "vcflib-src" "vcflib") - ;;(unpack "intervaltree-src" "intervaltree") - (unpack "fastahack-src" "vcflib/fastahack") - (unpack "filevercmp-src" "vcflib/filevercmp") - (unpack "fsom-src" "vcflib/fsom") - (unpack "intervaltree-src" "vcflib/intervaltree") - (unpack "multichoose-src" "vcflib/multichoose") - (unpack "smithwaterman-src" "vcflib/smithwaterman") - (unpack "tabixpp-src" "vcflib/tabixpp") - (unpack "test-simple-bash-src" "test/test-simple-bash") - (unpack "bash-tap-src" "test/bash-tap"))))) - (add-after 'unpack-submodule-sources 'fix-makefile - (lambda* (#:key inputs #:allow-other-keys) - ;; We don't have the .git folder to get the version tag from. - ;; For this checkout of the code, it's v1.0.0. - (substitute* '("vcflib/Makefile") - (("^GIT_VERSION.*") "GIT_VERSION = v1.0.0")))) - (replace 'build - (lambda* (#:key inputs make-flags #:allow-other-keys) - (and - ;; Compile Bamtools before compiling the main project. - (with-directory-excursion "bamtools" - (system* "mkdir" "build") - (with-directory-excursion "build" - (and (zero? (system* "cmake" "../")) - (zero? (system* "make"))))) - ;; Compile vcflib before we compiling the main project. - (with-directory-excursion "vcflib" - (with-directory-excursion "tabixpp" - (let ((htslib-ref (assoc-ref inputs "htslib"))) - (zero? - (system* "make" "HTS_HEADERS=" - (string-append "HTS_LIB=" htslib-ref "/lib/libhts.a") - (string-append "LIBPATH=-L. -L" htslib-ref "/include"))))) - (zero? (system* "make" "CC=gcc" - (string-append "CFLAGS=\"" "-Itabixpp " - "-I" (assoc-ref inputs "htslib") "/include " "\"") "all"))) - (with-directory-excursion "src" - (zero? (system* "make")))))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) - (install-file "bin/freebayes" bin) - (install-file "bin/bamleftalign" bin)))) - ;; There are three tests that fail. All because of the -P - ;; (--perl-regexp) option in grep, which is not compiled into the - ;; version of grep in Guix. - (replace 'check - (lambda* (#:key inputs #:allow-other-keys) - (system* "make" "test")))))) - (home-page "https://github.com/ekg/freebayes") - (synopsis "Haplotype-based variant detector") - (description "FreeBayes is a Bayesian genetic variant detector designed to -find small polymorphisms, specifically SNPs (single-nucleotide polymorphisms), -indels (insertions and deletions), MNPs (multi-nucleotide polymorphisms), and -complex events (composite insertion and substitution events) smaller than the -length of a short-read sequencing alignment.") - (license license:expat)))) - (define-public plink2 (package (name "plink2") -- cgit v1.2.3 From 7a69cee955f7e6cb85c6a648e9d362ed53bb36a0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 28 Aug 2019 05:25:01 -0500 Subject: gn: bioinformatics.scm: Clean up module imports. --- gn/packages/bioinformatics.scm | 47 ++---------------------------------------- 1 file changed, 2 insertions(+), 45 deletions(-) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 00eab03..a219025 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -8,59 +8,16 @@ #:use-module (guix git-download) #:use-module (guix build-system ant) #:use-module (guix build-system gnu) - #:use-module (guix build-system cmake) - #:use-module (guix build-system perl) - #:use-module (guix build-system python) - ;; #:use-module (guix build-system ruby) - #:use-module (guix build-system r) - #:use-module (guix build-system trivial) - #:use-module (gn packages statistics) - #:use-module (gnu packages autotools) - #:use-module (gnu packages algebra) - #:use-module (gnu packages base) + #:use-module (gnu packages) #:use-module (gnu packages bioinformatics) #:use-module (gnu packages boost) #:use-module (gnu packages compression) - #:use-module (gnu packages databases) #:use-module (gnu packages check) - #:use-module (gnu packages cmake) - #:use-module (gnu packages compression) - #:use-module (gnu packages cpio) - #:use-module (gnu packages curl) - #:use-module (gnu packages documentation) - #:use-module (gnu packages datastructures) - #:use-module (gnu packages file) - #:use-module (gnu packages gawk) #:use-module (gnu packages gcc) - #:use-module (gnu packages graphviz) - #:use-module (gnu packages java) - #:use-module (gnu packages linux) - #:use-module (gnu packages machine-learning) #:use-module (gnu packages maths) - #:use-module (gnu packages mpi) - #:use-module (gnu packages ncurses) - #:use-module (gnu packages node) - #:use-module (gnu packages parallel) - #:use-module (gnu packages pcre) #:use-module (gnu packages perl) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages popt) - #:use-module (gnu packages protobuf) #:use-module (gnu packages python) - #:use-module (gnu packages ruby) - #:use-module (gnu packages statistics) - #:use-module (gnu packages tbb) - #:use-module (gnu packages textutils) - #:use-module (gnu packages time) - #:use-module (gnu packages tls) - #:use-module (gnu packages vim) - #:use-module (gnu packages web) - #:use-module (gnu packages xml) - #:use-module (gnu packages bootstrap) - #:use-module (gnu packages dlang) -; #:use-module (gn packages ldc) - #:use-module (gn packages shell) - #:use-module (srfi srfi-1)) + #:use-module (gnu packages statistics)) (define-public contra (package -- cgit v1.2.3 From 15d97b549a20de4bc97b8b0b2a77da47b6287ce0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 28 Aug 2019 05:27:29 -0500 Subject: gn: Update some crates --- gn/packages/crates-io.scm | 429 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 334 insertions(+), 95 deletions(-) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index 9a6ad48..1e64e46 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -26,17 +26,19 @@ (origin (method url-fetch) (uri (crate-uri "accelerate-src" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "17fiqyq7f9k41pbsyrvk9pxyx9z6fw399wq036cvwkbmb14xcpj1")))) + (base32 + "17fiqyq7f9k41pbsyrvk9pxyx9z6fw399wq036cvwkbmb14xcpj1")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-libc" ,rust-libc)))) - (home-page - "https://github.com/blas-lapack-rs/accelerate-src") + `(#:cargo-development-inputs + (("rust-libc" ,rust-libc)) + #:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'build)))) ; only available for macOS + (home-page "https://github.com/blas-lapack-rs/accelerate-src") (synopsis "The package provides a source of BLAS and LAPACK via the Accelerate framework.") (description @@ -82,6 +84,37 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-addr2line-0.9 + (package + (inherit rust-addr2line) + (name "rust-addr2line") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "addr2line" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17rlf04nx3g3rcy661v24ksnmpk6vqn680g5b5sp8lk20iih2xnx")))) + (arguments + `(#:cargo-inputs + (("rust-cpp-demangle" ,rust-cpp-demangle) + ("rust-fallible-iterator" + ,rust-fallible-iterator) + ("rust-gimli" ,rust-gimli) + ("rust-intervaltree" ,rust-intervaltree) + ("rust-lazycell" ,rust-lazycell) + ("rust-object" ,rust-object) + ("rust-rustc-demangle" ,rust-rustc-demangle) + ("rust-smallvec" ,rust-smallvec)) + #:cargo-development-inputs + (("rust-backtrace" ,rust-backtrace) + ("rust-clap" ,rust-clap) + ("rust-findshlibs" ,rust-findshlibs) + ("rust-memmap" ,rust-memmap) + ("rust-rustc-test" ,rust-rustc-test)))))) + (define-public rust-adler32 (package (name "rust-adler32") @@ -290,19 +323,17 @@ (origin (method url-fetch) (uri (crate-uri "ascii" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1mn5az4hkxgjhwy157pr1nrfdb3qjpw8jw8v91m2i8wg59b21qwi")))) + (base32 + "1mn5az4hkxgjhwy157pr1nrfdb3qjpw8jw8v91m2i8wg59b21qwi")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-quickcheck" ,rust-quickcheck) - ("rust-serde" ,rust-serde) - ("rust-serde-test" ,rust-serde-test)))) - (home-page - "https://github.com/tomprogrammer/rust-ascii") + `(#:cargo-inputs + (("rust-quickcheck" ,rust-quickcheck-0.6) + ("rust-serde" ,rust-serde) + ("rust-serde-test" ,rust-serde-test)))) + (home-page "https://github.com/tomprogrammer/rust-ascii") (synopsis "ASCII-only equivalents to `char`, `str` and `String`.") (description @@ -465,35 +496,30 @@ (origin (method url-fetch) (uri (crate-uri "backtrace" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0mfwbb6832rh1za304w8x37bvs9fjbybpmmz0iksqfzsaf108w8k")))) + (base32 + "0mfwbb6832rh1za304w8x37bvs9fjbybpmmz0iksqfzsaf108w8k")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-addr2line" ,rust-addr2line) - ("rust-backtrace-sys" ,rust-backtrace-sys) - ("rust-cfg-if" ,rust-cfg-if) - ("rust-compiler-builtins" - ,rust-compiler-builtins) - ("rust-cpp-demangle" ,rust-cpp-demangle) - ("rust-findshlibs" ,rust-findshlibs) - ("rust-goblin" ,rust-goblin) - ("rust-goblin" ,rust-goblin) - ("rust-goblin" ,rust-goblin) - ("rust-goblin" ,rust-goblin) - ("rust-libc" ,rust-libc) - ("rust-memmap" ,rust-memmap) - ("rust-rustc-demangle" ,rust-rustc-demangle) - ("rust-rustc-serialize" ,rust-rustc-serialize) - ("rust-rustc-std-workspace-core" - ,rust-rustc-std-workspace-core) - ("rust-serde" ,rust-serde) - ("rust-winapi" ,rust-winapi)))) - (home-page - "https://github.com/rust-lang/backtrace-rs") + `(#:cargo-inputs + (("rust-addr2line" ,rust-addr2line-0.9) + ("rust-backtrace-sys" ,rust-backtrace-sys) + ("rust-cfg-if" ,rust-cfg-if) + ("rust-compiler-builtins" + ,rust-compiler-builtins) + ("rust-cpp-demangle" ,rust-cpp-demangle) + ("rust-findshlibs" ,rust-findshlibs) + ("rust-goblin" ,rust-goblin) + ("rust-libc" ,rust-libc) + ("rust-memmap" ,rust-memmap) + ("rust-rustc-demangle" ,rust-rustc-demangle) + ("rust-rustc-serialize" ,rust-rustc-serialize) + ("rust-rustc-std-workspace-core" + ,rust-rustc-std-workspace-core) + ("rust-serde" ,rust-serde) + ("rust-winapi" ,rust-winapi)))) + (home-page "https://github.com/rust-lang/backtrace-rs") (synopsis "A library to acquire a stack trace (backtrace) at runtime in a Rust program.") (description @@ -541,17 +567,16 @@ (origin (method url-fetch) (uri (crate-uri "base-x" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0hv4y5cdhv6bk0ghk2434clw8v4mmk5cc9lsh6qrpri92zlfmx3n")))) + (base32 + "0hv4y5cdhv6bk0ghk2434clw8v4mmk5cc9lsh6qrpri92zlfmx3n")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-bencher" ,rust-bencher) - ("rust-json" ,rust-json) - ("rust-rand" ,rust-rand)))) + `(#:cargo-development-inputs + (("rust-bencher" ,rust-bencher) + ("rust-json" ,rust-json) + ("rust-rand" ,rust-rand-0.3)))) (home-page "https://github.com/OrKoN/base-x-rs") (synopsis "Encode/decode any base") (description "Encode/decode any base") @@ -586,6 +611,26 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-base64-0.9 + (package + (inherit rust-base64) + (name "rust-base64") + (version "0.9.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "base64" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hs62r35bgxslawyrn1vp9rmvrkkm76fqv0vqcwd048vs876r7a8")))) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder)) + #:cargo-development-inputs + (("rust-safemem" ,rust-safemem) + ("rust-rand" ,rust-rand-0.4)))))) + (define-public rust-bincode (package (name "rust-bincode") @@ -796,21 +841,20 @@ (origin (method url-fetch) (uri (crate-uri "bodyparser" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0c1gynj9l7wv3mjrzr5jifmy0pjdwachfqz09aygdmmab3xan8zh")))) + (base32 + "0c1gynj9l7wv3mjrzr5jifmy0pjdwachfqz09aygdmmab3xan8zh")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-iron" ,rust-iron) - ("rust-persistent" ,rust-persistent) - ("rust-plugin" ,rust-plugin) - ("rust-serde" ,rust-serde) - ("rust-serde-json" ,rust-serde-json)) - #:cargo-development-inputs - (("rust-serde-derive" ,rust-serde-derive)))) + `(#:cargo-inputs + (("rust-iron" ,rust-iron) + ("rust-persistent" ,rust-persistent) + ("rust-plugin" ,rust-plugin) + ("rust-serde" ,rust-serde) + ("rust-serde-json" ,rust-serde-json)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive)))) (home-page "https://github.com/iron/body-parser") (synopsis "Body parsing middleware for Iron.") (description "Body parsing middleware for Iron.") @@ -2988,7 +3032,7 @@ (arguments `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder) - ("rust-memmap" ,rust-memmap)) + ("rust-memmap" ,rust-memmap-0.6)) #:cargo-development-inputs (("rust-fnv" ,rust-fnv) ("rust-fst-levenshtein" ,rust-fst-levenshtein) @@ -3047,7 +3091,7 @@ (arguments `(#:cargo-inputs (("rust-fst" ,rust-fst) - ("rust-regex-syntax" ,rust-regex-syntax) + ("rust-regex-syntax" ,rust-regex-syntax-0.3) ("rust-utf8-ranges" ,rust-utf8-ranges)))) (home-page "https://github.com/BurntSushi/fst") (synopsis @@ -3759,6 +3803,22 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) +(define-public rust-heapsize-0.3 + (package + (inherit rust-heapsize) + (name "rust-heapsize") + (version "0.3.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "heapsize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dmwc37vgsdjzk10443dj4f23439i9gch28jcwzmry3chrwx8v2m")))) + (arguments + `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys)))))) + (define-public rust-heapsize-plugin (package (name "rust-heapsize-plugin") @@ -3941,7 +4001,7 @@ pseudorandom number generator") #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment) ("rust-indexmap" ,rust-indexmap) - ("rust-quickcheck" ,rust-quickcheck) + ("rust-quickcheck" ,rust-quickcheck-0.6) ("rust-rand" ,rust-rand-0.4) ("rust-seahash" ,rust-seahash) ("rust-serde" ,rust-serde) @@ -4095,6 +4155,35 @@ pseudorandom number generator") "This package provides a fast and correct HTTP library.") (license license:expat))) +(define-public rust-hyper-0.10 + (package + (inherit rust-hyper) + (name "rust-hyper") + (version "0.10.16") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wwjh9p3mzvg3fss2lqz5r7ddcgl1fh9w6my2j69d6k0lbcm41ha")))) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.9) + ("rust-httparse" ,rust-httparse) + ("rust-language-tags" ,rust-language-tags) + ("rust-log" ,rust-log-0.3) + ("rust-mime" ,rust-mime-0.2) + ("rust-num-cpus" ,rust-num-cpus) + ("rust-time" ,rust-time) + ("rust-traitobject" ,rust-traitobject) + ("rust-typeable" ,rust-typeable) + ("rust-unicase" ,rust-unicase) + ("rust-url" ,rust-url)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger)))))) + (define-public rust-hyper-old-types (package (name "rust-hyper-old-types") @@ -4339,9 +4428,9 @@ pseudorandom number generator") (("rust-serde" ,rust-serde)) #:cargo-development-inputs (("rust-fnv" ,rust-fnv) - ("rust-itertools" ,rust-itertools) + ("rust-itertools" ,rust-itertools-0.7) ("rust-lazy-static" ,rust-lazy-static) - ("rust-quickcheck" ,rust-quickcheck) + ("rust-quickcheck" ,rust-quickcheck-0.6) ("rust-rand" ,rust-rand) ("rust-serde-test" ,rust-serde-test)))) (home-page "https://github.com/bluss/indexmap") @@ -4478,7 +4567,7 @@ pseudorandom number generator") (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-hyper" ,rust-hyper) + (("rust-hyper" ,rust-hyper-0.10) ("rust-log" ,rust-log) ("rust-mime-guess" ,rust-mime-guess) ("rust-modifier" ,rust-modifier) @@ -4569,8 +4658,8 @@ pseudorandom number generator") (("rust-either" ,rust-either)) #:cargo-development-inputs (("rust-permutohedron" ,rust-permutohedron) - ("rust-quickcheck" ,rust-quickcheck) - ("rust-rand" ,rust-rand)))) + ("rust-quickcheck" ,rust-quickcheck-0.7) + ("rust-rand" ,rust-rand-0.6)))) (home-page "https://github.com/bluss/rust-itertools") (synopsis @@ -4763,7 +4852,7 @@ pseudorandom number generator") (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-winapi" ,rust-winapi) + (("rust-winapi" ,rust-winapi-0.2) ("rust-winapi-build" ,rust-winapi-build)))) (home-page "https://github.com/retep998/winapi-rs") (synopsis "Contains function definitions for the Windows API library kernel32") @@ -5063,9 +5152,8 @@ pseudorandom number generator") (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-libc" ,rust-libc)) - #:cargo-development-inputs - (("rust-cc" ,rust-cc) + (("rust-libc" ,rust-libc) + ("rust-cc" ,rust-cc) ("rust-pkg-config" ,rust-pkg-config) ("rust-vcpkg" ,rust-vcpkg)) #:phases @@ -5432,6 +5520,26 @@ stream encoding/decoding.") (license (list license:asl2.0 license:expat)))) +(define-public rust-memmap-0.6 + (package + (inherit rust-memmap) + (name "rust-memmap") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "memmap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1zy6s0ni0lx9rjzq3gq2zz9r8zgjmbp02332g3gsj4fyhv4s5zz2")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-winapi" ,rust-winapi)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir)))))) + (define-public rust-memoffset (package (name "rust-memoffset") @@ -5495,6 +5603,27 @@ stream encoding/decoding.") (license (list license:asl2.0 license:expat)))) +(define-public rust-mime-0.2 + (package + (inherit rust-mime) + (name "rust-mime") + (version "0.2.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "mime" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1q1s1ax1gaz8ld3513nvhidfwnik5asbs1ma3hp6inp5dn56nqms")))) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.3) + ("rust-heapsize" ,rust-heapsize-0.3) + ("rust-serde" ,rust-serde-0.8)) + #:cargo-development-inputs + (("rust-serde-json" ,rust-serde-json-0.8)))))) + (define-public rust-mime-guess (package (name "rust-mime-guess") @@ -5656,7 +5785,7 @@ stream encoding/decoding.") (("rust-socket2" ,rust-socket2) ("rust-winapi" ,rust-winapi)) #:cargo-development-inputs - (("rust-rand" ,rust-rand)))) + (("rust-rand" ,rust-rand-0.4)))) (home-page "https://github.com/alexcrichton/miow") (synopsis @@ -5724,19 +5853,28 @@ stream encoding/decoding.") "0ki7cj4wzyd2nach4qdjly69sp7rs0yz3n3z2ii4mm1gqajg2bab")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static) - ("rust-libc" ,rust-libc) - ("rust-log" ,rust-log) - ("rust-openssl" ,rust-openssl) - ("rust-openssl-probe" ,rust-openssl-probe) - ("rust-openssl-sys" ,rust-openssl-sys) - ("rust-schannel" ,rust-schannel) - ("rust-security-framework" ,rust-security-framework) - ("rust-security-framework-sys" ,rust-security-framework-sys) - ("rust-tempfile" ,rust-tempfile)) - #:cargo-development-inputs - (("rust-hex" ,rust-hex)))) + `(#:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static) + ("rust-libc" ,rust-libc) + ("rust-log" ,rust-log) + ("rust-openssl" ,rust-openssl) + ("rust-openssl-probe" ,rust-openssl-probe) + ("rust-openssl-sys" ,rust-openssl-sys) + ("rust-schannel" ,rust-schannel) + ("rust-security-framework" ,rust-security-framework) + ("rust-security-framework-sys" ,rust-security-framework-sys) + ("rust-tempfile" ,rust-tempfile)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + #t))))) + (inputs + `(("openssl" ,openssl))) (home-page "https://github.com/sfackler/rust-native-tls") (synopsis "An abstraction over platform-specific TLS implementations.") @@ -8178,6 +8316,25 @@ system calls.") (license (list license:asl2.0 license:expat)))) +(define-public rust-regex-syntax-0.3 + (package + (inherit rust-regex-syntax) + (name "rust-regex-syntax") + (version "0.3.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "regex-syntax" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ms9hgdhhsxw9w920i7gipydvagf100bb56jbs192rz86ln01v7r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.5) ; 0.2 + ("rust-rand", rust-rand-0.3)))))) + (define-public rust-remove-dir-all (package (name "rust-remove-dir-all") @@ -8535,6 +8692,27 @@ system calls.") (license (list license:asl2.0 license:boost1.0)))) +(define-public rust-safemem + (package + (name "rust-safemem") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "safemem" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j")))) + (build-system cargo-build-system) + (home-page "https://github.com/abonander/safemem") + (synopsis + "Safe wrappers for memory-accessing functions, like `std::ptr::copy()`.") + (description + "Safe wrappers for memory-accessing functions, like `std::ptr::copy()`.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-same-file (package (name "rust-same-file") @@ -8879,6 +9057,23 @@ function with proven statistical guarantees.") (license (list license:asl2.0 license:expat)))) +(define-public rust-serde-0.8 + (package + (inherit rust-serde) + (name "rust-serde") + (version "0.8.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1j4ajipn0sf4ya0crgcb94s848qp7mfc35n6d0q2rf8rk5skzbcx")))) + (arguments + `(#:cargo-development-inputs + (("rust-clippy" ,rust-clippy)))))) + (define-public rust-serde-big-array (package (name "rust-serde-big-array") @@ -9025,20 +9220,27 @@ function with proven statistical guarantees.") (license (list license:asl2.0 license:expat)))) -(define-public rust-serde-json-1.0.39 +(define-public rust-serde-json-0.8 (package (inherit rust-serde-json) (name "rust-serde-json") - (version "1.0.39") + (version "0.8.6") (source (origin (method url-fetch) (uri (crate-uri "serde_json" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "03fl9l680gij0hrsr2csfm8nm858igvfy05czbdkzm54siqsl8ss")))))) + "0k3bclzbvzhiscjydqzym887i8mkh726xkf8isf3lln3xplx5xv7")))) + (arguments + `(#:cargo-inputs + (("rust-dtoa" ,rust-dtoa-0.2) + ("rust-itoa" ,rust-itoa) + ("rust-num-traits" ,rust-num-traits) + ("rust-serde" ,rust-serde-0.8) + ("rust-clippy" ,rust-clippy) + ("rust-linked-hash-map" ,rust-linked-hash-map)))))) (define-public rust-serde-stacker (package @@ -10971,6 +11173,25 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) +(define-public rust-traitobject + (package + (name "rust-traitobject") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "traitobject" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0yb0n8822mr59j200fyr2fxgzzgqljyxflx9y8bdy3rlaqngilgg")))) + (build-system cargo-build-system) + (home-page "https://github.com/reem/rust-traitobject.git") + (synopsis "Unsafe helpers for dealing with raw trait objects.") + (description "Unsafe helpers for dealing with raw trait objects.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-trust-dns-https (package (name "rust-trust-dns-https") @@ -11292,6 +11513,24 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) +(define-public rust-typeable + (package + (name "rust-typeable") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "typeable" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "11w8dywgnm32hb291izjvh4zjd037ccnkk77ahk63l913zwzc40l")))) + (build-system cargo-build-system) + (home-page "https://github.com/reem/rust-typeable") + (synopsis "Exposes Typeable, for getting TypeIds at runtime.") + (description "Exposes Typeable, for getting TypeIds at runtime.") + (license license:expat))) + (define-public rust-typed-arena (package (name "rust-typed-arena") -- cgit v1.2.3 From a367554ba4c79baabdeffd06ad6f614c8e1533f3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 28 Aug 2019 16:53:13 +0300 Subject: gn: Remove upstreamed crates --- gn/packages/crates-io.scm | 1262 ++------------------------------------------- 1 file changed, 40 insertions(+), 1222 deletions(-) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index 1e64e46..b91a2b4 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -264,27 +264,6 @@ `(#:cargo-inputs (("rust-winapi" ,rust-winapi)))))) -(define-public rust-antidote - (package - (name "rust-antidote") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "antidote" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19g2sw2qa2ibnh4x7j1snk46593jgx6y7rnvva496ynq61af5z9l")))) - (build-system cargo-build-system) - (home-page "https://github.com/sfackler/rust-antidote") - (synopsis - "Poison-free versions of the Rust standard library Mutex and RwLock types.") - (description - "Poison-free versions of the Rust standard library Mutex and RwLock types.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-arrayvec (package (name "rust-arrayvec") @@ -372,7 +351,7 @@ (license (list license:asl2.0 license:expat)))) -(define-public rust-atty +(define-public rust-atty ; guix candidate, fails tests (package (name "rust-atty") (version "0.2.13") @@ -380,20 +359,19 @@ (origin (method url-fetch) (uri (crate-uri "atty" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "140sswp1bwqwc4zk80bxkbnfb3g936hgrb77g9g0k1zcld3wc0qq")))) + (base32 + "140sswp1bwqwc4zk80bxkbnfb3g936hgrb77g9g0k1zcld3wc0qq")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc) - ("rust-winapi" ,rust-winapi)))) + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-winapi" ,rust-winapi)))) (home-page "https://github.com/softprops/atty") (synopsis "A simple interface for querying atty") (description - "This package provides a simple interface for querying atty") + "This package provides a simple interface for querying atty.") (license license:expat))) (define-public rust-automod @@ -783,28 +761,6 @@ (base32 "0l9c1gjhld3ajalak1ipklxfjvwqyy3l7xl019spdbqlrk8r9f57")))))) -(define-public rust-blas-sys - (package - (name "rust-blas-sys") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "blas-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc)))) - (home-page "https://github.com/blas-lapack-rs/blas-sys") - (synopsis "Bindings to BLAS (Fortran).") - (description - "Ths package provides bindings to BLAS (Fortran).") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-blobby (package (name "rust-blobby") @@ -973,31 +929,6 @@ (license (list license:asl2.0 license:expat)))) -(define-public rust-cblas-sys - (package - (name "rust-cblas-sys") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "cblas-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0rgsn3klhhh09d8qf3b87zl4rwk93l2g0qzh9hhb0lff5kcfrzmn")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc)))) - (home-page - "https://github.com/blas-lapack-rs/cblas-sys") - (synopsis - "The package provides bindings to CBLAS (C).") - (description - "The package provides bindings to CBLAS (C).") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-cc (package (name "rust-cc") @@ -1257,30 +1188,6 @@ (license (list license:asl2.0 license:expat)))) -(define-public rust-cloudabi - (package - (name "rust-cloudabi") - (version "0.0.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "cloudabi" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0kxcg83jlihy0phnd2g8c2c303px3l2p3pkjz357ll6llnd5pz6x")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags)))) - (home-page "https://nuxi.nl/cloudabi/") - (synopsis - "Low level interface to CloudABI. Contains all syscalls and related types.") - (description - "Low level interface to CloudABI. Contains all syscalls and related types.") - (license license:bsd-2))) - (define-public rust-cmake (package (name "rust-cmake") @@ -1547,26 +1454,6 @@ (license (list license:asl2.0 license:expat)))) -(define-public rust-core-foundation-sys - (package - (name "rust-core-foundation-sys") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-foundation-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7")))) - (build-system cargo-build-system) - (home-page "https://github.com/servo/core-foundation-rs") - (synopsis "Bindings to Core Foundation for OS X") - (description - "Bindings to Core Foundation for OS X") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-cpp-demangle (package (name "rust-cpp-demangle") @@ -2017,59 +1904,6 @@ (license (list license:asl2.0 license:expat)))) -(define-public rust-data-encoding - (package - (name "rust-data-encoding") - (version "2.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "data-encoding" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "15xd6afhsjl08285piwczrafmckpp8i29padj8v12xhahshprx7l")))) - (build-system cargo-build-system) - (home-page "https://github.com/ia0/data-encoding") - (synopsis - "This library provides the following common encodings") - (description - "This library provides the following common encodings") - (license license:expat))) - -(define-public rust-defmac - (package - (name "rust-defmac") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "defmac" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "01ff3jdmcc5waffkwllndnx5hsn414r7x1rq4ib73n7awsyzxkxv")))) - (build-system cargo-build-system) - (home-page "https://github.com/bluss/defmac") - (synopsis "A macro to define lambda-like macros inline.") - (description "A macro to define lambda-like macros inline.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-defmac-0.1 - (package - (inherit rust-defmac) - (name "rust-defmac") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "defmac" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17giv0n0n1r64z0dahfvkjy3ys517jxyhs8sd9lmgvcljpjyryxa")))))) - (define-public rust-demo-hack (package (name "rust-demo-hack") @@ -2775,53 +2609,6 @@ (license (list license:asl2.0 license:expat)))) -(define-public rust-findshlibs - (package - (name "rust-findshlibs") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "findshlibs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1n2vagn0q5yim32hxkwi1cjgp3yn1dm45p7z8nw6lapywihhs9mi")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static) - ("rust-libc" ,rust-libc)))) - (home-page - "https://github.com/gimli-rs/findshlibs") - (synopsis - "Find the set of shared libraries loaded in the current process with a cross platform API") - (description - "Find the set of shared libraries loaded in the current process with a cross platform API") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-fixedbitset - (package - (name "rust-fixedbitset") - (version "0.1.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "fixedbitset" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0czam11mi80dbyhf4rd4lz0ihcf7vkfchrdcrn45wbs0h40dxm46")))) - (build-system cargo-build-system) - (home-page "https://github.com/bluss/fixedbitset") - (synopsis "FixedBitSet is a simple bitset collection") - (description "FixedBitSet is a simple bitset collection") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-flame (package (name "rust-flame") @@ -2995,26 +2782,6 @@ (license (list license:asl2.0 license:expat)))) -(define-public rust-foreign-types-shared - (package - (name "rust-foreign-types-shared") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "foreign-types-shared" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0kanxlif1vp0ffh2r9l610jqbkmb3183yqykxq1z5w1vay2rn7y6")))) - (build-system cargo-build-system) - (home-page "https://github.com/sfackler/foreign-types") - (synopsis "An internal crate used by foreign-types") - (description - "An internal crate used by foreign-types.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-fst (package (name "rust-fst") @@ -3268,26 +3035,6 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) -(define-public rust-futures-io-preview ; guix upstreamable - (package - (name "rust-futures-io-preview") - (version "0.3.0-alpha.17") - (source - (origin - (method url-fetch) - (uri (crate-uri "futures-io-preview" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fhvwhdb8ywjjbfng0ra1r8yyc9yzpyxg9sv3spb3f7w0lk40bh8")))) - (build-system cargo-build-system) - (home-page "https://rust-lang-nursery.github.io/futures-rs/") - (synopsis "Async read and write traits for the futures library") - (description "This crate provides the @code{AsyncRead} and -@code{AsyncWrite} traits for the @code{futures-rs} library.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-futures-preview (package (name "rust-futures-preview") @@ -4584,32 +4331,6 @@ pseudorandom number generator") (description "Extensible, Concurrency Focused Web Development in Rust.") (license license:expat))) -(define-public rust-iovec - (package - (name "rust-iovec") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "iovec" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "025vi072m22299z3fg73qid188z2iip7k41ba6v5v5yhwwby9rnv")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc) - ("rust-winapi" ,rust-winapi-0.2)))) - (home-page "https://github.com/carllerche/iovec") - (synopsis - "Portable buffer type for scatter/gather I/O operations") - (description - "Portable buffer type for scatter/gather I/O operations") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-ipconfig (package (name "rust-ipconfig") @@ -4886,31 +4607,6 @@ pseudorandom number generator") "Language tags for Rust") (license license:expat))) -(define-public rust-lazy-static - (package - (name "rust-lazy-static") - (version "1.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lazy_static" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-spin" ,rust-spin)))) - (home-page - "https://github.com/rust-lang-nursery/lazy-static.rs") - (synopsis - "A macro for declaring lazily evaluated statics in Rust.") - (description - "This package provides a macro for declaring lazily evaluated statics in Rust.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-lazycell (package (name "rust-lazycell") @@ -5817,27 +5513,6 @@ stream encoding/decoding.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) -(define-public rust-modifier - (package - (name "rust-modifier") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "modifier" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0n3fmgli1nsskl0whrfzm1gk0rmwwl6pw1q4nb9sqqmn5h8wkxa1")))) - (build-system cargo-build-system) - (home-page "https://github.com/reem/rust-modifier") - (synopsis - "Chaining APIs for both self -> Self and &mut self methods.") - (description - "Chaining APIs for both self -> Self and &mut self methods.") - (license license:expat))) - (define-public rust-native-tls (package (name "rust-native-tls") @@ -5918,34 +5593,6 @@ stream encoding/decoding.") (license (list license:asl2.0 license:expat)))) -(define-public rust-net2 - (package - (name "rust-net2") - (version "0.2.33") - (source - (origin - (method url-fetch) - (uri (crate-uri "net2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "126g3fgfxp06zimc1l9iyxnn9cif1hjsg7sd81nlls5nnyghsma2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if) - ("rust-libc" ,rust-libc) - ("rust-winapi" ,rust-winapi)))) - (home-page - "https://github.com/rust-lang-nursery/net2-rs") - (synopsis - "Extensions to the standard library's networking types as proposed in RFC 1158.") - (description - "Extensions to the standard library's networking types as proposed in RFC 1158.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-netlib-src (package (name "rust-netlib-src") @@ -6118,53 +5765,26 @@ implementation (which is unstable / requires nightly).") (license (list license:asl2.0 license:expat)))) -(define-public rust-num-cpus +(define-public rust-num-iter (package - (name "rust-num-cpus") - (version "1.10.1") + (name "rust-num-iter") + (version "0.1.39") (source (origin (method url-fetch) - (uri (crate-uri "num_cpus" version)) + (uri (crate-uri "num-iter" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw")))) + "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-libc" ,rust-libc)) + (("rust-num-integer" ,rust-num-integer) + ("rust-num-traits" ,rust-num-traits)) #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment)))) - (home-page - "https://github.com/seanmonstar/num_cpus") - (synopsis "Get the number of CPUs on a machine.") - (description - "Get the number of CPUs on a machine.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-num-iter - (package - (name "rust-num-iter") - (version "0.1.39") - (source - (origin - (method url-fetch) - (uri (crate-uri "num-iter" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-num-integer" ,rust-num-integer) - ("rust-num-traits" ,rust-num-traits)) - #:cargo-development-inputs - (("rust-autocfg" ,rust-autocfg)))) + (("rust-autocfg" ,rust-autocfg)))) (home-page "https://github.com/rust-num/num-iter") (synopsis @@ -6527,25 +6147,6 @@ implementation (which is unstable / requires nightly).") ("rust-wasm-bindgen" ,rust-wasm-bindgen) ("rust-winapi" ,rust-winapi)))))) -(define-public rust-rawpointer - (package - (name "rust-rawpointer") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rawpointer" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b")))) - (build-system cargo-build-system) - (home-page "https://github.com/bluss/rawpointer/") - (synopsis "Extra methods for raw pointers. For example `.post_inc()` and `.pre_dec()` (c.f. `ptr++` and `--ptr`) and `ptrdistance`.") - (description "Extra methods for raw pointers. For example `.post_inc()` and `.pre_dec()` (c.f. `ptr++` and `--ptr`) and `ptrdistance`.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-rspec (package (name "rust-rspec") @@ -6799,29 +6400,6 @@ implementation (which is unstable / requires nightly).") (license (list license:asl2.0 license:expat)))) -(define-public rust-permutohedron - (package - (name "rust-permutohedron") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "permutohedron" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0b1pzh48j86v46wxngch6k1kx9cdw3jr3lwa86gd6jd4bmxzz1xn")))) - (build-system cargo-build-system) - (home-page - "https://github.com/bluss/permutohedron") - (synopsis - "Generate permutations of sequences. Either lexicographical order permutations, or a minimal swaps permutation sequence implemented using Heap's algorithm.") - (description - "Generate permutations of sequences. Either lexicographical order permutations, or a minimal swaps permutation sequence implemented using Heap's algorithm.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-persistent (package (name "rust-persistent") @@ -7007,34 +6585,6 @@ implementation (which is unstable / requires nightly).") "Bindings to the PicoHTTPParser.") (license license:expat))) -(define-public rust-pkg-config - (package - (name "rust-pkg-config") - (version "0.3.14") - (source - (origin - (method url-fetch) - (uri (crate-uri "pkg-config" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "135ia995lqzr0gxpk85h0bjxf82kj6hbxdx924sh9jdln6r8wvk7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-lazy-static" ,rust-lazy-static)))) - (inputs - `(("pkg-config" ,pkg-config))) - (home-page - "https://github.com/alexcrichton/pkg-config-rs") - (synopsis - "A library to run the pkg-config system tool at build time in order to be used in Cargo build scripts.") - (description - "A library to run the pkg-config system tool at build time in order to be used in Cargo build scripts.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-plugin (package (name "rust-plugin") @@ -8292,30 +7842,6 @@ system calls.") ("rust-quickcheck" ,rust-quickcheck-0.6) ("rust-rand" ,rust-rand-0.4)))))) -(define-public rust-regex-syntax - (package - (name "rust-regex-syntax") - (version "0.6.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "regex-syntax" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-ucd-util" ,rust-ucd-util)))) - (home-page "https://github.com/rust-lang/regex") - (synopsis "A regular expression parser.") - (description - "This package provides a regular expression parser.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-regex-syntax-0.3 (package (inherit rust-regex-syntax) @@ -8329,10 +7855,9 @@ system calls.") (sha256 (base32 "0ms9hgdhhsxw9w920i7gipydvagf100bb56jbs192rz86ln01v7r")))) - (build-system cargo-build-system) (arguments `(#:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.5) ; 0.2 + (("rust-quickcheck" ,rust-quickcheck) ; 0.2 ("rust-rand", rust-rand-0.3)))))) (define-public rust-remove-dir-all @@ -8692,107 +8217,6 @@ system calls.") (license (list license:asl2.0 license:boost1.0)))) -(define-public rust-safemem - (package - (name "rust-safemem") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "safemem" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j")))) - (build-system cargo-build-system) - (home-page "https://github.com/abonander/safemem") - (synopsis - "Safe wrappers for memory-accessing functions, like `std::ptr::copy()`.") - (description - "Safe wrappers for memory-accessing functions, like `std::ptr::copy()`.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-same-file - (package - (name "rust-same-file") - (version "1.0.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "same-file" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-winapi-util" ,rust-winapi-util)))) - (home-page - "https://github.com/BurntSushi/same-file") - (synopsis - "A simple crate for determining whether two file paths point to the same file.") - (description - "This package provides a simple crate for determining whether two file paths point to the same file.") - (license (list license:unlicense - license:expat)))) - -(define-public rust-schannel - (package - (name "rust-schannel") - (version "0.1.15") - (source - (origin - (method url-fetch) - (uri (crate-uri "schannel" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static) - ("rust-winapi" ,rust-winapi)))) - (home-page "https://github.com/steffengy/schannel-rs") - (synopsis - "Rust bindings to the Windows SChannel APIs providing TLS client and server functionality.") - (description - "Rust bindings to the Windows SChannel APIs providing TLS client and server functionality.") - (license license:expat))) - -(define-public rust-scoped-tls-0.1 - (package - (inherit rust-scoped-tls) - (name "rust-scoped-tls") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "scoped-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk")))))) - -(define-public rust-scopeguard-0.3 - (package - (inherit rust-scopeguard) - (name "rust-scopeguard") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "scopeguard" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl")))))) - (define-public rust-scroll (package (name "rust-scroll") @@ -8930,33 +8354,6 @@ function with proven statistical guarantees.") (license (list license:asl2.0 license:expat)))) -(define-public rust-security-framework-sys - (package - (name "rust-security-framework-sys") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "security-framework-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0mlsakq9kmqyc0fg2hcbgm6rjk55mb0rhjw2wid3hqdzkjcghdln")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-core-foundation-sys" - ,rust-core-foundation-sys)))) - (home-page - "https://lib.rs/crates/security-framework-sys") - (synopsis - "Apple `Security.framework` low-level FFI bindings") - (description - "Apple `Security.framework` low-level FFI bindings") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-select-rustc (package (name "rust-select-rustc") @@ -9634,29 +9031,6 @@ function with proven statistical guarantees.") (license (list license:asl2.0 license:expat)))) -(define-public rust-stable-deref-trait - (package - (name "rust-stable-deref-trait") - (version "1.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "stable_deref_trait" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1j2lkgakksmz4vc5hfawcch2ipiskrhjs1sih0f3br7s7rys58fv")))) - (build-system cargo-build-system) - (home-page - "https://github.com/storyyeller/stable_deref_trait0") - (synopsis - "This crate defines an unsafe marker trait, StableDeref, for container types which deref to a fixed address which is valid even when the containing type is moved. For example, Box, Vec, Rc, Arc and String implement this trait. Additionally, it defines CloneStableDeref for types like Rc where clones deref to the same address.") - (description - "This crate defines an unsafe marker trait, StableDeref, for container types which deref to a fixed address which is valid even when the containing type is moved. For example, Box, Vec, Rc, Arc and String implement this trait. Additionally, it defines CloneStableDeref for types like Rc where clones deref to the same address.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-stacker (package (name "rust-stacker") @@ -9798,31 +9172,6 @@ function with proven statistical guarantees.") (license (list license:asl2.0 license:expat)))) -(define-public rust-stdweb-internal-test-macro - (package - (name "rust-stdweb-internal-test-macro") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "stdweb-internal-test-macro" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "12rrm7p77xnm3xacgn3rgniiyyjb4gq7902wpbljsvbx045z69l2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote)))) - (home-page "https://github.com/koute/stdweb") - (synopsis "Internal crate of the `stdweb` crate") - (description - "Internal crate of the `stdweb` crate") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-stream-cipher (package (name "rust-stream-cipher") @@ -9848,32 +9197,6 @@ function with proven statistical guarantees.") (license (list license:asl2.0 license:expat)))) -(define-public rust-streaming-stats - (package - (name "rust-streaming-stats") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "streaming-stats" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0l7xz4g6709s80zqpvlhrg0qhgz64r94cwhmfsg8xhabgznbp2px")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-num-traits" ,rust-num-traits)))) - (home-page - "https://github.com/BurntSushi/rust-stats") - (synopsis - "Experimental crate for computing basic statistics on streams.") - (description - "Experimental crate for computing basic statistics on streams.") - (license (list license:unlicense - license:expat)))) - (define-public rust-string (package (name "rust-string") @@ -10230,91 +9553,44 @@ function with proven statistical guarantees.") (license (list license:asl2.0 license:expat)))) -(define-public rust-termcolor +(define-public rust-test-assembler (package - (name "rust-termcolor") - (version "1.0.5") + (name "rust-test-assembler") + (version "0.1.5") (source (origin (method url-fetch) - (uri (crate-uri "termcolor" version)) - (file-name (string-append name "-" version ".tar.gz")) + (uri (crate-uri "test-assembler" version)) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln")))) + (base32 + "1sdx9hk0dk3z9crm8834ysyxsi92chls8arpd0gs796kis6lik2w")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-wincolor" ,rust-wincolor)))) - (home-page "https://github.com/BurntSushi/termcolor") - (synopsis "Library for writing colored text to a terminal") - (description "This package provides a simple cross platform library for -writing colored text to a terminal.") - (license (list license:unlicense - license:expat)))) + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder)))) + (home-page + "https://github.com/luser/rust-test-assembler") + (synopsis + "A set of types for building complex binary streams.") + (description + "This package provides a set of types for building complex binary streams.") + (license license:expat))) -(define-public rust-termios +(define-public rust-textwrap (package - (name "rust-termios") - (version "0.3.1") + (name "rust-textwrap") + (version "0.11.0") (source (origin (method url-fetch) - (uri (crate-uri "termios" version)) + (uri (crate-uri "textwrap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc)))) - (home-page - "https://github.com/dcuddeback/termios-rs") - (synopsis - "Safe bindings for the termios library.") - (description - "Safe bindings for the termios library.") - (license license:expat))) - -(define-public rust-test-assembler - (package - (name "rust-test-assembler") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "test-assembler" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1sdx9hk0dk3z9crm8834ysyxsi92chls8arpd0gs796kis6lik2w")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder)))) - (home-page - "https://github.com/luser/rust-test-assembler") - (synopsis - "A set of types for building complex binary streams.") - (description - "This package provides a set of types for building complex binary streams.") - (license license:expat))) - -(define-public rust-textwrap - (package - (name "rust-textwrap") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "textwrap" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0q5hky03ik3y50s9sz25r438bc4nwhqc6dqwynv4wylc807n29nk")))) + "0q5hky03ik3y50s9sz25r438bc4nwhqc6dqwynv4wylc807n29nk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -10372,56 +9648,6 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) -(define-public rust-thread-local - (package - (name "rust-thread-local") - (version "0.3.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "thread_local" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static)))) - (home-page - "https://github.com/Amanieu/thread_local-rs") - (synopsis "Per-object thread-local storage") - (description "Per-object thread-local storage") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-threadpool - (package - (name "rust-threadpool") - (version "1.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "threadpool" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0rd89n1q7vy47w4c32cnynibffv9kj3jy3dwr0536n9lbw5ckw72")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-num-cpus" ,rust-num-cpus)))) - (home-page - "https://github.com/rust-threadpool/rust-threadpool") - (synopsis - "A thread pool for running a number of jobs on a fixed set of worker threads.") - (description - "This package provides a thread pool for running a number of jobs on a fixed set of worker threads.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-time (package (name "rust-time") @@ -10788,28 +10014,6 @@ writing colored text to a terminal.") "Event loop that drives Tokio I/O resources.") (license license:expat))) -(define-public rust-tokio-mock-task - (package - (name "rust-tokio-mock-task") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tokio-mock-task" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1y7q83qfk9ljjfvs82b453pmz9x1v3d6kr4x55j8mal01s6790dw")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-futures" ,rust-futures)))) - (home-page - "https://github.com/carllerche/tokio-mock-task") - (synopsis "Mock a Tokio task") - (description "Mock a Tokio task") - (license license:expat))) - (define-public rust-tokio-mockstream (package (name "rust-tokio-mockstream") @@ -11148,50 +10352,6 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) -(define-public rust-tracing-core - (package - (name "rust-tracing-core") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "tracing-core" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "01fa73wzw2m5ybi3kkd52dgrw97mgc3i6inmhwys46ab28giwnxi")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static)))) - (home-page "https://tokio.rs") - (synopsis - "Core primitives for application-level tracing.") - (description - "Core primitives for application-level tracing.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-traitobject - (package - (name "rust-traitobject") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "traitobject" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0yb0n8822mr59j200fyr2fxgzzgqljyxflx9y8bdy3rlaqngilgg")))) - (build-system cargo-build-system) - (home-page "https://github.com/reem/rust-traitobject.git") - (synopsis "Unsafe helpers for dealing with raw trait objects.") - (description "Unsafe helpers for dealing with raw trait objects.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-trust-dns-https (package (name "rust-trust-dns-https") @@ -11439,50 +10599,6 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) -(define-public rust-try-from - (package - (name "rust-try-from") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "try_from" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "12wdd4ja7047sd3rx70hv2056hyc8gcdllcx3a41g1rnw64kng98")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if)))) - (home-page "https://github.com/derekjw/try_from") - (synopsis - "TryFrom and TryInto traits for failable conversions that return a Result.") - (description - "TryFrom and TryInto traits for failable conversions that return a Result.") - (license license:expat))) - -(define-public rust-try-lock - (package - (name "rust-try-lock") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "try-lock" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "10p36rx6pqi9d0zr876xa8vksx2m66ha45myakl50rn08dxyn176")))) - (build-system cargo-build-system) - (home-page - "https://github.com/seanmonstar/try-lock") - (synopsis "A lightweight atomic lock.") - (description - "This package provides a lightweight atomic lock.") - (license license:expat))) - (define-public rust-trybuild (package (name "rust-trybuild") @@ -11513,24 +10629,6 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) -(define-public rust-typeable - (package - (name "rust-typeable") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "typeable" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "11w8dywgnm32hb291izjvh4zjd037ccnkk77ahk63l913zwzc40l")))) - (build-system cargo-build-system) - (home-page "https://github.com/reem/rust-typeable") - (synopsis "Exposes Typeable, for getting TypeIds at runtime.") - (description "Exposes Typeable, for getting TypeIds at runtime.") - (license license:expat))) - (define-public rust-typed-arena (package (name "rust-typed-arena") @@ -11547,7 +10645,7 @@ writing colored text to a terminal.") (build-system cargo-build-system) (arguments `(#:cargo-development-inputs - (("rust-criterion" ,rust-byteorder)))) + (("rust-criterion" ,rust-criterion)))) (home-page "https://github.com/SimonSapin/rust-typed-arena") (synopsis @@ -11609,32 +10707,6 @@ writing colored text to a terminal.") "A typesafe store for many value types.") (license license:expat))) -(define-public rust-ucd-trie - (package - (name "rust-ucd-trie") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "ucd-trie" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1hh6kyzh5xygwy96wfmsf8v8czlzhps2lgbcyhj1xzy1w1xys04g")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-lazy-static" ,rust-lazy-static)))) - (home-page - "https://github.com/BurntSushi/ucd-generate") - (synopsis - "A trie for storing Unicode codepoint sets and maps.") - (description - "This package provides a trie for storing Unicode codepoint sets and maps.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-unicase (package (name "rust-unicase") @@ -11744,27 +10816,6 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) -(define-public rust-untrusted - (package - (name "rust-untrusted") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "untrusted" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1kmfykcwif6ashkwg54gcnhxj03kpba2i9vc7z5rpr0xlgvrwdk0")))) - (build-system cargo-build-system) - (home-page - "https://github.com/briansmith/untrusted") - (synopsis - "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted inputs in Rust.") - (description - "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted inputs in Rust.") - (license license:isc))) - (define-public rust-url (package (name "rust-url") @@ -11966,28 +11017,6 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) -(define-public rust-version-check - (package - (name "rust-version-check") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "version_check" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1kikqlnggii1rvnxrbls55sc46lxvinz5k3giscgncjj4p87b1q7")))) - (build-system cargo-build-system) - (home-page - "https://github.com/SergioBenitez/version_check") - (synopsis - "This tiny crate checks that the running or installed rustc meets some version requirements. The version is queried by calling the Rust compiler with --version. The path to the compiler is determined first via the RUSTC environment variable. If it is not set, then rustc is used. If that fails, no determination is made, and calls return None.") - (description - "This tiny crate checks that the running or installed rustc meets some version requirements. The version is queried by calling the Rust compiler with --version. The path to the compiler is determined first via the RUSTC environment variable. If it is not set, then rustc is used. If that fails, no determination is made, and calls return None.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-version-sync (package (name "rust-version-sync") @@ -12022,55 +11051,6 @@ writing colored text to a terminal.") updated when the crate version changes.") (license license:expat))) -(define-public rust-void - (package - (name "rust-void") - (version "1.0.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "void" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0zc8f0ksxvmhvgx4fdg0zyn6vdnbxd2xv9hfx4nhzg6kbs4f80ka")))) - (build-system cargo-build-system) - (home-page "https://github.com/reem/rust-void.git") - (synopsis - "The uninhabited void type for use in statically impossible cases.") - (description - "The uninhabited void type for use in statically impossible cases.") - (license license:expat))) - -(define-public rust-walkdir - (package - (name "rust-walkdir") - (version "2.2.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "walkdir" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07ppalpvxkf8cnqr64np422792y4z5bs9m8b4nrflh5rm17wjn4n")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-same-file" ,rust-same-file) - ("rust-winapi" ,rust-winapi) - ("rust-winapi-util" ,rust-winapi-util)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment)))) - (home-page - "https://github.com/BurntSushi/walkdir") - (synopsis "Recursively walk a directory.") - (description "Recursively walk a directory.") - (license (list license:unlicense - license:expat)))) - (define-public rust-want (package (name "rust-want") @@ -12296,33 +11276,6 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) -(define-public rust-wasm-bindgen-test-macro - (package - (name "rust-wasm-bindgen-test-macro") - (version "0.2.48") - (source - (origin - (method url-fetch) - (uri (crate-uri "wasm-bindgen-test-macro" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0n28mr6vncf1k1qr2b5bvfxq4jvqkjdzq0z0ab6w2f5d6v8q3q3l")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2) - ("rust-quote" ,rust-quote)))) - (home-page - "https://github.com/rustwasm/wasm-bindgen") - (synopsis - "Internal testing macro for wasm-bindgen") - (description - "Internal testing macro for wasm-bindgen") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-wasm-bindgen-webidl (package (name "rust-wasm-bindgen-webidl") @@ -12473,118 +11426,6 @@ writing colored text to a terminal.") "This package provides a Rust equivalent of Unix command \"which\". Locate installed execuable in cross platforms.") (license license:expat))) -(define-public rust-widestring - (package - (name "rust-widestring") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "widestring" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dhx6dndjsz1y7c9w06922412kdxyrrkqblvggm76mh8z17hxz7g")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-winapi" ,rust-winapi)))) - (home-page "https://github.com/starkat99/widestring-rs.git") - (synopsis - "A wide string Rust FFI library for converting to and from wide strings, such as those often used in Windows API or other FFI libaries. Both UTF-16 and UTF-32 types are provided, including support for malformed encoding.") - (description - "A wide string Rust FFI library for converting to and from wide strings, such as those often used in Windows API or other FFI libaries. Both UTF-16 and UTF-32 types are provided, including support for malformed encoding.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-winapi-0.2 - (package - (inherit rust-winapi) - (name "rust-winapi") - (version "0.2.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "winapi" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n")))) - ;; We do not want to package 48 -sys crates for a package we do not want. - ;; They are all dev dependencies, so we skip building and testing. - (arguments - `(#:tests? #f - #:phases - (modify-phases %standard-phases - (delete 'build)))))) - -(define-public rust-winapi-build - (package - (name "rust-winapi-build") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "winapi-build" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d")))) - (build-system cargo-build-system) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Common code for build.rs in WinAPI -sys crates") - (description - "Common code for build.rs in WinAPI -sys crates.") - (license license:expat))) - -(define-public rust-winapi-util - (package - (name "rust-winapi-util") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "winapi-util" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1j839dc6y8vszvrsb7yk0qvs0w6asnahxzbyans37vnsw6vbls3i")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-winapi" ,rust-winapi)))) - (home-page "https://github.com/BurntSushi/winapi-util") - (synopsis "Dumping ground for high level safe wrappers over winapi") - (description - "This package provides a dumping ground for high level safe wrappers over -winapi.") - (license (list license:unlicense - license:expat)))) - -(define-public rust-wincolor - (package - (name "rust-wincolor") - (version "1.0.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "wincolor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1agaf3hcav113i86912ajnw6jxcy4rvkrgyf8gdj8kc031mh3xcn")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-winapi" ,rust-winapi) - ("rust-winapi-util" ,rust-winapi-util)))) - (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor") - (synopsis "Windows API for controlling text color in a Windows console") - (description - "This package provides a simple Windows specific API for controlling text -color in a Windows console.") - (license (list license:unlicense - license:expat)))) - (define-public rust-winreg (package (name "rust-winreg") @@ -12686,29 +11527,6 @@ color in a Windows console.") (license (list license:asl2.0 license:expat)))) -(define-public rust-xdg - (package - (name "rust-xdg") - (version "2.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "xdg" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh")))) - (build-system cargo-build-system) - (home-page - "https://github.com/whitequark/rust-xdg") - (synopsis - "A library for storing and retrieving files according to XDG Base Directory specification") - (description - "This package provides a library for storing and retrieving files according to XDG Base Directory specification") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-xz2 (package (name "rust-xz2") -- cgit v1.2.3 From 5482718d1996fed14d8c73829837380715ccd725 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 29 Aug 2019 15:06:08 +0300 Subject: gn: Remove upstreamed crates --- gn/packages/crates-io.scm | 505 ++-------------------------------------------- 1 file changed, 15 insertions(+), 490 deletions(-) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index b91a2b4..37cbf33 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -351,29 +351,6 @@ (license (list license:asl2.0 license:expat)))) -(define-public rust-atty ; guix candidate, fails tests - (package - (name "rust-atty") - (version "0.2.13") - (source - (origin - (method url-fetch) - (uri (crate-uri "atty" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "140sswp1bwqwc4zk80bxkbnfb3g936hgrb77g9g0k1zcld3wc0qq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc) - ("rust-winapi" ,rust-winapi)))) - (home-page "https://github.com/softprops/atty") - (synopsis "A simple interface for querying atty") - (description - "This package provides a simple interface for querying atty.") - (license license:expat))) - (define-public rust-automod (package (name "rust-automod") @@ -1134,34 +1111,6 @@ "This package provides a simple to use, efficient, and full-featured Command Line Argument Parser") (license license:expat))) -(define-public rust-clicolors-control - (package - (name "rust-clicolors-control") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "clicolors-control" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1y80cgarxhrd1bz5yjm81r444v6flvy36aaxrrsac0yhfd6gvavk")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-atty" ,rust-atty) - ("rust-lazy-static" ,rust-lazy-static) - ("rust-libc" ,rust-libc) - ("rust-winapi" ,rust-winapi)))) - (home-page - "https://github.com/mitsuhiko/clicolors-control") - (synopsis - "A common utility library to control CLI colorization") - (description - "This package provides a common utility library to control CLI colorization") - (license license:expat))) - (define-public rust-clippy (package (name "rust-clippy") @@ -1229,10 +1178,9 @@ (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-rustc-std-workspace-core" - ,rust-rustc-std-workspace-core)) - #:cargo-development-inputs - (("rust-cc" ,rust-cc)))) + (("rust-cc" ,rust-cc) + ("rust-rustc-std-workspace-core" + ,rust-rustc-std-workspace-core)))) (home-page "https://github.com/rust-lang-nursery/compiler-builtins") (synopsis @@ -2868,65 +2816,6 @@ (license (list license:unlicense license:expat)))) -(define-public rust-fuchsia-cprng ; guix upstreamable - (package - (name "rust-fuchsia-cprng") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "fuchsia-cprng" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1fnkqrbz7ixxzsb04bsz9p0zzazanma8znfdqjvh39n14vapfvx0")))) - (build-system cargo-build-system) - (home-page "https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng") - (synopsis "Fuchsia cryptographically secure pseudorandom number generator") - (description "Rust crate for the Fuchsia cryptographically secure -pseudorandom number generator") - (license license:bsd-3))) - -(define-public rust-fuchsia-zircon - (package - (name "rust-fuchsia-zircon") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "fuchsia-zircon" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "10jxc5ks1x06gpd0xg51kcjrxr35nj6qhx2zlc5n7bmskv3675rf")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags) - ("rust-fuchsia-zircon-sys" ,rust-fuchsia-zircon-sys)))) - (home-page "https://fuchsia.googlesource.com/garnet/") - (synopsis "Rust bindings for the Zircon kernel") - (description "Rust bindings for the Zircon kernel.") - (license license:bsd-3))) - -(define-public rust-fuchsia-zircon-sys - (package - (name "rust-fuchsia-zircon-sys") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "fuchsia-zircon-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19zp2085qsyq2bh1gvcxq1lb8w6v6jj9kbdkhpdjrl95fypakjix")))) - (build-system cargo-build-system) - (home-page "https://fuchsia.googlesource.com/garnet/") - (synopsis "Low-level Rust bindings for the Zircon kernel") - (description "Low-level Rust bindings for the Zircon kernel.") - (license license:bsd-3))) - (define-public rust-futures-channel-preview (package (name "rust-futures-channel-preview") @@ -2976,33 +2865,6 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) -(define-public rust-futures-cpupool - (package - (name "rust-futures-cpupool") - (version "0.1.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "futures-cpupool" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1r32456gpblzfvnkf60545v8acqk7gh5zhyhi1jn669k9gicv45b")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-futures" ,rust-futures) - ("rust-num-cpus" ,rust-num-cpus)))) - (home-page - "https://github.com/alexcrichton/futures-rs") - (synopsis - "An implementation of thread pools which hand out futures to the results of the computation on the threads themselves.") - (description - "An implementation of thread pools which hand out futures to the results of the computation on the threads themselves.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-futures-executor-preview (package (name "rust-futures-executor-preview") @@ -3526,30 +3388,6 @@ pseudorandom number generator") "A Tokio aware, HTTP/2.0 client & server implementation for Rust.") (license license:expat))) -(define-public rust-heapsize - (package - (name "rust-heapsize") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "heapsize" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0q94q9ppqjgrw71swiyia4hgby2cz6dldp7ij57nkvhd6zmfcy8n")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-winapi" ,rust-winapi)))) - (home-page "https://github.com/servo/heapsize") - (synopsis - "Infrastructure for measuring the total runtime size of an object on the heap") - (description - "Infrastructure for measuring the total runtime size of an object on the heap") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-heapsize-0.3 (package (inherit rust-heapsize) @@ -3564,7 +3402,8 @@ pseudorandom number generator") (base32 "0dmwc37vgsdjzk10443dj4f23439i9gch28jcwzmry3chrwx8v2m")))) (arguments - `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys)))))) + `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys)) + #:tests? #f)))) ;; No flexible-tests feature flags on this release. (define-public rust-heapsize-plugin (package @@ -3581,7 +3420,14 @@ pseudorandom number generator") "1i72isf699q9jl167g2kg4xd6h3cd05rc79zaph58aqjy0g0m9y9")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs (("rust-heapsize" ,rust-heapsize)))) + `(#:cargo-development-inputs (("rust-heapsize" ,rust-heapsize-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-Cargo-toml + (lambda _ + (substitute* "Cargo.toml" + (("path = \"..\", ") "")) + #t))))) (home-page "https://github.com/servo/heapsize") (synopsis "Automatically generating infrastructure for measuring the total runtime size of an object on the heap") @@ -3701,31 +3547,6 @@ pseudorandom number generator") `(#:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4)))))) -(define-public rust-hostname - (package - (name "rust-hostname") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "hostname" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0kprf862qaa7lwdms6aw7f3275h0j2rwhs9nz5784pm8hdmb9ki1")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc) - ("rust-winutil" ,rust-winutil)))) - (home-page "https://github.com/fengcen/hostname") - (synopsis - "Get hostname. Compatible with windows and linux, redox.") - (description - "Get hostname. Compatible with windows and linux, redox.") - (license license:expat))) - (define-public rust-http (package (name "rust-http") @@ -4558,28 +4379,6 @@ pseudorandom number generator") (license (list license:asl2.0 license:expat)))) -(define-public rust-kernel32-sys - (package - (name "rust-kernel32-sys") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "kernel32-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-winapi" ,rust-winapi-0.2) - ("rust-winapi-build" ,rust-winapi-build)))) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Contains function definitions for the Windows API library kernel32") - (description "Contains function definitions for the Windows API library kernel32.") - (license license:expat))) - (define-public rust-language-tags (package (name "rust-language-tags") @@ -5274,31 +5073,6 @@ stream encoding/decoding.") (base32 "1cvm2z7dy138s302ii7wlzcxbka5a8yfl5pl5di7lbdnw9hw578g")))))) -(define-public rust-mime - (package - (name "rust-mime") - (version "0.3.13") - (source - (origin - (method url-fetch) - (uri (crate-uri "mime" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "09clbyvdkwflp8anwjhqdib0sw8191gphcchdp80nc8ayhhwl9ry")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-unicase" ,rust-unicase)))) - (home-page "https://github.com/hyperium/mime") - (synopsis - "Strongly Typed Mimes") - (description - "Strongly Typed Mimes") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-mime-0.2 (package (inherit rust-mime) @@ -5659,50 +5433,6 @@ stream encoding/decoding.") (license (list license:asl2.0 license:expat)))) -(define-public rust-nodrop ; guix upstreamable - (package - (name "rust-nodrop") - (version "0.1.13") - (source - (origin - (method url-fetch) - (uri (crate-uri "nodrop" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0if9ifn6rvar5jirx4b3qh4sl5kjkmcifycvzhxa9j3crkfng5ig")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-nodrop-union" ,rust-nodrop-union)))) - (home-page "https://github.com/bluss/arrayvec") - (synopsis "Wrapper type to inhibit drop (destructor)") - (description "This package provides a wrapper type to inhibit drop -(destructor). Use @code{std::mem::ManuallyDrop} instead!") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-nodrop-union ; guix upstreamable - (package - (name "rust-nodrop-union") - (version "0.1.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "nodrop-union" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0jsnkdn9l8jlmb9h4wssi76sxnyxwnyi00p6y1p2gdq7c1gdw2b7")))) - (build-system cargo-build-system) - (home-page "https://github.com/bluss/arrayvec") - (synopsis "Wrapper type to inhibit drop (destructor)") - (description "This package provides a wrapper type to inhibit drop -(destructor). Implementation crate for nodrop, the untagged unions -implementation (which is unstable / requires nightly).") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-nom (package (name "rust-nom") @@ -5765,35 +5495,6 @@ implementation (which is unstable / requires nightly).") (license (list license:asl2.0 license:expat)))) -(define-public rust-num-iter - (package - (name "rust-num-iter") - (version "0.1.39") - (source - (origin - (method url-fetch) - (uri (crate-uri "num-iter" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-num-integer" ,rust-num-integer) - ("rust-num-traits" ,rust-num-traits)) - #:cargo-development-inputs - (("rust-autocfg" ,rust-autocfg)))) - (home-page - "https://github.com/rust-num/num-iter") - (synopsis - "External iterators for generic mathematics") - (description - "External iterators for generic mathematics") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-object (package (name "rust-object") @@ -6585,32 +6286,6 @@ implementation (which is unstable / requires nightly).") "Bindings to the PicoHTTPParser.") (license license:expat))) -(define-public rust-plugin - (package - (name "rust-plugin") - (version "0.2.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "plugin" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1q7nghkpvxxr168y2jnzh3w7qc9vfrby9n7ygy3xpj0bj71hsshs")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-typemap" ,rust-typemap)) - #:cargo-development-inputs - (("rust-void" ,rust-void)))) - (home-page "https://github.com/reem/rust-plugin") - (synopsis - "Lazily evaluated, order-independent plugins for extensible types.") - (description - "Lazily evaluated, order-independent plugins for extensible types.") - (license license:expat))) - (define-public rust-pretty-env-logger (package (name "rust-pretty-env-logger") @@ -7441,7 +7116,7 @@ invocations.") (("rust-autocfg" ,rust-autocfg) ("rust-rand-core" ,rust-rand-core-0.4) ("rust-serde" ,rust-serde) - ("rust-serde" ,rust-serde-derive)) + ("rust-serde-derive" ,rust-serde-derive)) #:cargo-development-inputs (("rust-bincode" ,rust-bincode)))))) @@ -7491,7 +7166,7 @@ invocations.") `(#:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.3) ("rust-serde" ,rust-serde) - ("rust-serde" ,rust-serde-derive)) + ("rust-serde-derive" ,rust-serde-derive)) #:cargo-development-inputs (("rust-bincode" ,rust-bincode)))))) @@ -7860,34 +7535,6 @@ system calls.") (("rust-quickcheck" ,rust-quickcheck) ; 0.2 ("rust-rand", rust-rand-0.3)))))) -(define-public rust-remove-dir-all - (package - (name "rust-remove-dir-all") - (version "0.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "remove_dir_all" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-winapi" ,rust-winapi)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment)))) - (home-page - "https://github.com/XAMPPRocky/remove_dir_all.git") - (synopsis - "A safe, reliable implementation of remove_dir_all for Windows") - (description - "This package provides a safe, reliable implementation of remove_dir_all for Windows") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-reqwest (package (name "rust-reqwest") @@ -7954,33 +7601,6 @@ system calls.") (license (list license:asl2.0 license:expat)))) -(define-public rust-resolv-conf - (package - (name "rust-resolv-conf") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "resolv-conf" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jvdsmksdf6yiipm3aqahyv8n1cjd7wqc8sa0p0gzsax3fmb8qxj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-quick-error" ,rust-quick-error) - ("rust-hostname" ,rust-hostname)))) - (home-page - "https://github.com/tailhook/resolv-conf") - (synopsis - "A /etc/resolv.conf parser crate for rust.") - (description - "A /etc/resolv.conf parser crate for rust.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-ring (package (name "rust-ring") @@ -10683,55 +10303,6 @@ function with proven statistical guarantees.") (license (list license:asl2.0 license:expat)))) -(define-public rust-typemap - (package - (name "rust-typemap") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "typemap" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1xm1gbvz9qisj1l6d36hrl9pw8imr8ngs6qyanjnsad3h0yfcfv5")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-unsafe-any" ,rust-base64)))) - (home-page "https://github.com/reem/rust-typemap") - (synopsis - "A typesafe store for many value types.") - (description - "A typesafe store for many value types.") - (license license:expat))) - -(define-public rust-unicase - (package - (name "rust-unicase") - (version "2.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "unicase" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1xmpmkakhhblq7dzab1kwyv925kv7fqjkjsxjspg6ix9n88makm8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-version-check" ,rust-version-check)))) - (home-page - "https://github.com/seanmonstar/unicase") - (synopsis - "A case-insensitive wrapper around strings.") - (description - "A case-insensitive wrapper around strings.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-unicode-bidi (package (name "rust-unicode-bidi") @@ -11455,52 +11026,6 @@ function with proven statistical guarantees.") "Rust bindings to MS Windows Registry API.") (license license:expat))) -(define-public rust-winutil - (package - (name "rust-winutil") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "winutil" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-winapi" ,rust-winapi)))) - (home-page "https://bitbucket.org/DaveLancaster/winutil") - (synopsis "A simple library wrapping a handful of useful winapi functions.") - (description - "A simple library wrapping a handful of useful winapi functions.") - (license license:expat))) - -(define-public rust-ws2-32-sys - (package - (name "rust-ws2-32-sys") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "ws2_32-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-winapi" ,rust-winapi-0.2) - ("rust-winapi-build" ,rust-winapi-build)))) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis - "Contains function definitions for the Windows API library ws2_32.") - (description - "Contains function definitions for the Windows API library ws2_32.") - (license license:expat))) - (define-public rust-xattr (package (name "rust-xattr") -- cgit v1.2.3 From 8ee6f7dd7acbe71bbe62807c9006d192410a7bd4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 29 Aug 2019 09:31:07 -0500 Subject: gn: Add more crates --- gn/packages/crates-io.scm | 341 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 336 insertions(+), 5 deletions(-) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index 37cbf33..d4ecbc5 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -264,6 +264,40 @@ `(#:cargo-inputs (("rust-winapi" ,rust-winapi)))))) +(define-public rust-argon2rs + (package + (name "rust-argon2rs") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "argon2rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14mkgkrjd4b4zy92pflz6yb4j1wn2chbd8jczxknxbkdm2vb0rrz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blake2-rfc" ,rust-blake2-rfc) + ("rust-scoped-threadpool" ,rust-scoped-threadpool)) + #:cargo-development-inputs + (("rust-cargon" ,rust-cargon)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-Cargo-toml + (lambda _ + (substitute* "Cargo.toml" + (("path = \"benches/cargon\",") "")) + #t))))) + (home-page "https://github.com/bryant/argon2rs") + (synopsis "Rust library for the Argon2 hashing algorithm") + (description + "This is a purely Rust-based library that provides both variants of the +state-of-the-art Argon2 hashing algorithm, suitable for password hashing and +password-based key derivation.") + (license license:expat))) + (define-public rust-arrayvec (package (name "rust-arrayvec") @@ -696,6 +730,35 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-blake2-rfc + (package + (name "rust-blake2-rfc") + (version "0.2.18") + (source + (origin + (method url-fetch) + (uri (crate-uri "blake2-rfc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0034g47hyq2bzmk40895ill1mbnpmmjakdq3dmm9clidvl5m6vax")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arrayvec" ,rust-arrayvec) + ("rust-constant-time-eq" ,rust-constant-time-eq) + ("rust-clippy" ,rust-clippy)) + #:cargo-development-inputs + (("rust-data-encoding" ,rust-data-encoding)))) + (home-page "https://github.com/cesarb/blake2-rfc") + (synopsis "pure Rust implementation of BLAKE2 based on RFC 7693") + (description + "This is a pure Rust implementation of BLAKE2 based on RFC 7693. This +crate is limited to the features described in the RFC: only the @code{digest +length} and @code{key length} parameters can be used.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-blas-src (package (name "rust-blas-src") @@ -906,6 +969,29 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-cargon + (package + (name "rust-cargon") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cszlab7jk736p0lb50ag4l9nv72m7j41bwrmygl0lr4iz0350w2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gcc" ,rust-gcc)))) + (home-page "https://github.com/bryant/argon2rs") + (synopsis "Thin wrapper around the Argon2 C library") + (description + "This package provides a thin wrapper around the Argon2 C library. It is +used in argon2rs' bench suite.") + (license license:wtfpl2))) + (define-public rust-cc (package (name "rust-cc") @@ -1099,7 +1185,7 @@ ("rust-textwrap" ,rust-textwrap) ("rust-unicode-width" ,rust-unicode-width) ("rust-vec-map" ,rust-vec-map) - ("rust-yaml-rust" ,rust-yaml-rust)) + ("rust-yaml-rust" ,rust-yaml-rust-0.3)) #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static) ("rust-regex" ,rust-regex) @@ -1190,6 +1276,45 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-compiletest-rs + (package + (name "rust-compiletest-rs") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "compiletest-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0rvckrzk4bs3h9vsvf0z8rzhh59rddxcq5z5c0iyzv1daihci5sq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-diff" ,rust-diff) + ("rust-filetime" ,rust-filetime) + ("rust-getopts" ,rust-getopts) + ("rust-libc" ,rust-libc) + ("rust-log" ,rust-log) + ("rust-miow" ,rust-miow) + ("rust-regex" ,rust-regex) + ("rust-rustfix" ,rust-rustfix) + ("rust-serde" ,rust-serde) + ("rust-serde-derive" ,rust-serde-derive) + ("rust-serde-json" ,rust-serde-json) + ("rust-winapi" ,rust-winapi) + ("rust-tempfile" ,rust-tempfile) + ("rust-tester" ,rust-tester)))) + (home-page "https://github.com/laumann/compiletest-rs") + (synopsis "Compiletest utility from the Rust compiler") + (description + "This project is an attempt at extracting the @code{compiletest} utility +from the Rust compiler. The @code{compiletest} utility is useful for library +and plugin developers, who want to include test programs that should fail to +compile, issue warnings or otherwise produce compile-time output.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-console (package (name "rust-console") @@ -1225,6 +1350,26 @@ "This package provides a terminal and console abstraction for Rust") (license license:expat))) +(define-public rust-constant-time-eq + (package + (name "rust-constant-time-eq") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "constant_time_eq" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "083icpr9xb72rrdxw3p4068dcspn6ai22jy7rhl2a8grfz448nlr")))) + (build-system cargo-build-system) + (home-page "https://github.com/cesarb/constant_time_eq") + (synopsis" Compares two equal-sized byte strings in constant time") + (description + "This package compares two equal-sized byte strings in constant time. +It is inspired by the Linux kernel's crypto_memneq.") + (license license:cc0))) + (define-public rust-conv (package (name "rust-conv") @@ -2036,6 +2181,36 @@ (license (list license:unlicense license:expat)))) +(define-public rust-duct + (package + (name "rust-duct") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "duct" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vm1nzyi434h2zwix7c925qfa886ri1qx4nkq4hdrgkq7h9ayh1n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lazycell" ,rust-lazycell) + ("rust-libc" ,rust-libc) + ("rust-os-pipe" ,rust-os-pipe) + ("rust-shared-child" ,rust-shared-child)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir)))) + (home-page + "https://github.com/oconnor663/duct.rs") + (synopsis + "a library for creating shell pipelines") + (description + "a library for creating shell pipelines") + (license license:expat))) + (define-public rust-either (package (name "rust-either") @@ -2557,6 +2732,42 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-rustfix + (package + (name "rust-rustfix") + (version "0.4.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustfix" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "01zn0ysnass3mmrhxk90584y713vjfq1x97mi4saac99g9vsql3i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-failure" ,rust-failure) + ("rust-log" ,rust-log) + ("rust-serde" ,rust-serde) + ("rust-serde-json" ,rust-serde-json)) + #:cargo-development-inputs + (("rust-difference" ,rust-difference) + ("rust-duct" ,rust-duct) + ("rust-env-logger" ,rust-env-logger) + ("rust-log" ,rust-log) + ("rust-proptest" ,rust-proptest) + ("rust-tempdir" ,rust-tempdir)))) + (home-page + "https://github.com/rust-lang-nursery/rustfix") + (synopsis + "Automatically apply the suggestions made by rustc") + (description + "Automatically apply the suggestions made by rustc") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-flame (package (name "rust-flame") @@ -3093,6 +3304,35 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-gcc + (package + (name "rust-gcc") + (version "0.3.55") + (source + (origin + (method url-fetch) + (uri (crate-uri "gcc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hng1sajn4r67hndvhjysswz8niayjwvcj42zphpxzhbz89kjpwg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rayon" ,rust-rayon-0.8)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir)) + ;#:tests? #f + )) ; tests fail + (home-page "https://github.com/alexcrichton/gcc-rs") + (synopsis "Library to compile C/C++ code into a Rust library/application") + (description + "This package provides a build-time dependency for Cargo build scripts to +assist in invoking the native C compiler to compile native C code into a static +archive to be linked into Rustcode.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-generic-array (package (name "rust-generic-array") @@ -4696,6 +4936,25 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-linked-hash-map-0.3 + (package + (inherit rust-linked-hash-map) + (name "rust-linked-hash-map") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "linked-hash-map" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1kaf95grvfqchxn8pl0854g8ab0fzl56217hndhhhz5qqm2j09kd")))) + (arguments + `(#:cargo-inputs + (("rust-clippy" ,rust-clippy) + ("rust-serde" ,rust-serde-0.8) + ("rust-serde-test" ,rust-serde-test)))))) ; 0.8 + (define-public rust-lipsum (package (name "rust-lipsum") @@ -7281,6 +7540,29 @@ invocations.") ("rust-serde" ,rust-serde) ("rust-serde-derive" ,rust-serde-derive)))))) +(define-public rust-rayon-0.8 + (package + (inherit rust-rayon) + (name "rust-rayon") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rayon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1j2l9x98ma63qkh9w8zik0vcpwqf9cvc2ynh66ibjp36nq4gw55n")))) + (arguments + `(#:cargo-inputs + (("rust-rayon-core" ,rust-rayon-core)) + #:cargo-development-inputs + (("rust-compiletest-rs" ,rust-compiletest-rs) + ("rust-docopt" ,rust-docopt) + ("rust-futures" ,rust-futures) + ("rust-rand" ,rust-rand-0.3) + ("rust-rustc-serialize" ,rust-rustc-serialize)))))) + (define-public rust-rayon-core (package (name "rust-rayon-core") @@ -7356,6 +7638,8 @@ invocations.") `(#:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.3)))))) +;; This package requires features which are unavailable +;; on the stable releases of Rust. (define-public rust-redox-syscall ; guix upstreamable (package (name "rust-redox-syscall") @@ -7373,6 +7657,7 @@ invocations.") (synopsis "Rust library to access raw Redox system calls") (description "This package provides a Rust library to access raw Redox system calls.") + (properties '((hidden? . #t))) (license license:expat))) (define-public rust-redox-users @@ -7401,7 +7686,7 @@ system calls.") "A Rust library to access Redox users and groups functionality") (description "This package provides a Rust library to access Redox users and groups functionality") - (license #f))) + (license license:expat))) (define-public rust-ref-cast (package @@ -7837,6 +8122,34 @@ system calls.") (license (list license:asl2.0 license:boost1.0)))) +(define-public rust-scoped-threadpool + (package + (name "rust-scoped-threadpool") + (version "0.1.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "scoped_threadpool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1a26d3lk40s9mrf4imhbik7caahmw2jryhhb6vqv6fplbbgzal8x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static)))) + (home-page "https://github.com/Kimundi/scoped-threadpool-rs") + (synopsis "library for scoped and cached threadpools") + (description + "This crate provides a stable, safe and scoped threadpool. It can be used +to execute a number of short-lived jobs in parallel without the need to respawn +the underlying threads. Jobs are runnable by borrowing the pool for a given +scope, during which an arbitrary number of them can be executed. These jobs can +access data of any lifetime outside of the pools scope, which allows working on +non-'static references in parallel.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-scroll (package (name "rust-scroll") @@ -9147,7 +9460,7 @@ function with proven statistical guarantees.") (define-public rust-term-size (package (name "rust-term-size") - (version "1.0.0-beta1") + (version "0.3.1") (source (origin (method url-fetch) @@ -9156,12 +9469,12 @@ function with proven statistical guarantees.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "13w9cqjhzh3mmx6zami8lxyf42xx53yy866zxhxqcm71k637v8d8")))) + "09wk3173ngmb710qs9rwgibq4w250q8lgnwjvb9cypc1vdk9lnwy")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-clippy" ,rust-clippy) - ;("rust-kernel32-sys" ,rust-kernel32-sys) ; windows + ("rust-kernel32-sys" ,rust-kernel32-sys) ("rust-libc" ,rust-libc) ("rust-winapi" ,rust-winapi)))) (home-page @@ -11111,3 +11424,21 @@ in-memory encoding/decoding.") "The missing YAML 1.2 parser for rust") (license (list license:asl2.0 license:expat)))) + +(define-public rust-yaml-rust-0.3 + (package + (inherit rust-yaml-rust) + (name "rust-yaml-rust") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "yaml-rust" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14m9dzwb8fb05f4jjb4nqp49rxd9c5vcmwpv3a04d2y5iphncqz6")))) + (arguments + `(#:cargo-inputs + (("rust-clippy" ,rust-clippy) + ("rust-linked-hash-map" ,rust-linked-hash-map-0.3)))))) -- cgit v1.2.3 From 853b2db5aafabc91aaf5b8364512259c63e93db2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 2 Sep 2019 06:53:51 -0500 Subject: gn: minor crate changes --- gn/packages/crates-io.scm | 204 ++++++++++++++++++++++++---------------------- 1 file changed, 107 insertions(+), 97 deletions(-) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index d4ecbc5..a8f3ee8 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -388,7 +388,7 @@ password-based key derivation.") (define-public rust-automod (package (name "rust-automod") - (version "0.1.1") + (version "0.1.2") (source (origin (method url-fetch) @@ -397,7 +397,7 @@ password-based key derivation.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0pld582piq2d55z0j96zcs8izw3ml46f8h9y7sdyxg093yfvxl2h")))) + "17am5i7z7jpsrq9bm0wyhf4q9850g2kqvzl3ik900x5gc7brwv2a")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -414,7 +414,7 @@ password-based key derivation.") (define-public rust-average (package (name "rust-average") - (version "0.10.1") + (version "0.10.2") (source (origin (method url-fetch) @@ -423,7 +423,7 @@ password-based key derivation.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "077wbjzn2hwdjnglp8pjvirvsjgfgbgnlirwh5g2hk14xqx7f57l")))) + "16ib3vlfp3akpflha1m6598x3jfrgrh9qgrf9vvv11rfqirp22dx")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -995,7 +995,7 @@ used in argon2rs' bench suite.") (define-public rust-cc (package (name "rust-cc") - (version "1.0.38") + (version "1.0.41") (source (origin (method url-fetch) @@ -1004,14 +1004,25 @@ used in argon2rs' bench suite.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0imzcz53wg7m3gr6657yrikp7icyc2bpkvssnyd0xvj8imihqh6f")))) + "1zxzd559dbbf1iwdzmkj7czapzccs17kqqmsj9ayijpdix5rrbld")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-rayon" ,rust-rayon)) + `(;#:cargo-inputs + ;(("rust-rayon" ,rust-rayon)) #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir)) - #:tests? #f)) ; tests fail + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-optional-deps + (lambda _ + (substitute* "Cargo.toml.orig" + ((".*optional.*") "\n") + ((".*features.*") "") + ((".*parallel.*") "")) + (delete-file "Cargo.toml") + (copy-file "Cargo.toml.orig" "Cargo.toml") + #t))) + #:tests? #f)) ; Tests require cc-test from git repo. (home-page "https://github.com/alexcrichton/cc-rs") (synopsis @@ -5913,7 +5924,7 @@ stream encoding/decoding.") (define-public rust-openssl-src (package (name "rust-openssl-src") - (version "111.4.0+1.1.1c") + (version "111.5.0+1.1.1c") (source (origin (method url-fetch) @@ -5922,7 +5933,7 @@ stream encoding/decoding.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "10s3hvkfk6bi4ba1ssvj914rjs31vs8plssy4kbvsa0w7idkqfkq")))) + "17h4jwa3n1i91h0q8g72c1d9xzm97bnkxn1s7rljyghp94zvzpjb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cc" ,rust-cc)))) @@ -5938,7 +5949,7 @@ stream encoding/decoding.") (define-public rust-openssl-sys (package (name "rust-openssl-sys") - (version "0.9.48") + (version "0.9.49") (source (origin (method url-fetch) @@ -5947,7 +5958,7 @@ stream encoding/decoding.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1f05kxx8mai9ac16x1lk0404bymghbbj7vcbqrfwqfr52w131fmm")))) + "1168vivyqbzaxl48bvv9r1x714c03f5c1za8pv5x8fyj9gjxkypl")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -6057,86 +6068,6 @@ stream encoding/decoding.") "A library for creating references that carry their owner with them.") (license license:expat))) -(define-public rust-rand-os - (package - (name "rust-rand-os") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rand_os" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06is69f8rfzs620g5b54k6cgy5yaycrsyqg55flyfrsf8g88733f")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-getrandom" ,rust-getrandom) - ("rust-rand-core" ,rust-rand-core)))) - (home-page "https://crates.io/crates/rand_os") - (synopsis "OS backed Random Number Generator") - (description "OS backed Random Number Generator") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-rand-os-0.1 - (package - (inherit rust-rand-os) - (name "rust-rand-os") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "rand_os" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0wahppm0s64gkr2vmhcgwc0lij37in1lgfxg5rbgqlz0l5vgcxbv")))) - (arguments - `(#:cargo-inputs - (("rust-cloudabi" ,rust-cloudabi) - ("rust-fuchsia-cprng" ,rust-fuchsia-cprng) - ("rust-getrandom" ,rust-getrandom) - ("rust-libc" ,rust-libc) - ("rust-log" ,rust-log) - ("rust-rand-core" ,rust-rand-core-0.4) - ("rust-rdrand" ,rust-rdrand-0.4) - ("rust-stdweb" ,rust-stdweb) - ("rust-wasm-bindgen" ,rust-wasm-bindgen) - ("rust-winapi" ,rust-winapi)))))) - -(define-public rust-rspec - (package - (name "rust-rspec") - (version "1.0.0-beta.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "rspec" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1abfzwkbxlwahb243k8d3fp6i135lx1aqmbfl79w9zlpng182ndk")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-colored" ,rust-colored) - ("rust-derive-new" ,rust-derive-new) - ("rust-derive-builder" ,rust-derive-builder) - ("rust-expectest" ,rust-expectest) - ("rust-rayon" ,rust-rayon)) - #:cargo-development-inputs - (("rust-clippy" ,rust-clippy)))) - (home-page "https://mackwic.github.io/rspec") - (synopsis - "Write Rspec-like tests with stable rust") - (description - "Write Rspec-like tests with stable rust") - (license license:mpl2.0))) - (define-public rust-packed-simd (package (name "rust-packed-simd") @@ -7083,7 +7014,7 @@ invocations.") (define-public rust-rand-core (package (name "rust-rand-core") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) @@ -7092,13 +7023,12 @@ invocations.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1jis94x9ri8xlxki2w2w5k29sjpfwgzkjylg7paganp74hrnhpk1")))) + "06bdvx08v3rkz451cm7z59xwwqn1rkfh6v9ay77b14f8dwlybgch")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-getrandom" ,rust-getrandom) - ("rust-serde" ,rust-serde) - ("rust-serde-derive" ,rust-serde-derive)))) + ("rust-serde" ,rust-serde)))) (home-page "https://crates.io/crates/rand_core") (synopsis "Core random number generator traits and tools for implementation.") @@ -7328,6 +7258,56 @@ invocations.") ("rust-rand-core" ,rust-rand-core-0.4) ("rust-winapi" ,rust-winapi)))))) +(define-public rust-rand-os + (package + (name "rust-rand-os") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_os" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06is69f8rfzs620g5b54k6cgy5yaycrsyqg55flyfrsf8g88733f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-getrandom" ,rust-getrandom) + ("rust-rand-core" ,rust-rand-core)))) + (home-page "https://crates.io/crates/rand_os") + (synopsis "OS backed Random Number Generator") + (description "OS backed Random Number Generator") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-rand-os-0.1 + (package + (inherit rust-rand-os) + (name "rust-rand-os") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_os" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wahppm0s64gkr2vmhcgwc0lij37in1lgfxg5rbgqlz0l5vgcxbv")))) + (arguments + `(#:cargo-inputs + (("rust-cloudabi" ,rust-cloudabi) + ("rust-fuchsia-cprng" ,rust-fuchsia-cprng) + ("rust-getrandom" ,rust-getrandom) + ("rust-libc" ,rust-libc) + ("rust-log" ,rust-log) + ("rust-rand-core" ,rust-rand-core-0.4) + ("rust-rdrand" ,rust-rdrand-0.4) + ("rust-stdweb" ,rust-stdweb) + ("rust-wasm-bindgen" ,rust-wasm-bindgen) + ("rust-winapi" ,rust-winapi)))))) + (define-public rust-rand-pcg (package (name "rust-rand-pcg") @@ -7947,6 +7927,36 @@ system calls.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rspec + (package + (name "rust-rspec") + (version "1.0.0-beta.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "rspec" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1abfzwkbxlwahb243k8d3fp6i135lx1aqmbfl79w9zlpng182ndk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-colored" ,rust-colored) + ("rust-derive-new" ,rust-derive-new) + ("rust-derive-builder" ,rust-derive-builder) + ("rust-expectest" ,rust-expectest) + ("rust-rayon" ,rust-rayon)) + #:cargo-development-inputs + (("rust-clippy" ,rust-clippy)))) + (home-page "https://mackwic.github.io/rspec") + (synopsis + "Write Rspec-like tests with stable rust") + (description + "Write Rspec-like tests with stable rust") + (license license:mpl2.0))) + (define-public rust-rustc-demangle (package (name "rust-rustc-demangle") -- cgit v1.2.3 From fc7de7d90e780f6e9ac3154460dbc8fdeea873e4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 2 Sep 2019 15:54:30 +0300 Subject: gn: Upstream some crates --- gn/packages/crates-io.scm | 197 ++-------------------------------------------- 1 file changed, 8 insertions(+), 189 deletions(-) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index a8f3ee8..50d2411 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -1000,11 +1000,10 @@ used in argon2rs' bench suite.") (origin (method url-fetch) (uri (crate-uri "cc" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1zxzd559dbbf1iwdzmkj7czapzccs17kqqmsj9ayijpdix5rrbld")))) + (base32 + "1zxzd559dbbf1iwdzmkj7czapzccs17kqqmsj9ayijpdix5rrbld")))) (build-system cargo-build-system) (arguments `(;#:cargo-inputs @@ -1023,15 +1022,12 @@ used in argon2rs' bench suite.") (copy-file "Cargo.toml.orig" "Cargo.toml") #t))) #:tests? #f)) ; Tests require cc-test from git repo. - (home-page - "https://github.com/alexcrichton/cc-rs") - (synopsis - "A build-time dependency for Cargo build scripts to assist in invoking the native - C compiler to compile native C code into a static archive to be linked into Rust - code.") + (home-page "https://github.com/alexcrichton/cc-rs") + (synopsis "Invoke the native C compiler") (description - "This package provides a build-time dependency for Cargo build scripts to assist in invoking the native - C compiler to compile native C code into a static archive to be linked into Rustcode.") + "This package provides a build-time dependency for Cargo build scripts to +assist in invoking the native C compiler to compile native C code into a static +archive to be linked into Rustcode.") (license (list license:asl2.0 license:expat)))) @@ -3639,53 +3635,6 @@ archive to be linked into Rustcode.") "A Tokio aware, HTTP/2.0 client & server implementation for Rust.") (license license:expat))) -(define-public rust-heapsize-0.3 - (package - (inherit rust-heapsize) - (name "rust-heapsize") - (version "0.3.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "heapsize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0dmwc37vgsdjzk10443dj4f23439i9gch28jcwzmry3chrwx8v2m")))) - (arguments - `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys)) - #:tests? #f)))) ;; No flexible-tests feature flags on this release. - -(define-public rust-heapsize-plugin - (package - (name "rust-heapsize-plugin") - (version "0.1.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "heapsize_plugin" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1i72isf699q9jl167g2kg4xd6h3cd05rc79zaph58aqjy0g0m9y9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs (("rust-heapsize" ,rust-heapsize-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-Cargo-toml - (lambda _ - (substitute* "Cargo.toml" - (("path = \"..\", ") "")) - #t))))) - (home-page "https://github.com/servo/heapsize") - (synopsis - "Automatically generating infrastructure for measuring the total runtime size of an object on the heap") - (description - "Automatically generating infrastructure for measuring the total runtime size of an object on the heap") - (license license:mpl2.0))) - (define-public rust-heck (package (name "rust-heck") @@ -4630,33 +4579,6 @@ archive to be linked into Rustcode.") (license (list license:asl2.0 license:expat)))) -(define-public rust-language-tags - (package - (name "rust-language-tags") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "language-tags" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-heapsize" ,rust-heapsize)) - #:cargo-development-inputs - (("rust-heapsize-plugin" ,rust-heapsize-plugin)))) - (home-page - "https://github.com/pyfisch/rust-language-tags") - (synopsis - "Language tags for Rust") - (description - "Language tags for Rust") - (license license:expat))) - (define-public rust-lazycell (package (name "rust-lazycell") @@ -6043,31 +5965,6 @@ stream encoding/decoding.") ("rust-rand" ,rust-rand-0.4) ("rust-serde-test" ,rust-serde-test)))))) -(define-public rust-owning-ref - (package - (name "rust-owning-ref") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "owning_ref" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "04zgwy77lin8qz398s6g44467pd6kjhbrlqifkia5rkr47mbi929")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-stable-deref-trait" ,rust-stable-deref-trait)))) - (home-page - "https://github.com/Kimundi/owning-ref-rs") - (synopsis - "A library for creating references that carry their owner with them.") - (description - "A library for creating references that carry their owner with them.") - (license license:expat))) - (define-public rust-packed-simd (package (name "rust-packed-simd") @@ -7618,28 +7515,6 @@ invocations.") `(#:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.3)))))) -;; This package requires features which are unavailable -;; on the stable releases of Rust. -(define-public rust-redox-syscall ; guix upstreamable - (package - (name "rust-redox-syscall") - (version "0.1.56") - (source - (origin - (method url-fetch) - (uri (crate-uri "redox_syscall" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "110y7dyfm2vci4x5vk7gr0q551dvp31npl99fnsx2fb17wzwcf94")))) - (build-system cargo-build-system) - (home-page "https://gitlab.redox-os.org/redox-os/syscall") - (synopsis "Rust library to access raw Redox system calls") - (description "This package provides a Rust library to access raw Redox -system calls.") - (properties '((hidden? . #t))) - (license license:expat))) - (define-public rust-redox-users (package (name "rust-redox-users") @@ -8132,34 +8007,6 @@ system calls.") (license (list license:asl2.0 license:boost1.0)))) -(define-public rust-scoped-threadpool - (package - (name "rust-scoped-threadpool") - (version "0.1.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "scoped_threadpool" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1a26d3lk40s9mrf4imhbik7caahmw2jryhhb6vqv6fplbbgzal8x")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-lazy-static" ,rust-lazy-static)))) - (home-page "https://github.com/Kimundi/scoped-threadpool-rs") - (synopsis "library for scoped and cached threadpools") - (description - "This crate provides a stable, safe and scoped threadpool. It can be used -to execute a number of short-lived jobs in parallel without the need to respawn -the underlying threads. Jobs are runnable by borrowing the pool for a given -scope, during which an arbitrary number of them can be executed. These jobs can -access data of any lifetime outside of the pools scope, which allows working on -non-'static references in parallel.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-scroll (package (name "rust-scroll") @@ -9563,34 +9410,6 @@ function with proven statistical guarantees.") and handle Unicode characters correctly.") (license license:expat))) -(define-public rust-thread-id - (package - (name "rust-thread-id") - (version "3.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "thread-id" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc) - ("rust-redox-syscall" ,rust-redox-syscall) - ("rust-winapi" ,rust-winapi)))) - (home-page - "https://github.com/ruuda/thread-id") - (synopsis - "Get a unique ID for the current thread in Rust.") - (description - "Get a unique ID for the current thread in Rust.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-time (package (name "rust-time") -- cgit v1.2.3 From 77456aa56b3199ad076f3fa3de7bc1115dd0ae00 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 2 Sep 2019 09:29:10 -0500 Subject: gn: Add sniffles. * gn/packages/bioinformatics.scm (sniffles): New variable. --- gn/packages/bioinformatics.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index a219025..8b9bef3 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -7,6 +7,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system ant) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages bioinformatics) @@ -487,3 +488,43 @@ reads.") (files '("/etc/ssl/certs/ca-certificates.crt"))))) ;; Due to the precompiled binaries we download: (supported-systems '("x86_64-linux")))) + +;; TODO: Unbundle zlib, bamtools, tclap +(define-public sniffles + (package + (name "sniffles") + (version "1.0.11") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fritzsedlazeck/Sniffles.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0rkwqn1ycckfzrg2wdid4cqahq8q2jmmgi7vvl8qxgpsihqfbq0j")))) + (build-system cmake-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file (string-append "../source/bin/sniffles-core-" + ,version "/sniffles") + (string-append out "/bin"))) + #t)) + (replace 'check + (lambda _ + (with-directory-excursion "../source/test_set" + (for-each make-file-writable (find-files ".")) + (invoke (string-append "../bin/sniffles-core-" ,version "/sniffles") + "-m" "reads_region.bam" "-v" "test.vcf"))))))) + (native-inputs + `(("zlib" ,zlib))) + (home-page "https://github.com/fritzsedlazeck/Sniffles") + (synopsis "Structural variation caller using third generation sequencing") + (description + "Sniffles is a structural variation caller using third generation sequencing +(PacBio or Oxford Nanopore). It detects all types of SVs (10bp+) using evidence +from split-read alignments, high-mismatch regions, and coverage analysis.") + (license license:expat))) -- cgit v1.2.3 From 53045359b18e247789d90ed00d78c26aa989c389 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 3 Sep 2019 02:22:28 -0500 Subject: gn: Add ngmlr, svim. * gn/packages/bioinformatics.scm (ngmlr, svim): New variables. --- gn/packages/bioinformatics.scm | 81 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 8b9bef3..ad4db7b 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -9,6 +9,7 @@ #:use-module (guix build-system ant) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages bioinformatics) #:use-module (gnu packages boost) @@ -18,6 +19,7 @@ #:use-module (gnu packages maths) #:use-module (gnu packages perl) #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages statistics)) (define-public contra @@ -528,3 +530,82 @@ reads.") (PacBio or Oxford Nanopore). It detects all types of SVs (10bp+) using evidence from split-read alignments, high-mismatch regions, and coverage analysis.") (license license:expat))) + +;; TODO: Unbundle Complete-Striped-Smith-Waterman-Library +(define-public ngmlr + (package + (name "ngmlr") + (version "0.2.7") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/philres/ngmlr.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0lmsy8w0kxbyfnrln7lxgmnx3d82sv2b20n2yw5742rvfhq1v31n")))) + (build-system cmake-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'patch-source-shebangs 'patch-more-tools + (lambda* (#:key inputs #:allow-other-keys) + (let ((bed (assoc-ref inputs "bedtools")) + (sam (assoc-ref inputs "samtools"))) + (substitute* (find-files "test" "\\.sh$") + (("bedtools") (string-append bed "/bin/bedtools")) + (("samtools") (string-append sam "/bin/samtools"))) + #t))) + (replace 'check + (lambda _ + (with-directory-excursion "../source" + (invoke "sh" "test/test_travis.sh"))))))) + (native-inputs + `(("bedtools" ,bedtools) + ("samtools" ,samtools))) + (inputs + `(("zlib" ,zlib))) + (home-page "https://github.com/philres/ngmlr") + (synopsis "Long-read mapper designed to align PacBio or Oxford Nanopore") + (description + "NGMLR is a long-read mapper designed to align PacBio or Oxford Nanopore +(standard and ultra-long) to a reference genome with a focus on reads that span +structural variations.") + (license license:expat))) + +(define-public svim + (package + (name "svim") + (version "1.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eldariont/svim.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "08j02in9jbq41b67dna1apnc3y30i37v44d1khml1xlx0iga720s")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "python3" "-m" "unittest" "discover" "-s" "src/")))))) + (propagated-inputs + `(("python-matplotlib" ,python-matplotlib) + ("python-numpy" ,python-numpy) + ("python-pysam" ,python-pysam) + ("python-scipy" ,python-scipy) + ("minimap2" ,minimap2) + ("ngmlr" ,ngmlr) + ("samtools" ,samtools))) + (home-page "https://github.com/eldariont/svim") + (synopsis "Structural Variant Identification Method using Long Reads") + (description + "SVIM (pronounced SWIM) is a structural variant caller for long reads. It +is able to detect, classify and genotype five different classes of structural +variants. Unlike existing methods, SVIM integrates information from across the +genome to precisely distinguish similar events, such as tandem and interspersed +duplications and novel element insertions.") + (license license:gpl3))) -- cgit v1.2.3 From 4701720ad14ddd39c46ba90382e458cf9e3e3e38 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 3 Sep 2019 11:27:25 +0300 Subject: gn: Adjust to upstream crate changes. * gn/packages/crates-io.scm (rust-syn, rust-synstructure, rust-synstructure-0.10)[arguments]: Use rust-unicode-xid-0.1 in cargo-inputs. (rust-constant-time-eq): Remove variable. --- gn/packages/crates-io.scm | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index 50d2411..9aaf002 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -1357,26 +1357,6 @@ compile, issue warnings or otherwise produce compile-time output.") "This package provides a terminal and console abstraction for Rust") (license license:expat))) -(define-public rust-constant-time-eq - (package - (name "rust-constant-time-eq") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "constant_time_eq" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "083icpr9xb72rrdxw3p4068dcspn6ai22jy7rhl2a8grfz448nlr")))) - (build-system cargo-build-system) - (home-page "https://github.com/cesarb/constant_time_eq") - (synopsis" Compares two equal-sized byte strings in constant time") - (description - "This package compares two equal-sized byte strings in constant time. -It is inspired by the Linux kernel's crypto_memneq.") - (license license:cc0))) - (define-public rust-conv (package (name "rust-conv") @@ -9099,7 +9079,7 @@ function with proven statistical guarantees.") `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2) ("rust-quote" ,rust-quote) - ("rust-unicode-xid" ,rust-unicode-xid)) + ("rust-unicode-xid" ,rust-unicode-xid-0.1)) #:cargo-development-inputs (("rust-insta" ,rust-insta) ("rust-rayon" ,rust-rayon) @@ -9132,7 +9112,7 @@ function with proven statistical guarantees.") (("rust-proc-macro2" ,rust-proc-macro2) ("rust-quote" ,rust-quote) ("rust-syn" ,rust-syn) - ("rust-unicode-xid" ,rust-unicode-xid)) + ("rust-unicode-xid" ,rust-unicode-xid-0.1)) #:cargo-development-inputs (("rust-synstructure-test-traits" ,rust-synstructure-test-traits)))) @@ -9162,7 +9142,7 @@ function with proven statistical guarantees.") (("rust-proc-macro2" ,rust-proc-macro2) ("rust-quote" ,rust-quote) ("rust-syn" ,rust-syn) - ("rust-unicode-xid" ,rust-unicode-xid)) + ("rust-unicode-xid" ,rust-unicode-xid-0.1)) #:cargo-development-inputs (("rust-synstructure-test-traits" ,rust-synstructure-test-traits)))))) -- cgit v1.2.3 From bf30a28e423fc156e8cbd8553e306ae99f46618a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 3 Sep 2019 04:34:06 -0500 Subject: gn: Sparql-query upstreamed. * gn/packages/sparql-query.scm: Remove file. --- gn/packages/sparql-query.scm | 87 -------------------------------------------- 1 file changed, 87 deletions(-) delete mode 100644 gn/packages/sparql-query.scm (limited to 'gn') diff --git a/gn/packages/sparql-query.scm b/gn/packages/sparql-query.scm deleted file mode 100644 index dd6f553..0000000 --- a/gn/packages/sparql-query.scm +++ /dev/null @@ -1,87 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016 Roel Janssen -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see . - -(define-module (gn packages sparql-query) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix packages) - #:use-module (guix utils) - #:use-module (guix download) - #:use-module (guix build-system gnu) - #:use-module (gnu packages) - #:use-module (gnu packages compression) - #:use-module (gnu packages curl) - #:use-module (gnu packages glib) - #:use-module (gnu packages readline) - #:use-module (gnu packages ncurses) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages xml)) - -(define-public sparql-query - (package - (name "sparql-query") - (version "1.1") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/tialaramex/sparql-query/archive/" - version ".tar.gz")) - (sha256 - (base32 "0yq3k20472rv8npcc420q9ab6idy584g5y0q501d360k5q0ggr8w")) - (file-name (string-append name "-" version ".tar.gz")))) - (build-system gnu-build-system) - (inputs - `(("readline" ,readline) - ("ncurses" ,ncurses) - ("glib" ,glib) - ("libxml2" ,libxml2) - ("curl" ,curl))) - (native-inputs - `(("pkg-config" ,pkg-config))) - (arguments - `(#:tests? #t - #:make-flags '("CC=gcc") - #:phases - (modify-phases %standard-phases - (delete 'configure) - (add-after 'unpack 'remove-git-dependency - (lambda _ - (substitute* "Makefile" - (("^gitrev :=.*$") "gitrev = \"v1.0-3-gb015131\"")))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (install-file "sparql-query" bin) - (system* "ln" "--symbolic" - (string-append bin "/sparql-query") - (string-append bin "/sparql-update"))))) - (replace 'check - (lambda _ - (and - ;; The make-flags seem to get ignored here. - (zero? (system* "make" "CC=gcc" "scan-test")) - (zero? (system* "./scan-test")))))))) - (home-page "https://github.com/tialaramex/sparql-query/") - (synopsis "Command-line tool for accessing SPARQL endpoints over HTTP") - (description "sparql-query is a command-line tool for accessing SPARQL -endpoints over HTTP. It has been intentionally designed to 'feel' similar to -tools for interrogating SQL databases. For example, you can enter a query over -several lines, using a semi-colon at the end of a line to indicate the end of -your query. It also supports readline so that you can more easily recall and -edit previous queries, even across sessions. It can be used non-interactively, -for example from a shell script.") - (license license:gpl2+))) -- cgit v1.2.3