blob: 4d44f3b977635f66d8fe7e4a716e06505077ed94 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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=";
};
buildInputs = [ 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 ];
};
}
|