diff options
author | Frederick Muriuki Muriithi | 2024-03-08 02:55:29 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-03-08 02:55:29 +0300 |
commit | 3414d825a9799f30d92e5188378cb7ad69db0eb0 (patch) | |
tree | 83a9c321a2f1edd2cea9a10b2ae58a7a6a836e13 /gn | |
parent | 645cfb51a968e58b286e8af7a6fa3fefa6b512a8 (diff) | |
download | guix-bioinformatics-3414d825a9799f30d92e5188378cb7ad69db0eb0.tar.gz |
gn-uploader: Update package definition
Diffstat (limited to 'gn')
-rw-r--r-- | gn/packages/genenetwork.scm | 85 |
1 files changed, 44 insertions, 41 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index 5298490..dae4b54 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -345,47 +345,50 @@ (description "Genenetwork installation sumo.") (license license:agpl3+)))) -(define-public gnqc-py - (package - (name "gnqc-py") - (version "0.0.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://gitlab.com/fredmanglis/gnqc_py.git") - (commit "c81a3d948b3bc0db20a530fa1aa428b35b5d6145"))) - (hash - (content-hash - (base32 - "1101pql7zpijn36i9phcakfx1r5dcvdf6ix0v4ndjzmzx3d0xyi2"))))) - (build-system python-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 - `(("python-mypy" ,python-mypy) - ("python-pylint" ,python-pylint) - ("python-pytest" ,python-pytest) - ("python-hypothesis" ,python-hypothesis))) - (propagated-inputs - `(("gunicorn" ,gunicorn) - ("python-redis" ,python-redis) - ("python-flask" ,python-flask) - ("python-pyyaml" ,python-pyyaml) - ("python-jsonpickle" ,python-jsonpickle) - ("python-mysqlclient" ,python-mysqlclient))) - (synopsis "GeneNetwork Quality Control Application") - (description - "GeneNetwork qc is a quality control application for the data files that - eventually are used to add to the data in the GeneNetwork project.") - (home-page "https://gitlab.com/fredmanglis/gnqc_py") - (license license:agpl3+))) +(define-public gn-uploader + (let ((commit "6ced7085193affa636f229e72dc19175a3a06cfe") + (version "0.0.1")) + (package + (name "gn-uploader") + (version (string-append version (string-take commit 8))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.genenetwork.org/gn-uploader") + (commit commit))) + (hash + (content-hash + (base32 + "09sy7kxdrf44m2yr4cqn0nx070mdnqb76888ghrwpqzgd2phfhjp"))))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-m" "unit_test"))))))) + (native-inputs + `(("python-mypy" ,python-mypy) + ("python-pylint" ,python-pylint) + ("python-pytest" ,python-pytest) + ("python-hypothesis" ,python-hypothesis))) + (propagated-inputs + `(("gunicorn" ,gunicorn) + ("python-redis" ,python-redis) + ("python-flask" ,python-flask) + ("python-pyyaml" ,python-pyyaml) + ("python-jsonpickle" ,python-jsonpickle) + ("python-mysqlclient" ,python-mysqlclient))) + (synopsis "GeneNetwork Quality Control Application") + (description + "gn-uploader is a service allowing upload of new data into GeneNetwork, + that does quality control for the data files that is being uploaded to ensure + it fulfils all conditions before it can be accepted.") + (home-page "https://git.genenetwork.org/gn-uploader") + (license license:agpl3+)))) (define-public gn-auth (package |