mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
ocamlPackages.xxhash: init at 0.2
0.1 is an ‘official’ release, but 0.2 tag includes updates
This commit is contained in:
parent
d53c203739
commit
7eb1e9bf0a
44
pkgs/development/ocaml-modules/xxhash/default.nix
Normal file
44
pkgs/development/ocaml-modules/xxhash/default.nix
Normal file
@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
@ -1905,6 +1905,8 @@ let
|
||||
|
||||
xtmpl_ppx = callPackage ../development/ocaml-modules/xtmpl/ppx.nix { };
|
||||
|
||||
xxhash = callPackage ../development/ocaml-modules/xxhash/default.nix { };
|
||||
|
||||
### Y ###
|
||||
|
||||
yaml = callPackage ../development/ocaml-modules/yaml { };
|
||||
|
Loading…
Reference in New Issue
Block a user