diff options
author | EuAndreh <eu@euandre.org> | 2021-02-09 17:14:44 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-09 17:14:44 -0300 |
commit | 63586c0a488654072d0b6d3d9ee187300bc8d638 (patch) | |
tree | af99841d7c2880e28bfd9372c04f44674335b466 /src/xyz/euandreh/packages/packaging-queue.scm | |
parent | with-container.sh: Default run without arguments to non-containerized environ... (diff) | |
download | package-repository-63586c0a488654072d0b6d3d9ee187300bc8d638.tar.gz package-repository-63586c0a488654072d0b6d3d9ee187300bc8d638.tar.xz |
Rename misc.scm -> packaging-queue.scm
Diffstat (limited to 'src/xyz/euandreh/packages/packaging-queue.scm')
-rw-r--r-- | src/xyz/euandreh/packages/packaging-queue.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/xyz/euandreh/packages/packaging-queue.scm b/src/xyz/euandreh/packages/packaging-queue.scm new file mode 100644 index 0000000..09604f4 --- /dev/null +++ b/src/xyz/euandreh/packages/packaging-queue.scm @@ -0,0 +1,38 @@ +(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 "bbef7d168632e121be2c59d496d51b3c54db908a") + #; + (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 + "0z7xb5iq9h5h6k6qsk3a96bg7pi1x7q01m9hils00m3726qnqh4x")))) + (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) |