depot/pkgs/development/ocaml-modules/multipart-form-data/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
694 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 ];
};
}