Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, buildDunePackage 2, lwt, lwt_ppx, stringext 3, alcotest }: 4 5buildDunePackage rec { 6 pname = "multipart-form-data"; 7 version = "0.3.0"; 8 9 src = fetchFromGitHub { 10 owner = "cryptosense"; 11 repo = pname; 12 rev = version; 13 hash = "sha256-3MYJDvVbPIv/JDiB9nKcLRFC5Qa0afyEfz7hk8MWRII="; 14 }; 15 16 buildInputs = [ lwt_ppx ]; 17 propagatedBuildInputs = [ lwt stringext ]; 18 19 duneVersion = "3"; 20 21 doCheck = true; 22 checkInputs = [ alcotest ]; 23 24 meta = { 25 description = "Parser for multipart/form-data (RFC2388)"; 26 homepage = "https://github.com/cryptosense/multipart-form-data"; 27 license = lib.licenses.bsd2; 28 maintainers = [ lib.maintainers.vbgl ]; 29 }; 30}