blob: f5f7cac0d92a627e1396a972e23fd942909dc71b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
(define-module (gn-auth)
#:use-module ((gn packages genenetwork)
#:select (gn-auth) #:prefix gn:)
#:use-module (guix)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:))
(define %source-dir (dirname (dirname (current-source-directory))))
(define vcs-file?
(or (git-predicate %source-dir)
(const #t)))
(define-public gn-auth
(package
(inherit gn:gn-auth)
(source
(local-file "../.."
"gn-auth-checkout"
#:recursive? #t
#:select? vcs-file?))))
gn-auth
|