about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2021-12-09 16:39:26 +0530
committerArun Isaac2021-12-09 16:39:26 +0530
commit744c4396f6cf80d29acf99bdf685c03b0126fe45 (patch)
tree4360cdbe88cb5d4ac8093f663e7d408287204097
parentc5f78421c50dc7c9e4801ad7bf9583674c29e1ba (diff)
downloadgenenetwork3-744c4396f6cf80d29acf99bdf685c03b0126fe45.tar.gz
guix.scm: Inherit from (gn packages genenetwork).
We base this off the genenetwork3 package defined in (gn packages
genenetwork). That way, we don't have to duplicate the package definition in
multiple places.

* guix.scm (genenetwork3): Inherit from genenetwork3 package definition in (gn
packages genenetwork).
-rw-r--r--guix.scm38
1 files changed, 2 insertions, 36 deletions
diff --git a/guix.scm b/guix.scm
index e2e49ab..943c80e 100644
--- a/guix.scm
+++ b/guix.scm
@@ -52,42 +52,8 @@
 
 (define %source-dir (dirname (current-filename)))
 
-
 (package
-  (name "genenetwork3.git")
-  (version "0.1.0")
+  (inherit genenetwork3)
   (source (local-file %source-dir "genenetwork3-checkout"
                       #:recursive? #t
-                      #:select? (git-predicate %source-dir)))
-  (propagated-inputs `(("coreutils" ,coreutils)
-                       ("gemma-wrapper" ,gemma-wrapper)
-                       ("gunicorn" ,gunicorn)
-                       ("python" ,python-wrapper)
-                       ("python-bcrypt" ,python-bcrypt)
-                       ("python-flask" ,python-flask)
-                       ("python-flask-cors" ,python-flask-cors)
-                       ("python-flask-socketio" ,python-flask-socketio)
-                       ("python-ipfshttpclient" ,python-ipfshttpclient)
-                       ("python-mypy" ,python-mypy)
-                       ("python-mypy-extensions" ,python-mypy-extensions)
-                       ("python-mysqlclient" ,python-mysqlclient)
-                       ("python-numpy" ,python-numpy)
-                       ("python-pandas" ,python-pandas)
-                       ("python-pingouin" ,python-pingouin)
-                       ("python-plotly" ,python-plotly)
-                       ("python-pylint" ,python-pylint)
-                       ("python-redis" ,python-redis)
-                       ("python-requests" ,python-requests)
-                       ("python-scipy" ,python-scipy)
-                       ("python-sparqlwrapper" ,python-sparqlwrapper)
-                       ("r-optparse" ,r-optparse)
-                       ("r-qtl" ,r-qtl)
-                       ("r-rjson" ,r-rjson)
-                       ("r-stringi" ,r-stringi)
-                       ("r-wgcna" ,r-wgcna)
-                       ("rust-qtlreaper" ,rust-qtlreaper)))
-  (build-system python-build-system)
-  (home-page "https://github.com/genenetwork/genenetwork3")
-  (synopsis "GeneNetwork3 API for data science and machine learning.")
-  (description "GeneNetwork3 API for data science and machine learning.")
-  (license agpl3+))
+                      #:select? (git-predicate %source-dir))))