--- /dev/null
+(define-module (infiniteadaptability totp)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages tls)
+ #:use-module (guix git-download)
+ #:use-module (guix build-system gnu)
+ #:use-module ((guix licenses)
+ #:prefix license:)
+ #:use-module (guix packages))
+
+(define-public totp
+ (let ((version "1.0.0")
+ (commit "cb04d87e4b55edbc7dad0b7e27bab7a94af21b6c")
+ (revision 0))
+ (package
+ (name "totp")
+ (version (if (zero? revision) version
+ (string-append version "-"
+ (number->string revision) "."
+ (string-take commit 7))))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.infiniteadaptability.org/totp.git")
+ (commit commit)))
+ (sha256
+ (base32
+ "1p73lrgddl67jnyndk2fjx5i0p3zwcbj1nl99dkd2d1xprlgaa32"))
+ (file-name (string-append "totp-" version "-checkout"))))
+ (native-inputs (list autoconf automake))
+ (inputs (list openssl))
+ (build-system gnu-build-system)
+ (home-page "https://git.infiniteadaptability.org/totp")
+ (synopsis "totp")
+ (description "totp")
+ (license license:unlicense))))
+
+totp