aboutsummaryrefslogtreecommitdiff
path: root/.guix/modules/gnqc-py.scm
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-03-11 03:18:45 +0300
committerFrederick Muriuki Muriithi2024-03-11 03:18:45 +0300
commite152c8dd8694810d7d4c8cbbd241e80ff2b5c565 (patch)
tree7209fd94f6ba4cb03fc9aa0ebd52c7d2ffb51303 /.guix/modules/gnqc-py.scm
parent352a6158ca491ce4e3a462ccf207c711687ec3ec (diff)
downloadgn-uploader-e152c8dd8694810d7d4c8cbbd241e80ff2b5c565.tar.gz
Rename module
Diffstat (limited to '.guix/modules/gnqc-py.scm')
-rw-r--r--.guix/modules/gnqc-py.scm46
1 files changed, 0 insertions, 46 deletions
diff --git a/.guix/modules/gnqc-py.scm b/.guix/modules/gnqc-py.scm
deleted file mode 100644
index 4e198fa..0000000
--- a/.guix/modules/gnqc-py.scm
+++ /dev/null
@@ -1,46 +0,0 @@
-(define-module (gn-uploader)
- #:use-module (guix gexp)
- #:use-module (guix utils)
- #:use-module (guix packages)
- #:use-module (guix git-download)
-
- #:use-module ((gnu packages check) #:select (python-pylint))
- #:use-module ((gnu packages python-check) #:select (python-mypy))
-
- #:use-module ((gn packages genenetwork) #:select (gn-uploader) #:prefix gn:))
-
-(define %source-dir (dirname (dirname (current-source-directory))))
-
-(define vcs-file?
- (or (git-predicate %source-dir)
- (const #t)))
-
-(define-public gn-uploader
- (package
- (inherit gn:gn-uploader)
- (source
- (local-file "../.."
- "gn-uploader-checkout"
- #:recursive? #t
- #:select? vcs-file?))))
-
-(define-public gn-uploader-all-tests
- (package
- (inherit gn-uploader)
- (arguments
- (substitute-keyword-arguments (package-arguments gn-uploader)
- ((#:phases #~%standard-phases)
- #~(modify-phases #$phases
- (add-before 'build 'pylint
- (lambda _
- (invoke "pylint" "setup.py" "wsgi.py" "tests" "quality_control"
- "qc_app" "r_qtl" "scripts")))
- (add-after 'pylint 'mypy
- (lambda _
- (invoke "mypy" ".")))))))
- (native-inputs
- (modify-inputs (package-native-inputs gn-uploader)
- (prepend python-mypy)
- (prepend python-pylint)))))
-
-gn-uploader