Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
717 B
Nix
40 lines
717 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=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|