mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:23:02 +00:00
2c616aa638
ocamlPackages.email_message: fix 0.12.0 version for angstrom 0.14 ocamlPackages.encore: 0.3 → 0.5 ocamlPackages.git{,-http,-unix}: 2.1.2 → 2.1.3
27 lines
768 B
Nix
27 lines
768 B
Nix
{ lib, buildDunePackage, fetchurl, ocaml
|
|
, fmt, bigstringaf, bigarray-compat
|
|
, bigarray-overlap, angstrom, ke, alcotest }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "encore";
|
|
version = "0.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/encore/releases/download/v${version}/encore-v${version}.tbz";
|
|
sha256 = "15n0dla149k9h7migs76wap08z5402qcvxyqxzl887ha6isj3p9n";
|
|
};
|
|
|
|
useDune2 = true;
|
|
|
|
propagatedBuildInputs = [ angstrom ke fmt bigstringaf bigarray-compat bigarray-overlap ];
|
|
checkInputs = [ alcotest ];
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mirage/encore";
|
|
description = "Library to generate encoder/decoder which ensure isomorphism";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
}
|