about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-05-05 15:39:32 +0300
committerFrederick Muriuki Muriithi2022-05-05 15:39:32 +0300
commit90ae44b4b336aa3fbca965da8c1948317714a11a (patch)
tree4a8ac85d11934758cc1a3046513c9776681fe268
parent3116206b9eca593323c7e25b200ebc76b9a59f6c (diff)
downloadgn-uploader-90ae44b4b336aa3fbca965da8c1948317714a11a.tar.gz
Add a guix definition to enable installation
-rw-r--r--guix.scm45
1 files changed, 45 insertions, 0 deletions
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))