blob: fe212dd0eb709bc6d58cbddc92924b41aebdb427 (
plain) (
blame)
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
|
{ lib
, fetchFromGitHub
, buildDunePackage
, xxHash
, ctypes
, dune-configurator
, ppx_expect
}:
buildDunePackage rec {
pname = "xxhash";
version = "0.2";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "314eter";
repo = "ocaml-xxhash";
rev = "refs/tags/v${version}";
hash = "sha256-0+ac5EWV9DCVMT4wOcXC95GVEwsUIZzFn2laSzmK6jE=";
};
buildInputs = [
dune-configurator
];
propagatedBuildInputs = [
ctypes
xxHash
];
doCheck = true;
checkInputs = [
ppx_expect
];
meta = {
homepage = "https://github.com/314eter/ocaml-xxhash";
description = "Bindings for xxHash, an extremely fast hash algorithm";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ toastal ];
};
}
|