From 7da33ecd14ecd78405a0aa951c3f2b53f24e07fa Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 9 May 2022 06:14:02 +0300 Subject: Add definition for genenetwork-qc Add a package definition for the GeneNetwork Quality Control application. --- gn/packages/quality-control.scm | 49 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) (limited to 'gn/packages/quality-control.scm') diff --git a/gn/packages/quality-control.scm b/gn/packages/quality-control.scm index 8fa7a16..f518ea3 100644 --- a/gn/packages/quality-control.scm +++ b/gn/packages/quality-control.scm @@ -8,7 +8,13 @@ #:use-module (guix build-system asdf) #:use-module (gnu packages lisp-check) #:use-module (gnu packages lisp-xyz) - #:use-module (gnu packages)) + #:use-module (gnu packages) + #:use-module (gnu packages check) + #:use-module (gnu packages databases) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages python-web) + #:use-module (guix build-system python) + #:use-module (gnu packages python-check)) (define-public libcsv (let ((commit "b1d5212831842ee5869d99bc208a21837e4037d5") @@ -125,3 +131,44 @@ delimited text files: #;(define-public ecl-qc-uploads (sbcl-package->ecl-package sbcl-qc-uploads)) +(define-public genenetwork-qc + (let ((commit "7c3335f7c81a5f30dc1b6f55c5cc858c35f17981") + (revision "1")) + (package + (name "genenetwork-qc") + (version (git-version "0.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://git.genenetwork.org/fredmanglis/gnqc_py.git") + (commit commit))) + (sha256 + (base32 "146g9vilpnkcvgn9d6wl672jykaqyl979s1bfjmn0jqshb6sw9fx")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest"))))))) + (native-inputs + (list + python-mypy + python-pylint + python-pytest + python-hypothesis)) + (propagated-inputs + (list + python-rq + python-magic + python-flask + python-jsonpickle)) + (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://git.genenetwork.org/fredmanglis/gnqc_py") + (license license:agpl3+)))) -- cgit v1.2.3