diff options
author | Pierre Neidhardt <mail@ambrevar.xyz> | 2021-11-15 20:33:31 +0100 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2021-11-16 12:51:44 +0100 |
commit | d0c3efb78acd43b766f906648900e3d33d32a7e4 (patch) | |
tree | 3f8780d790a61801900cf9cfba87d72a35486df8 | |
parent | de28e45e0f40f527189f5eafc8d24b2e19ae7bb1 (diff) |
gnu: Add bit-smasher.
* gnu/packages/lisp-xyz.scm (cl-bit-smasher, ecl-bit-smasher, sbcl-bit-smasher): New variables.
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index e4da2dcda8..f2b2325d8f 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -18973,3 +18973,40 @@ reference.") (define-public ecl-cl-base58 (sbcl-package->ecl-package sbcl-cl-base58)) + +(define-public sbcl-bit-smasher + ;; No release. + (let ((commit "c2dcb3b5ec0e485484be681fe17c4e81e58790d9")) + (package + (name "sbcl-bit-smasher") + (version (git-version "1.0.2" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/thephoeron/bit-smasher/") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0wjmwn06fjpw0rlpaksf3ab727p8fnzj58z7jajl3m0wqd4ii74w")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("cl-base64" ,sbcl-cl-base64) + ("cl-base58" ,sbcl-cl-base58))) + ;; Load order matters for tests, both for file reading and evaluation. + (arguments + `(#:asd-systems '("bit-smasher-test" "bit-smasher") + #:asd-files '("bit-smasher.asd" "bit-smasher-test.asd"))) + (home-page "https://github.com/thephoeron/bit-smasher/") + (synopsis "Handle bit vectors, bit vector arithmetic, and type conversions") + (description + "Utility library for handling bit vectors, bit vector arithmetic, and +universal integer type conversions between bit-vectors, byte-vectors, octals, +decimals, and hexadecimal notation.") + (license license:expat)))) + +(define-public cl-bit-smasher + (sbcl-package->cl-source-package sbcl-bit-smasher)) + +(define-public ecl-bit-smasher + (sbcl-package->ecl-package sbcl-bit-smasher)) |