blob: 4d8bfafbb9fe9e96cb3f341b931e34216243732b (
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)))
|