aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/genenetwork.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index e268696..6e0c540 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -11,6 +11,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
+ #:use-module (guix build-system pyproject)
#:use-module (guix graph)
#:use-module (guix scripts graph)
#:use-module (guix store)
@@ -533,6 +534,44 @@
(description "Authentication and Authorisation server for GeneNetwork services.")
(license license:agpl3+))))
+
+(define-public gn-libs
+ (let ((commit "eb99148991a5869cf10c241aeff6c47708986a3a")
+ (revision "01"))
+ (package
+ (name "gn-libs")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.genenetwork.org/gn-libs")
+ (commit commit)))
+ (hash
+ (content-hash
+ (base32
+ "1lbvpn0ddsbj8xvnkzs352n7dg8drpvgx4j9xsxb24ny1f2ij323")))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-k" "unit_test")))))))
+ (native-inputs
+ (list python-mypy
+ python-pylint
+ python-pytest))
+ (propagated-inputs
+ (list python-mysqlclient))
+ (home-page "https://github.com/genenetwork/gn-libs")
+ (synopsis "Tools/utilities for GeneNetwork projects.")
+ (description "A collection of tools and utilities used across multiple
+GeneNetwork projects.")
+ (license license:agpl3+))))
+
;; ./pre-inst-env guix download http://files.genenetwork.org/raw_database/db_webqtl_s.zip
;; 0sscjh0wml2lx0mb43vf4chg9gpbfi7abpjxb34n3kyny9ll557x