blob: e8a8b7c9dd6abc40a54f12a63334ba6426570a95 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
(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 "e909ac7791ac4335eb4382332ef56eb021dde482")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/brainhub/SHA3IUF")
(commit version)))
(sha256
(base32
"0cbsxw80cyjzd9pgxcasj3llfqi6zn3acr4qygbi2q022kyi5f0g"))))
(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)
|