about summary refs log tree commit diff
path: root/guix.scm
blob: c5067d4748248e82937d8c77fd7562573d5505a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
;; To build HEAD of genenetwork4:
;;
;;   guix build -L <path-to-guix-bioinformatics> -f guix.scm
;; To get a development shell with all build dependencies available
;; (e.g., run in emacs shell); see README.md for why -C is not used here:
;;   guix shell -L <path-to-guix-bioinformatics> -D -f guix.scm
;;
;; The -L is for (gn packages gemma) (gemma-wrapper, for POST
;; /compute/gemma): same requirement genenetwork3's own guix.scm has for
;; (gn packages genenetwork), and the same fix -- either pass -L pointing
;; at a guix-bioinformatics checkout, or have that channel pulled
;; (`guix describe` should then list it). Without either, module
;; resolution fails before this file's own code runs.

;; Make the sibling rust-package.scm findable regardless of whether -L .
;; was passed on the command line.
(add-to-load-path (dirname (current-filename)))

(use-modules
  ((guix licenses) #:prefix license:)
  (guix gexp)
  (guix packages)
  (guix download)          ; url-fetch, for the pinned xapian-1.4 source
  (guix build-system cargo)
  (gnu packages llvm)      ; clang-13: libclang for autocxx codegen
  (gnu packages databases) ; lmdb: embedded key/value store
  (gnu packages duckdb)    ; duckdb: embedded analytical store
  (gnu packages sqlite)    ; sqlite: embedded relational store
  (gnu packages pkg-config)
  (gnu packages python)
  (gnu packages search)     ; xapian: the native engine links it (pinned
                            ; to 1.4.x below, see xapian-1.4)
  (gnu packages maths)      ; gsl: p-values in the correlation engine (rgsl)
  (gnu packages statistics) ; r: POST /compute/rqtl
  (gnu packages cran)       ; r-qtl, r-optparse, r-stringi, r-stringr: ditto
  (gnu packages version-control)
  (gn packages gemma)       ; gemma-wrapper: POST /compute/gemma
  (rust-package))

(define %source-dir (dirname (current-filename)))

;; The xapian-rs git dependency Cargo.toml pins was written against
;; Xapian 1.4: it generates bindings for `Xapian::InMemory::open`, which
;; Xapian 2.0 removed (xapian/dbfactory.h no longer declares it; the 2.x
;; spelling is the `Xapian::DB_BACKEND_INMEMORY` flag), and autocxx then
;; aborts with "the 'generate' or 'generate_pod' directive for
;; 'Xapian::InMemory::open' did not result in any code being generated".
;; 1.4's headers are also C++11-era, while 2.x's need C++17 and autocxx
;; hands the parser a fixed `-std=c++14` (see the clang-13 note under
;; native-inputs).  Guix's own `xapian` has moved on to 2.1.0, so pin the
;; last 1.4 release here instead of tracking it; drop this pin once
;; xapian-rs targets Xapian 2.
(define xapian-1.4
  (package
    (inherit xapian)
    (version "1.4.29")
    (source (origin
              (method url-fetch)
              (uri (string-append "https://oligarchy.co.uk/xapian/"
                                  version "/xapian-core-" version ".tar.xz"))
              (sha256
               (base32
                "1g11wps45rgh7a7z0zmsvk6vg2i1ih4cmbwf44nfrlrsc749np65"))))
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; 1.4.29's plain `make check' covers the full backend
               ;; matrix, including backends this build is not about;
               ;; the same four targets 1.4's own definition ran.
               (replace 'check
                 (lambda _
                   (invoke "make" "check-inmemory" "check-remoteprog"
                           "check-multi" "check-glass" "check-chert"))))))))

