a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
30 lines
706 B
Nix
30 lines
706 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;
|
|
nativeCheckInputs = [ 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 ];
|
|
};
|
|
}
|