ocamlPackages.multipart-form-data: init at 0.3.0

This commit is contained in:
Vincent Laporte 2022-12-20 08:17:08 +01:00 committed by Vincent Laporte
parent e6b0c03ff4
commit b9c1fc6961
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib, fetchFromGitHub, buildDunePackage
, lwt, lwt_ppx, stringext
, alcotest }:
buildDunePackage rec {
pname = "multipart-form-data";
version = "0.3.0";
src = fetchFromGitHub {
owner = "cryptosense";
repo = pname;
rev = version;
hash = "sha256-3MYJDvVbPIv/JDiB9nKcLRFC5Qa0afyEfz7hk8MWRII=";
};
nativeBuildInputs = [ lwt_ppx ];
propagatedBuildInputs = [ lwt stringext ];
duneVersion = "3";
doCheck = true;
checkInputs = [ alcotest ];
meta = {
description = "Parser for multipart/form-data (RFC2388)";
homepage = "https://github.com/cryptosense/multipart-form-data";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -934,6 +934,8 @@ let
mtime = callPackage ../development/ocaml-modules/mtime { };
multipart-form-data = callPackage ../development/ocaml-modules/multipart-form-data { };
mustache = callPackage ../development/ocaml-modules/mustache { };
netchannel = callPackage ../development/ocaml-modules/netchannel { };