depot/third_party/nixpkgs/pkgs/development/ocaml-modules/multipart-form-data/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

30 lines
700 B
Nix

{ 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 ];
};
}