(define-module (xyz euandreh packages packaging-queue) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system gnu)) (define-public libsha3 (package (name "libsha3") (version "3ae151cb7eed026d175516507234a34fc222ae1c") #; (source (local-file repository-root #:recursive? #t #:select? (git-predicate repository-root))) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/EuAndreh/SHA3IUF") (commit version))) (sha256 (base32 "1hnzx49bmf54cqivgy25k96wbxwr4g2ik7v6ajpaq5g2sjh218w4")))) (build-system gnu-build-system) (arguments `(#:make-flags (list (string-append "CC=" ,(cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases (delete 'configure)))) (synopsis "C implementation of the SHA-3 and Keccak") (description "SHA3IUF is a C implementations of SHA-3 and Keccak with Init/Update/Finalize hashing API (NIST FIPS 202/Etherium).") (home-page "https://github.com/brainhub/SHA3IUF") (license license:x11))) (list libsha3)