2e6bf42a22
There ver very many conflicts, basically all due to name -> pname+version. Fortunately, almost everything was auto-resolved by kdiff3, and for now I just fixed up a couple evaluation problems, as verified by the tarball job. There might be some fallback to these conflicts, but I believe it should be minimal. Hydra nixpkgs: ?compare=1538299
33 lines
982 B
Nix
33 lines
982 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xxHash";
|
|
version = "0.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Cyan4973";
|
|
repo = "xxHash";
|
|
rev = "v${version}";
|
|
sha256 = "0hh1ypwk86m3b0x4433k95f94b48kvl7s79dml0f3g0cv8jdvkgw";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" "INCLUDEDIR=$(dev)/include" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Extremely fast hash algorithm";
|
|
longDescription = ''
|
|
xxHash is an Extremely fast Hash algorithm, running at RAM speed limits.
|
|
It successfully completes the SMHasher test suite which evaluates
|
|
collision, dispersion and randomness qualities of hash functions. Code is
|
|
highly portable, and hashes are identical on all platforms (little / big
|
|
endian).
|
|
'';
|
|
homepage = https://github.com/Cyan4973/xxHash;
|
|
license = with licenses; [ bsd2 gpl2 ];
|
|
maintainers = with maintainers; [ orivej ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|