mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: crc32c: Move to (gnu packages crypto).
* gnu/packages/cpp.scm (crc32c): Move from here… * gnu/packages/crypto.scm (crc32c): …to here. Change-Id: I62bee9e02c9480646093c174dfe84ccc72e4577a Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
520ba1b904
commit
83f234a549
3 changed files with 35 additions and 32 deletions
|
@ -3367,38 +3367,6 @@ templated string type for compatibility with any STL-like string (std::string,
|
|||
std::wstring, etc).")
|
||||
(license license:boost1.0)))
|
||||
|
||||
(define-public crc32c
|
||||
(package
|
||||
(name "crc32c")
|
||||
(version "1.1.2")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/google/crc32c")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0966lyy3w5cnrs0c0fkma4hga51k54hns72l4n76944awqssap7j"))
|
||||
(patches (search-patches "crc32c-unbundle-googletest.patch"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
(list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"
|
||||
"-DCRC32C_BUILD_BENCHMARKS=OFF"
|
||||
"-DCRC32C_USE_GLOG=OFF"
|
||||
(string-append
|
||||
"-DCRC32C_BUILD_TESTS="
|
||||
;; TODO: perhaps infer #:tests?
|
||||
(if #$(%current-target-system)
|
||||
"OFF" "ON")))))
|
||||
(native-inputs (list googletest))
|
||||
(home-page "https://github.com/google/crc32c")
|
||||
(synopsis "Cyclic redundancy check")
|
||||
(description
|
||||
"This package provides architecture-specific implementations of the
|
||||
CRC32C algorithm, which is specified in RFC 3720, section 12.1.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define fast-float-test-files
|
||||
(let ((name "fast-float-test-files")
|
||||
(version "1.0.0"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue