From 744c4396f6cf80d29acf99bdf685c03b0126fe45 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 9 Dec 2021 16:39:26 +0530 Subject: 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). --- guix.scm | 38 ++------------------------------------ 1 file changed, 2 insertions(+), 36 deletions(-) (limited to 'guix.scm') 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)))) -- cgit v1.2.3