(define-public genenetwork4-git
  (package
    (name "genenetwork4-git")
    (version "0.1.0")
    (source (local-file %source-dir #:recursive? #t
                         #:select? (lambda (file stat)
                                     (not (string-contains file "/target/")))))
    (build-system cargo-build-system)
    ;; The xapian-rs git dependency (the native search engine's
    ;; bindings) needs the vendored-graph build to deviate from the
    ;; stock registry flow in four coordinated ways, all verified
    ;; offline end-to-end first (lock + vendor dir + replacement
    ;; stanza + real package checksums = cargo build --offline EXIT 0):
    ;;
    ;; 1. A source-replacement stanza mapping the git source onto the
    ;;    vendored directory -- exactly what `cargo vendor` emits.
    ;; 2. The committed Cargo.lock restored after configure deleted it:
    ;;    cargo refuses to resolve a git dependency against vendored
    ;;    sources without a lock file ("requires a lock file to be
    ;;    present first"), so the stock delete-then-resolve flow cannot
    ;;    work for a git dep.
    ;; 3. Real `package` checksums in every vendored registry crate's
    ;;    .cargo-checksum.json (read back out of the restored lock),
    ;;    replacing the stock {"files":{}} stub, which cannot verify
    ;;    what the lock records ("unable to verify that <crate> is the
    ;;    same as when the lockfile was generated"). The per-`files` map
    ;;    stays empty (no per-file verification), the same trust model
    ;;    the stock stub had.
    ;; 4. A {"files":{}} stub in the vendored git checkout (git
    ;;    packages carry no checksum in the lock).
    ;;
    ;; The phase replaces patch-cargo-checksums wholesale, running in
    ;; its slot (after patch-generated-file-shebangs, before build).
    (arguments
     (list #:install-source? #f
           #:phases
           #~(modify-phases %standard-phases
               ;; libduckdb-sys links a system libduckdb found through
               ;; DUCKDB_LIB_DIR (there is no duckdb.pc); without this it
               ;; falls back to a link-library request with no search path.
               (add-after 'configure 'set-duckdb-paths
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((duckdb (assoc-ref inputs "duckdb"))
                         (clang13 (assoc-ref inputs "clang")))
                     (setenv "DUCKDB_LIB_DIR" (string-append duckdb "/lib"))
                     (setenv "DUCKDB_INCLUDE_DIR"
                             (string-append duckdb "/include"))
                     ;; autocxx-bindgen picks libclang up from
                     ;; LIBCLANG_PATH; without this it finds clang 22's,
                     ;; whose Xapian parse breaks the xapian-rs build.
                     (setenv "LIBCLANG_PATH"
                             (string-append clang13 "/lib")))))
               (replace 'patch-cargo-checksums
                 (lambda* (#:key source #:allow-other-keys)
                   (let* ((rev "70c5eace78dbca29c434cb103cb8b2c5d4246f0d")
                          (git-url "https://github.com/Alexanderlacuna/xapian-rs")
                          (vendor-dir "guix-vendor")
                          (port (open-file ".cargo/config" "a"
                                           #:encoding "utf-8")))
                     (format port "
[source.\"git+~a?rev=~a\"]
git = \"~a\"
rev = \"~a\"
replace-with = 'vendored-sources'
"
                             git-url rev git-url rev)
                     (close-port port)
                     ;; Restore the lock the configure phase deleted.
                     (copy-file (string-append source "/Cargo.lock")
                                "Cargo.lock")
                     ;; Real package checksums for the vendored registry
                     ;; crates, read straight out of that lock: each
                     ;; vendor directory is named after its lock entry
                     ;; (rust-<name>-<version>.tar.gz, both generated
                     ;; from the same lock by `guix import crate`), so
                     ;; the checksum line carries everything needed.
                     ;; The JSON quotes are built via %c so the awk
                     ;; program needs no escaped literals.
                     (invoke "gawk"
                             "/^name = / { name = $0; sub(/^[^\"]*\"/, \"\", name); sub(/\".*$/, \"\", name); name = tolower(name); gsub(/_/, \"-\", name) }\n/^version = / { ver = $0; sub(/^[^\"]*\"/, \"\", ver); sub(/\".*$/, \"\", ver) }\n/^checksum = / { chk = $0; sub(/^[^\"]*\"/, \"\", chk); sub(/\".*$/, \"\", chk);\n  q = sprintf(\"%c\", 34);\n  file = \"guix-vendor/rust-\" name \"-\" ver \".tar.gz/.cargo-checksum.json\";\n  print \"{\" q \"files\" q \":{},\" q \"package\" q \":\" q chk q \"}\" > file }"
                             "Cargo.lock")
                     ;; The git checkouts carry no checksum in the lock;
                     ;; stub each (empty files map = no per-file
                     ;; verification, the same trust level as above).
                     (for-each
                      (lambda (pattern)
                        (let ((dir (car (find-files vendor-dir pattern
                                                    #:directories? #t))))
                          (call-with-output-file
                              (string-append dir "/.cargo-checksum.json")
                            (lambda (port)
                              (display "{\"files\":{}}" port)))))
                      (list "^rust-xapian-rs" "^rust-correlation_rust")))))

               ;; The correlation engine is a second git dependency, so it
               ;; needs its own source-replacement stanza: cargo resolves a
               ;; git source by the exact id in Cargo.lock.
               (add-after 'patch-cargo-checksums 'vendor-correlation-crate
                 (lambda* (#:key source #:allow-other-keys)
                   (let* ((rev "12c2a37c3ef3a09f1ab0c5ea69b31b433b15f9f6")
                          (git-url "https://git.genenetwork.org/correlation_rust")
                          (port (open-file ".cargo/config" "a"
                                           #:encoding "utf-8")))
                     (format port "
[source.\"git+~a?rev=~a\"]
git = \"~a\"
rev = \"~a\"
replace-with = 'vendored-sources'
"
                             git-url rev git-url rev)
                     (close-port port))))
               ;; The install phase must pass --locked: `cargo install'
               ;; re-resolves the dependency graph and, for a
               ;; source-replaced GIT dependency, refuses to trust the
               ;; in-tree Cargo.lock without it ("requires a lock file to
               ;; be present first before it can be used against
               ;; vendored source code" — guix attempt 5, install phase,
               ;; drv 7s1h7nrj; build/check are unaffected because plain
               ;; `cargo build/test' consumes the lock as-is). Proven on
               ;; a minimal offline repro (vendored git dep + clean
               ;; CARGO_HOME): install fails byte-identically without
               ;; --locked and succeeds with it. Everything else mirrors
               ;; the stock install phase for a bin-only crate with
               ;; #:install-source? #f.
               (replace 'install
                 (lambda* (#:key outputs #:allow-other-keys)
                   (let ((out (assoc-ref outputs "out")))
                     (mkdir-p out)
                     (setenv "CARGO_TARGET_DIR" "./target")
                     (invoke "cargo" "install" "--offline" "--locked"
                             "--no-track" "--path" "." "--root" out))))
               ;; tests/*.rs (Rust) and test/python/test_*.py mirror each
               ;; other endpoint for endpoint; the Python side exercises the
               ;; REST API over real HTTP since Python can only reach the
               ;; server that way (clients of the REST API are not all Rust).
               (add-after 'install 'python-rest-test
                 (lambda* (#:key inputs outputs #:allow-other-keys)
                   (let ((out (assoc-ref outputs "out"))
                         (python (assoc-ref inputs "python")))
                     (setenv "GENENETWORK4_BINARY"
                             (string-append out "/bin/genenetwork4"))
                     (setenv "GENENETWORK4_PORT" "3737")
                     (with-directory-excursion "test/python"
                       (invoke (string-append python "/bin/python3")
                               "-m" "unittest" "discover" "-v"))))))))
    ;; xapian is a link (not just build) dependency now: the vendored
    ;; xapian-rs build script locates it through pkg-config and the
    ;; resulting bridge links libxapian into genenetwork4 itself.  Pinned
    ;; to 1.4.x -- see xapian-1.4 above for why 2.x breaks the build.
    (inputs
     (list xapian-1.4
           ;; Embedded stores: linked via pkg-config / DUCKDB_LIB_DIR.
           duckdb
           lmdb
           sqlite))
    ;; gemma-wrapper and r (plus r-qtl/r-optparse/r-stringi/r-stringr for
    ;; scripts/rqtl_wrapper.R, r-stringr/... and r-qtl2 for
    ;; scripts/qtl2_scan.R) are invoked as subprocesses
    ;; (src/gemma.rs, src/rqtl.rs), not linked, so they go in
    ;; propagated-inputs rather than inputs: the same category
    ;; genenetwork3 and GN2's own guix packages use for gemma-wrapper,
    ;; so they also land in the profile of anyone installing this
    ;; package, not just in this build's check-phase environment.
    ;; gemma-wrapper hard-wires its own gemma binary at build time
    ;; (gemma-gn2, from (gn packages gemma)), so no separate gemma input
    ;; is needed here.
    (propagated-inputs
     (list gemma-wrapper
           r
           r-qtl
           ;; r-qtl2 reads the multiparent crosses (DO, CC) that R/qtl
           ;; cannot: scripts/qtl2_scan.R, POST /compute/qtl2.
           r-qtl2
           r-optparse
           r-stringi
           r-stringr
           ;; the qtl2 cross cache keys on a content hash
           r-digest
           ;; qtl2's control files are JSON
           r-jsonlite))
    (native-inputs
     (list git-minimal
           python
           ;; The correlation engine computes p-values through rgsl, and
           ;; gsl-sys finds GSL with pkg-config at build time.
           gsl
           ;; autocxx-bindgen must use libclang 13, not 22: clang 22
           ;; mis-parses Xapian 1.4.29 and the generated C++
           ;; instantiates the abstract Xapian::Weight (and emits a
           ;; bogus ::op).  See set-duckdb-paths.  (clang-13's package
           ;; name is "clang", so it carries the "clang" label.)
           clang-13
           pkg-config
           rust-adler2-2.0.1
           rust-aho-corasick-1.1.5
           rust-atomic-waker-1.1.2
           rust-autocfg-1.5.1
           rust-axum-0.8.9
           rust-axum-core-0.5.6
           rust-base64-0.22.1
           rust-base64-0.23.1
           rust-bitflags-2.13.2
           rust-block-buffer-0.10.4
           rust-btoi-0.4.3
           rust-bufstream-0.1.4
           rust-bumpalo-3.20.3
           rust-byteorder-1.5.0
           rust-bytes-1.12.1
           rust-cc-1.6.0
           rust-cfg-aliases-0.2.2
           rust-cfg-if-1.0.5
           rust-cookie-0.18.2
           rust-cookie-store-0.22.0
           rust-cpufeatures-0.2.17
           rust-chacha20-0.10.2
           rust-cpufeatures-0.3.1
           rust-crc32fast-1.5.2
           rust-crossbeam-queue-0.3.14
           rust-crossbeam-utils-0.8.23
           rust-crypto-common-0.1.7
           rust-darling-0.20.11
           rust-darling-core-0.20.11
           rust-darling-macro-0.20.11
           rust-deranged-0.5.8
           rust-derive-utils-0.16.0
           rust-digest-0.10.7
           rust-displaydoc-0.2.7
           rust-document-features-0.2.12
           rust-equivalent-1.0.2
           rust-find-msvc-tools-0.1.14
           rust-flate2-1.1.10
           rust-fnv-1.0.7
           rust-form-urlencoded-1.2.2
           rust-futures-channel-0.3.34
           rust-futures-core-0.3.34
           rust-futures-task-0.3.34
           rust-futures-util-0.3.34
           rust-generic-array-0.14.7
           rust-getrandom-0.2.17
           rust-getrandom-0.3.4
           rust-getrandom-0.4.3
           rust-hashbrown-0.17.1
           rust-heck-0.5.0
           rust-http-1.5.0
           rust-http-body-1.1.0
           rust-http-body-util-0.1.5
           rust-httparse-1.10.1
           rust-httpdate-1.0.3
           rust-hyper-1.11.1
           rust-hyper-util-0.1.21
           rust-hyper-rustls-0.27.10
           rust-icu-collections-2.1.1
           rust-icu-locale-core-2.1.1
           rust-icu-normalizer-2.1.1
           rust-icu-normalizer-data-2.1.1
           rust-icu-properties-2.1.2
           rust-icu-properties-data-2.1.2
           rust-icu-provider-2.1.1
           rust-ident-case-1.0.1
           rust-idna-1.1.0
           rust-idna-adapter-1.2.1
           rust-indexmap-2.14.2
           rust-io-enum-1.3.0
           rust-ipnet-2.12.2
           rust-itoa-1.0.18
           rust-js-sys-0.3.106
           rust-jsonwebtoken-9.3.1
           rust-libc-0.2.190
           rust-litemap-0.8.3
           rust-litrs-1.0.0
           rust-log-0.4.34
           rust-lru-0.12.5
           rust-lru-slab-0.1.3
           rust-matchit-0.8.4
           rust-memchr-2.8.3
           rust-mime-0.3.17
           rust-miniz-oxide-0.9.1
           rust-mio-1.2.4
           rust-mysql-26.0.1
           rust-mysql-common-0.35.5
           rust-mysql-common-derive-0.32.1
           rust-named-pipe-0.4.1
           rust-num-bigint-0.4.8
           rust-num-conv-0.1.0
           rust-num-integer-0.1.47
           rust-num-traits-0.2.19
           rust-once-cell-1.21.4
           rust-paste-1.0.15
           rust-pem-3.0.6
           rust-percent-encoding-2.3.2
           rust-pin-project-lite-0.2.17
           rust-potential-utf-0.1.6
           rust-powerfmt-0.2.0
           rust-proc-macro-crate-3.5.0
           rust-proc-macro-error-attr2-2.0.0
           rust-proc-macro-error2-2.0.1
           rust-proc-macro2-1.0.107
           rust-quinn-0.11.12
           rust-quinn-proto-0.11.19
           rust-quinn-udp-0.5.16
           rust-quote-1.0.47
           rust-r-efi-5.3.0
           rust-r-efi-6.0.0
           rust-regex-1.13.1
           rust-rand-0.10.3
           rust-rand-core-0.10.1
           rust-rand-pcg-0.10.2
           rust-regex-automata-0.4.18
           rust-regex-syntax-0.8.11
           rust-ring-0.17.14
           rust-reqwest-0.12.28
           rust-rustc-hash-2.1.3
           rust-rustls-0.23.45
           rust-rustls-pki-types-1.15.1
           rust-rustls-webpki-0.103.15
           rust-rustversion-1.0.23
           rust-ryu-1.0.23
           rust-saturating-0.1.0
           rust-serde-1.0.229
           rust-serde-core-1.0.229
           rust-serde-derive-1.0.229
           rust-serde-json-1.0.151
           rust-serde-path-to-error-0.1.20
           rust-serde-urlencoded-0.7.1
           rust-sha1-0.10.7
           rust-sha2-0.10.9
           rust-shlex-2.0.1
           rust-simd-adler32-0.3.10
           rust-simple-asn1-0.6.3
           rust-slab-0.4.12
           rust-smallvec-1.16.2
           rust-socket2-0.5.10
           rust-socket2-0.6.5
           rust-stable-deref-trait-1.2.1
           rust-strsim-0.11.1
           rust-subtle-2.6.1
           rust-syn-2.0.119
           rust-syn-3.0.6
           rust-sync-wrapper-1.0.2
           rust-synstructure-0.14.0
           rust-termcolor-1.4.1
           rust-thiserror-2.0.21
           rust-thiserror-impl-2.0.21
           rust-time-0.3.45
           rust-time-core-0.1.7
           rust-time-macros-0.2.25
           rust-tinystr-0.8.4
           rust-tinyvec-1.13.3
           rust-tokio-1.53.2
           rust-tokio-macros-2.7.2
           rust-toml-datetime-1.1.1+spec-1.1.0
           rust-toml-edit-0.25.15+spec-1.1.0
           rust-toml-parser-1.1.3+spec-1.1.0
           rust-tokio-rustls-0.26.6
           rust-tower-0.5.3
           rust-tower-http-0.7.1
           rust-tower-http-0.6.11
           rust-tower-layer-0.3.3
           rust-tower-service-0.3.3
           rust-tracing-0.1.44
           rust-tracing-core-0.1.36
           rust-try-lock-0.2.5
           rust-twox-hash-2.1.4
           rust-typenum-1.20.1
           rust-unicode-ident-1.0.26
           rust-untrusted-0.9.0
           rust-ureq-3.4.2
           rust-ureq-proto-0.6.4
           rust-url-2.5.8
           rust-utf8-iter-1.0.4
           rust-utf8-zero-0.8.1
           rust-utoipa-5.5.0
           rust-utoipa-axum-0.2.0
           rust-utoipa-gen-5.5.0
           rust-uuid-1.26.1
           rust-version-check-0.9.5
           rust-wasi-0.11.1+wasi-snapshot-preview1
           rust-wasip2-1.0.1+wasi-0.2.4
           rust-want-0.3.1
           rust-wasm-bindgen-0.2.129
           rust-wasm-bindgen-macro-0.2.129
           rust-wasm-bindgen-futures-0.4.79
           rust-wasm-bindgen-macro-support-0.2.129
           rust-wasm-bindgen-shared-0.2.129
           rust-web-sys-0.3.106
           rust-web-time-1.1.0
           rust-webpki-roots-1.0.9
           rust-winapi-0.3.9
           rust-winapi-i686-pc-windows-gnu-0.4.0
           rust-winapi-util-0.1.11
           rust-winapi-x86-64-pc-windows-gnu-0.4.0
           rust-windows-aarch64-gnullvm-0.52.6
           rust-windows-aarch64-msvc-0.52.6
           rust-windows-i686-gnu-0.52.6
           rust-windows-i686-gnullvm-0.52.6
           rust-windows-i686-msvc-0.52.6
           rust-windows-link-0.2.1
           rust-windows-sys-0.52.0
           rust-windows-sys-0.61.2
           rust-windows-targets-0.52.6
           rust-windows-x86-64-gnu-0.52.6
           rust-windows-x86-64-gnullvm-0.52.6
           rust-windows-x86-64-msvc-0.52.6
           rust-winnow-1.0.4
           rust-wit-bindgen-0.46.0
           rust-writeable-0.6.4
           rust-yoke-0.8.3
           rust-yoke-derive-0.8.4
           rust-zerofrom-0.1.8
           rust-zerofrom-derive-0.1.8
           rust-zeroize-1.9.0
           rust-zerotrie-0.2.5
           rust-zerovec-0.11.8
           rust-zerovec-derive-0.11.6
           rust-zlib-rs-0.6.8
           rust-zmij-1.0.23
           ;; The xapian-rs git dependency and its 65-crate closure,
           ;; added by the native-search port (regenerated lock):
           ;; rust-xapian-rs-0.3.0.70c5eac is the fork's git origin.
           rust-addr2line-0.25.1
           rust-aquamarine-0.1.12
           rust-atty-0.2.14
           rust-autocxx-0.27.0
           rust-autocxx-bindgen-0.71.1
           rust-autocxx-build-0.27.1
           rust-autocxx-engine-0.27.1
           rust-autocxx-macro-0.27.1
           rust-autocxx-parser-0.27.1
           rust-backtrace-0.3.76
           rust-backtrace-ext-0.2.1
           rust-cexpr-0.6.0
           rust-clang-sys-1.9.1
           rust-codespan-reporting-0.11.1
           rust-cxx-1.0.122
           rust-cxxbridge-flags-1.0.122
           rust-cxxbridge-macro-1.0.122
           rust-cxx-gen-0.7.124
           rust-either-1.19.0
           rust-env-logger-0.9.3
           rust-errno-0.3.14
           rust-fastrand-2.5.0
           rust-gimli-0.32.3
           rust-glob-0.3.4
           rust-hashbrown-0.12.3
           rust-hermit-abi-0.1.19
           rust-hermit-abi-0.5.3
           rust-humantime-2.4.0
           rust-indexmap-1.9.3
           rust-indoc-1.0.9
           rust-is-ci-1.2.0
           rust-is-terminal-0.4.17
           rust-itertools-0.10.5
           rust-itertools-0.13.0
           rust-itertools-0.9.0
           rust-libloading-0.8.9
           rust-link-cplusplus-1.0.12
           rust-linux-raw-sys-0.12.1
           rust-miette-5.10.0
           rust-miette-derive-5.10.0
           rust-minimal-lexical-0.2.1
           rust-miniz-oxide-0.8.9
           rust-moveit-0.6.0
           rust-nom-7.1.3
           rust-object-0.37.3
           rust-owo-colors-3.5.0
           rust-prettyplease-0.2.37
           rust-proc-macro-error-1.0.4
           rust-proc-macro-error-attr-1.0.4
           rust-rustc-demangle-0.1.28
           rust-rustix-1.1.5
           rust-shlex-1.3.0
           rust-signal-hook-registry-1.4.8
           rust-smawk-0.3.3
           rust-supports-color-2.1.0
           rust-supports-hyperlinks-2.1.0
           rust-supports-unicode-2.1.0
           rust-syn-1.0.109
           rust-tempfile-3.27.0
           rust-terminal-size-0.1.17
           rust-textwrap-0.15.2
           rust-thiserror-1.0.69
           rust-thiserror-impl-1.0.69
           rust-unicode-linebreak-0.1.5
           rust-unicode-width-0.1.14
           rust-xapian-rs-0.3.0.70c5eac
           ;; The correlation engine's git dependency, for
           ;; /compute/correlation: rust-correlation_rust-0.1.0.12c2a37 is
           ;; its git origin (vendored the same way as xapian-rs).
           rust-correlation_rust-0.1.0.12c2a37
           ;; and the three crates it pulls in (the p-values come from GSL):
           rust-gsl-6.0.0
           rust-gsl-sys-3.0.0
           rust-assert-approx-eq-1.1.0
           ;; Added for the embedded stores (LMDB, DuckDB, SQLite):
           rust-ahash-0.8.12
           rust-android-system-properties-0.1.6
           rust-arbitrary-1.5.0
           rust-arrow-58.4.0
           rust-arrow-arith-58.4.0
           rust-arrow-array-58.4.0
           rust-arrow-buffer-58.4.0
           rust-arrow-cast-58.4.0
           rust-arrow-data-58.4.0
           rust-arrow-ord-58.4.0
           rust-arrow-row-58.4.0
           rust-arrow-schema-58.4.0
           rust-arrow-select-58.4.0
           rust-arrow-string-58.4.0
           rust-atoi-2.0.0
           rust-bitflags-1.3.2
           rust-cast-0.3.0
           rust-chrono-0.4.45
           rust-comfy-table-7.1.4
           rust-const-random-0.1.18
           rust-const-random-macro-0.1.16
           rust-core-foundation-sys-0.8.7
           rust-crossterm-0.28.1
           rust-crossterm-winapi-0.9.1
           rust-crunchy-0.2.4
           rust-derive-arbitrary-1.5.0
           rust-duckdb-1.10506.0
           rust-fallible-iterator-0.3.0
           rust-fallible-streaming-iterator-0.1.9
           rust-filetime-0.2.29
           rust-foldhash-0.1.5
           rust-foldhash-0.2.0
           rust-half-2.7.1
           rust-hashbrown-0.15.5
           rust-hashbrown-0.16.1
           rust-hashlink-0.10.0
           rust-hashlink-0.12.2
           rust-iana-time-zone-0.1.65
           rust-iana-time-zone-haiku-0.1.2
           rust-lexical-core-1.0.6
           rust-lexical-parse-float-1.0.6
           rust-lexical-parse-integer-1.0.6
           rust-lexical-util-1.0.7
           rust-lexical-write-float-1.0.6
           rust-lexical-write-integer-1.0.6
           rust-libduckdb-sys-1.10506.0
           rust-libm-0.2.16
           rust-libsqlite3-sys-0.38.2
           rust-linux-raw-sys-0.4.15
           rust-lmdb-0.8.0
           rust-lmdb-sys-0.8.0
           rust-lock-api-0.4.14
           rust-num-complex-0.4.6
           rust-parking-lot-0.12.5
           rust-parking-lot-core-0.9.12
           rust-pkg-config-0.3.34
           rust-redox-syscall-0.5.18
           rust-rsqlite-vfs-0.1.1
           rust-rusqlite-0.40.2
           rust-rustix-0.38.44
           rust-scopeguard-1.2.0
           rust-sqlite-wasm-rs-0.5.5
           rust-strum-0.27.2
           rust-strum-macros-0.27.2
           rust-tar-0.4.46
           rust-tiny-keccak-2.0.2
           rust-unicode-segmentation-1.13.3
           rust-unicode-width-0.2.2
           rust-vcpkg-0.2.15
           rust-windows-core-0.62.2
           rust-windows-implement-0.60.2
           rust-windows-interface-0.59.3
           rust-windows-result-0.4.1
           rust-windows-strings-0.5.1
           rust-xattr-1.6.1
           rust-zerocopy-0.8.62
           rust-zerocopy-derive-0.8.62
           rust-zip-6.0.0
           rust-zopfli-0.8.3))
    (home-page "https://github.com/genenetwork/genenetwork4")
    (synopsis "GeneNetwork API server")
    (description "Genenetwork4 is a Rust/Axum-based API server for
GeneNetwork.")
    (license license:agpl3+)))

genenetwork4-git