mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
ocamlPackages.hkdf: init at 1.0.4
This commit is contained in:
parent
435fd99ab6
commit
b67a5e424f
26
pkgs/development/ocaml-modules/hkdf/default.nix
Normal file
26
pkgs/development/ocaml-modules/hkdf/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, buildDunePackage, fetchurl, cstruct, mirage-crypto, alcotest }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "hkdf";
|
||||
version = "1.0.4";
|
||||
|
||||
minimumOCamlVersion = "4.07";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/hannesm/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
sha256 = "0nzx6vzbc1hh6vx1ly8df4b16lgps6zjpp9mjycsnnn49bddc9mr";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [ cstruct mirage-crypto ];
|
||||
checkInputs = [ alcotest ];
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "HMAC-based Extract-and-Expand Key Derivation Function (RFC 5869)";
|
||||
homepage = "https://github.com/hannesm/ocaml-hkdf";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sternenseemann ];
|
||||
};
|
||||
}
|
@ -303,6 +303,8 @@ let
|
||||
|
||||
higlo = callPackage ../development/ocaml-modules/higlo { };
|
||||
|
||||
hkdf = callPackage ../development/ocaml-modules/hkdf { };
|
||||
|
||||
hmap = callPackage ../development/ocaml-modules/hmap { };
|
||||
|
||||
imagelib = callPackage ../development/ocaml-modules/imagelib { };
|
||||
|
Loading…
Reference in New Issue
Block a user