tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
xxHash: init at 0.6.3.20171018
Dmitry Kalinkin
8 years ago
4d85689c
6c43d2a9
+33
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
xxHash
default.nix
top-level
all-packages.nix
+31
pkgs/development/libraries/xxHash/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ stdenv, fetchFromGitHub }:
2
+
3
+
stdenv.mkDerivation rec {
4
+
name = "xxHash-${version}";
5
+
version = "0.6.3.20171018";
6
+
7
+
src = fetchFromGitHub {
8
+
sha256 = "0061ivxpx0p24m4vg7kfx9fs9f0jxvv4g76bmyss5gp90p05hc18";
9
+
rev = "333804ccf0c0339451accac023deeab9e5f7c002";
10
+
repo = "xxHash";
11
+
owner = "Cyan4973";
12
+
};
13
+
14
+
outputs = [ "out" "dev" ];
15
+
16
+
makeFlags = [ "PREFIX=$(out)" "INCLUDEDIR=$(dev)/include" ];
17
+
18
+
meta = with stdenv.lib; {
19
+
description = "Extremely fast hash algorithm";
20
+
longDescription = ''
21
+
xxHash is an Extremely fast Hash algorithm, running at RAM speed limits.
22
+
It successfully completes the SMHasher test suite which evaluates
23
+
collision, dispersion and randomness qualities of hash functions. Code is
24
+
highly portable, and hashes are identical on all platforms (little / big
25
+
endian).
26
+
'';
27
+
homepage = https://github.com/Cyan4973/xxHash;
28
+
license = with licenses; [ bsd2 gpl2 ];
29
+
platforms = platforms.unix;
30
+
};
31
+
}
+2
pkgs/top-level/all-packages.nix
···
11059
11060
xvidcore = callPackage ../development/libraries/xvidcore { };
11061
0
0
11062
xylib = callPackage ../development/libraries/xylib { };
11063
11064
yajl = callPackage ../development/libraries/yajl { };
···
11059
11060
xvidcore = callPackage ../development/libraries/xvidcore { };
11061
11062
+
xxHash = callPackage ../development/libraries/xxHash {};
11063
+
11064
xylib = callPackage ../development/libraries/xylib { };
11065
11066
yajl = callPackage ../development/libraries/yajl { };