diff options
author | Pierre Neidhardt <mail@ambrevar.xyz> | 2021-06-21 11:11:36 +0200 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2021-06-21 11:18:13 +0200 |
commit | 40098148bdc0a6abe8d99dbcc6c9113661fd38e7 (patch) | |
tree | 51ebe479006bd7ddb82302fd54f1f20ab8172685 /gnu/packages | |
parent | 3b45aa167dba93196bf0908e32f744b6b10734e5 (diff) | |
download | guix-40098148bdc0a6abe8d99dbcc6c9113661fd38e7.tar guix-40098148bdc0a6abe8d99dbcc6c9113661fd38e7.tar.gz |
gnu: Add cl-murmurhash.
* gnu/packages/lisp-xyz.scm (cl-murmurhash, ecl-cl-murmurhash,
sbcl-cl-murmurhash): New variables.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 83ca4c17ab..e16ea33d0a 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -17584,3 +17584,39 @@ of either regular or generic functions with mocks.") (define-public cl-mock (sbcl-package->cl-source-package sbcl-cl-mock)) + +(define-public sbcl-cl-murmurhash + ;; No release. + (let ((commit "5433f5e95f1cce63a81259a471150834c6a59364") + (revision "1")) + (package + (name "sbcl-cl-murmurhash") + (version (git-version "0.0.0" revision commit)) + (home-page "https://github.com/ruricolist/cl-murmurhash/") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0251r0mpjm0y3qsm4lm7ncvrkxvgwc53spdm1p2mpayhvkkqqsws")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("babel" ,sbcl-babel))) + (native-inputs + `(("fiveam" ,sbcl-fiveam))) + (synopsis "32-bit version of Murmurhash3 for Common Lisp") + (description + "This Common Lisp package offers an implementation of the 32-bit +variant of MurmurHash3 (@url{https://github.com/aappleby/smhasher}), a fast +non-crytographic hashing algorithm.") + (license license:expat)))) + +(define-public ecl-cl-murmurhash + (sbcl-package->ecl-package sbcl-cl-murmurhash)) + +(define-public cl-murmurhash + (sbcl-package->cl-source-package sbcl-cl-murmurhash)) |