summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-06-11 10:28:14 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-06-11 15:47:57 +0100
commit03d37551cfec1e72b76fcb9a9b68d66007fdd58c (patch)
treef1b4635af1d25f08564b16b8d86f3e23f31018f2 /gnu/packages/python-crypto.scm
parentdd1ab80e0481ab61fbe545391d0191f93a7ccc83 (diff)
gnu: Add python-eth-hash.
* gnu/packages/python-crypto.scm (python-eth-hash): New variable. Change-Id: I815d7e134821f609441053769575968d383244fb
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 8bc75aa9e9d..9ca9224a7b8 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -163,6 +163,33 @@ Hierarchical Deterministic wallets
163(BIP0032).") 163(BIP0032).")
164 (license license:expat))) 164 (license license:expat)))
165 165
166(define-public python-eth-hash
167 (package
168 (name "python-eth-hash")
169 (version "0.8.0")
170 (source
171 (origin
172 (method git-fetch)
173 (uri (git-reference
174 (url "https://github.com/ethereum/eth-hash")
175 (commit (string-append "v" version))))
176 (file-name (git-file-name name version))
177 (sha256
178 (base32 "1g4zlg134glfdxx8hzsmiq10lnl110c3fdgxk0kyq4r3msn7fa57"))))
179 (build-system pyproject-build-system)
180 (arguments
181 (list #:test-flags #~(list "tests/core" "tests/backends/pycryptodome")))
182 (native-inputs
183 (list python-pytest
184 python-setuptools))
185 (propagated-inputs
186 (list python-pycryptodome))
187 (home-page "https://github.com/ethereum/eth-hash")
188 (synopsis "Ethereum hashing function")
189 (description
190 "This package provides a Ethereum hashing function - keccak256 (sha3).")
191 (license license:expat)))
192
166(define-public python-murmurhash 193(define-public python-murmurhash
167 (package 194 (package
168 (name "python-murmurhash") 195 (name "python-murmurhash")