about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPjotr Prins2021-05-12 19:40:05 +0000
committerPjotr Prins2021-05-12 19:40:05 +0000
commit3b5b8fa48f2231e723909298bdf7f91dbee6a213 (patch)
treeea13a860160410920919ba4b5d5df7d459bbc0a4
parente45cc234ac38ca46bbf63d34a04114d037620c12 (diff)
downloadguix-bioinformatics-3b5b8fa48f2231e723909298bdf7f91dbee6a213.tar.gz
Made python3-genenetwork2 the default!
-rw-r--r--gn/packages/genenetwork.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index 3e94fa0..78e2893 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -253,10 +253,10 @@ implemented, light on server resource usage, and fairly speedy.")
 Graphical Fragment Assembly} files and related formats.")
     (license license:expat)))
 
-(define-public genenetwork2
+(define-public python2-genenetwork2
   (let ((commit "1538ffd33af19e6ac922b4ee85fe701408968dfd"))
   (package
-    (name "genenetwork2")
+    (name "python2-genenetwork2")
     (version (string-append "2.11-guix-" (string-take commit 7) ))
     (source (origin
              (method git-fetch)
@@ -454,11 +454,11 @@ Graphical Fragment Assembly} files and related formats.")
       (description "GeneNetwork3 API for data science and machine learning.")
       (license license:agpl3+))))
 
-(define-public python3-genenetwork2
+(define-public genenetwork2
   (let ((commit "84cbf35adbb15c79638372d108308edb05f12683"))
     (package
-      (inherit genenetwork2)
-      (name "python3-genenetwork2")
+      (inherit python2-genenetwork2)
+      (name "genenetwork2")
       (version (string-append "3.11-guix-" (string-take commit 7) ))
       (source (origin
                 (method git-fetch)
@@ -472,7 +472,7 @@ Graphical Fragment Assembly} files and related formats.")
       (native-inputs
        `(("graphviz" ,graphviz)))
       (propagated-inputs
-       (let ((inputs (package-propagated-inputs genenetwork2)))
+       (let ((inputs (package-propagated-inputs python2-genenetwork2)))
          `(,@(fold
               alist-delete inputs
               (map car
@@ -520,7 +520,7 @@ Graphical Fragment Assembly} files and related formats.")
            ("python-xlsxwriter" ,python-xlsxwriter))))
       (arguments
        (let ((python (specification->package "python-wrapper"))
-             (args (package-arguments genenetwork2)))
+             (args (package-arguments python2-genenetwork2)))
          (substitute-keyword-arguments args
            ((#:python _) python)
            ((#:phases phases)