ocamlPackages.hkdf: init at 1.0.4

authored by

sternenseemann and committed by
Vincent Laporte
b67a5e42 435fd99a

+28
+26
pkgs/development/ocaml-modules/hkdf/default.nix
··· 1 + { lib, buildDunePackage, fetchurl, cstruct, mirage-crypto, alcotest }: 2 + 3 + buildDunePackage rec { 4 + pname = "hkdf"; 5 + version = "1.0.4"; 6 + 7 + minimumOCamlVersion = "4.07"; 8 + 9 + src = fetchurl { 10 + url = "https://github.com/hannesm/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz"; 11 + sha256 = "0nzx6vzbc1hh6vx1ly8df4b16lgps6zjpp9mjycsnnn49bddc9mr"; 12 + }; 13 + 14 + useDune2 = true; 15 + 16 + propagatedBuildInputs = [ cstruct mirage-crypto ]; 17 + checkInputs = [ alcotest ]; 18 + doCheck = true; 19 + 20 + meta = with lib; { 21 + description = "HMAC-based Extract-and-Expand Key Derivation Function (RFC 5869)"; 22 + homepage = "https://github.com/hannesm/ocaml-hkdf"; 23 + license = licenses.mit; 24 + maintainers = with maintainers; [ sternenseemann ]; 25 + }; 26 + }
+2
pkgs/top-level/ocaml-packages.nix
··· 303 303 304 304 higlo = callPackage ../development/ocaml-modules/higlo { }; 305 305 306 + hkdf = callPackage ../development/ocaml-modules/hkdf { }; 307 + 306 308 hmap = callPackage ../development/ocaml-modules/hmap { }; 307 309 308 310 imagelib = callPackage ../development/ocaml-modules/imagelib { };