about summary refs log tree commit diff
path: root/gn
diff options
context:
space:
mode:
authorEfraim Flashner2023-03-22 14:49:00 +0200
committerEfraim Flashner2023-03-22 14:49:43 +0200
commita66e0cbedda4927d9546829e162d08d03bb667da (patch)
treebad45d0395aa47b79da06707f2bc67ca9f5c8e8e /gn
parentadd8bb0bdf3797704a30095ef21058b11778bc27 (diff)
downloadguix-bioinformatics-a66e0cbedda4927d9546829e162d08d03bb667da.tar.gz
bh20-seq-resource: Add version without profile collisions.
* gn/packages/bioinformatics.scm (bh20-seq-resource-for-service): New
variable.
* gn/services/bh20-seq-resource-container.scm
(covid19-pubseq-configuration): Use it by default.
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/bioinformatics.scm12
-rw-r--r--gn/services/bh20-seq-resource-container.scm2
2 files changed, 13 insertions, 1 deletions
diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm
index b94f537..0e6caf0 100644
--- a/gn/packages/bioinformatics.scm
+++ b/gn/packages/bioinformatics.scm
@@ -1852,6 +1852,18 @@ it to upload the genomes of SARS-CoV-2 samples to make them publicly and freely
 available to other researchers.")
       (license license:asl2.0))))
 
+;; This version has no profile collisions.
+(define-public bh20-seq-resource-for-service
+  (package
+    ;(inherit (fix-profile-collisions-for-bh20 bh20-seq-resource))
+    (inherit
+      ((package-input-rewriting/spec
+        `(("python-google-api-core" . ,(const python-google-api-core-1))
+          ("python-google-auth" . ,(const python-google-auth-1))
+          ("python-pyparsing" . ,(const python-pyparsing-2.4.7))))
+       bh20-seq-resource))
+    (properties `((hidden? . #t)))))
+
 (define-public python-scanpy-git
   (let ((commit "590d42309f9ed6550d7b887039990edfc1ac7648") ; April 22, 2020
         (revision "1"))
diff --git a/gn/services/bh20-seq-resource-container.scm b/gn/services/bh20-seq-resource-container.scm
index cb77cdb..9eae2fc 100644
--- a/gn/services/bh20-seq-resource-container.scm
+++ b/gn/services/bh20-seq-resource-container.scm
@@ -14,7 +14,7 @@
   make-covid19-pubseq-configuration
   covid19-pubseq-configuration?
   (package          covid19-pubseq-configuration-package    ; package
-                    (default bh20-seq-resource))
+                    (default bh20-seq-resource-for-service))
   (deploy-directory covid19-pubseq-deploy-directory         ; string
                     (default "/srv/http"))
   (port             covid19-pubseq-configuration-port       ; string