summaryrefslogtreecommitdiff
path: root/modules/language/python/module/#_sha1.scm#
diff options
context:
space:
mode:
authorStefan Israelsson Tampe <stefan.itampe@gmail.com>2018-11-06 23:26:25 +0100
committerStefan Israelsson Tampe <stefan.itampe@gmail.com>2018-11-06 23:26:25 +0100
commit4d4de6eecb3917e19a0af616790630a683b43767 (patch)
tree84f4e249a986928dfcba616d32a269900804772c /modules/language/python/module/#_sha1.scm#
parent9f1bcefabfbfb28cd913b363285675d98e9c622c (diff)
python repo install
Diffstat (limited to 'modules/language/python/module/#_sha1.scm#')
-rw-r--r--modules/language/python/module/#_sha1.scm#10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/language/python/module/#_sha1.scm# b/modules/language/python/module/#_sha1.scm#
new file mode 100644
index 0000000..87a0adb
--- /dev/null
+++ b/modules/language/python/module/#_sha1.scm#
@@ -0,0 +1,10 @@
+(define-module (language python module _sha1)
+ #:use-module (language python checksum)
+ #:use-module (oop pf-objects)
+ #:export (sha1))
+
+(define-python-class sha1 (Summer)
+ (define name "sha1")
+ (define digest_size 20)
+
+ (define _command "/usr/bin/sha1sum"))