summaryrefslogtreecommitdiff
path: root/doc/checksum.scm
diff options
context:
space:
mode:
Diffstat (limited to 'doc/checksum.scm')
-rw-r--r--doc/checksum.scm15
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/checksum.scm b/doc/checksum.scm
index 206c2a0..4d8bfaf 100644
--- a/doc/checksum.scm
+++ b/doc/checksum.scm
@@ -1,14 +1,17 @@
(define md5sum
- (command #:run "md5sum" (input 'file #:type 'File)
- #:outputs (output 'md5 #:type 'stdout)))
+ (command #:inputs (file #:type 'File)
+ #:run "md5sum" file
+ #:outputs (md5 #:type 'stdout)))
(define sha1sum
- (command #:run "sha1sum" (input 'file #:type 'File)
- #:outputs (output 'sha1 #:type 'stdout)))
+ (command #:inputs (file #:type 'File)
+ #:run "sha1sum" file
+ #:outputs (sha1 #:type 'stdout)))
(define sha256sum
- (command #:run "sha256sum" (input 'file #:type 'File)
- #:outputs (output 'sha256 #:type 'stdout)))
+ (command #:inputs (file #:type 'File)
+ #:run "sha256sum" file
+ #:outputs (sha256 #:type 'stdout)))
(workflow ((file #:type File))
(tee (md5sum #:file file)