blob: 297ac1414ab4e51a5d3e6d4f0cb5903137864f34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
(define md5sum
(command #:inputs (file #:type File)
#:run "md5sum" file
#:outputs (md5 #:type stdout)))
(define sha1sum
(command #:inputs (file #:type File)
#:run "sha1sum" file
#:outputs (sha1 #:type stdout)))
(define sha256sum
(command #:inputs (file #:type File)
#:run "sha256sum" file
#:outputs (sha256 #:type stdout)))
(workflow ((file #:type File))
(tee (md5sum #:file file)
(sha1sum #:file file)
(sha256sum #:file file)))
|