aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/digest.scm
blob: d5533bc474682bce53188418f1cb73494ba3c51b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages digest)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix git-download)
  #:use-module (guix build-system gnu))

(define-public xxhash
  (package
    (name "xxhash")
    (version "0.6.5")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/Cyan4973/xxHash")
             (commit (string-append "v" version))))
       (sha256
        (base32 "137hifc3f3cb4ib64rd6y83arc9hmbyncgrij2v8m94mx66g2aks"))))
    (build-system gnu-build-system)
    (arguments
     `(#:make-flags
       (list "CC=gcc"
             "XXH_FORCE_MEMORY_ACCESS=1" ; improved performance with GCC
             (string-append "prefix=" (assoc-ref %outputs "out")))
       #:test-target "test"
       ;; Parallel testing tries to run ‘xxhsum’ before it's been built.
       #:parallel-tests? #f
       #:phases
       (modify-phases %standard-phases
         (delete 'configure))))         ; no configure script
    (home-page "https://cyan4973.github.io/xxHash/")
    (synopsis "Extremely fast hash algorithm")
    (description
     "xxHash is an extremely fast non-cryptographic hash algorithm.  It works
at speeds close to RAM limits, and comes in both 32- and 64-bit flavours.
The code is highly portable, and hashes of the same length are identical on all
platforms (both big and little endian).")
    (license (list license:bsd-2        ; xxhash library (xxhash.[ch])
                   license:gpl2+))))    ; xxhsum.c
>Ricardo Wurmus 2017-05-27Merge branch 'master' into core-updatesMark H Weaver 2017-05-24gnu: arm-none-eabi-toolchain: Include libstdc++....Ricardo Wurmus 2017-05-24gnu: arm-none-eabi-toolchain: Provide union of all inputs at the output....Ricardo Wurmus 2017-05-24gnu: Add libstdc++-arm-none-eabi....Ricardo Wurmus 2017-05-24gnu: Allow overriding of xgcc package in cross-gcc....Ricardo Wurmus 2017-05-24Merge branch 'master' into core-updatesRicardo Wurmus 2017-05-15gnu: flex-2.6.1: Remove variable....Leo Famulari 2017-05-01gnu: Add gcc-vc4....Danny Milosavljevic 2017-03-30gnu: propeller-binutils: Use flex 2.6.1....Ricardo Wurmus 2017-03-23Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner 2017-03-22gnu: binutils-vc4: Build with flex-2.6.1....Efraim Flashner 2017-03-22gnu: binutils-vc4: Set source file-name....Efraim Flashner 2017-03-05gnu: Add binutils-vc4....Danny Milosavljevic 2017-01-01gnu: Add propeller-development-suite....Ricardo Wurmus 2017-01-01gnu: Add spinsim....Ricardo Wurmus 2017-01-01gnu: Add spin2cpp....Ricardo Wurmus 2017-01-01gnu: Add propeller-load....Ricardo Wurmus 2017-01-01gnu: Add openspin....Ricardo Wurmus 2017-01-01gnu: Add propeller-toolchain....Ricardo Wurmus 2017-01-01gnu: Add proplib....Ricardo Wurmus 2017-01-01gnu: Add propeller-gcc....Ricardo Wurmus 2017-01-01gnu: Add propeller-binutils....Ricardo Wurmus 2016-11-08gnu: gcc-arm-none-eabi-4.9: Remove non-applicable patch....Ludovic Courtès 2016-10-31gnu: openocd: Correct license....Ricardo Wurmus 2016-10-30gnu: Add openocd....Theodoros Foradis 2016-10-30gnu: Add jimtcl....David Craven 2016-10-30gnu: Add libjaylink....David Craven 2016-10-30gnu: Add gdb-arm-none-eabi....Theodoros Foradis 2016-10-16gnu: Add arm-none-eabi-toolchain variants....Theodoros Foradis 2016-10-16gnu: Add arm-none-eabi-gcc-6....Theodoros Foradis 2016-10-09gnu: Add newlib-nano-arm-none-eabi....Ricardo Wurmus 2016-10-09gnu: Add newlib-arm-none-eabi....Ricardo Wurmus 2016-10-09gnu: Add arm-none-eabi cross compiler....Ricardo Wurmus