From 9d8990a85f1c321397bef6e879845479e5c4a403 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 2 Jan 2024 10:53:46 +0300 Subject: gnqc-py: New package --- gn/packages/genenetwork.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'gn/packages/genenetwork.scm') diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index ff87f99..139b46c 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -467,6 +467,48 @@ (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-auth (package (name "gn-auth") -- cgit v1.2.3