diff options
author | Frederick Muriuki Muriithi | 2024-11-21 11:55:39 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-11-21 11:55:39 -0600 |
commit | 1a9bb9adaf364de104d7f6d9a7aa1498777bc3d2 (patch) | |
tree | 7ef1e2d86b64c83708d203ac3bb4f2999645de95 /gn | |
parent | aeaca2435e83f6bb1abd48a649abe97e07eb9009 (diff) | |
download | guix-bioinformatics-1a9bb9adaf364de104d7f6d9a7aa1498777bc3d2.tar.gz |
gn-libs (gn packages genenetwork): New package.
Add a new package named "gn-libs".
Diffstat (limited to 'gn')
-rw-r--r-- | gn/packages/genenetwork.scm | 39 |
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 |