From 90ae44b4b336aa3fbca965da8c1948317714a11a Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 5 May 2022 15:39:32 +0300 Subject: Add a guix definition to enable installation --- guix.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 guix.scm diff --git a/guix.scm b/guix.scm new file mode 100644 index 0000000..acfa307 --- /dev/null +++ b/guix.scm @@ -0,0 +1,45 @@ +(use-modules (guix packages) + (guix git-download) + (gnu packages check) + (gnu packages databases) + (gnu packages python-xyz) + (gnu packages python-web) + (guix build-system python) + (gnu packages python-check) + ((guix licenses) #:prefix license:)) + +(package + (name "genenetwork-qc") + (version "0.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.genenetwork.org/fredmanglis/gnqc_py.git") + (commit "3116206b9eca593323c7e25b200ebc76b9a59f6c"))) + (sha256 + (base32 + "1q949yvj391b8kdr2a5143gfz1h4p5ig4l3cwcsahz5lq7p93ff0")))) + (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:gpl3)) -- cgit v1.2.3