depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-flow/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

25 lines
664 B
Nix

{ lib, buildDunePackage, fetchurl, cstruct, fmt, ocaml_lwt }:
buildDunePackage rec {
pname = "mirage-flow";
version = "3.0.0";
useDune2 = true;
minimumOCamlVersion = "4.05";
src = fetchurl {
url = "https://github.com/mirage/mirage-flow/releases/download/v${version}/mirage-flow-v${version}.tbz";
sha256 = "sha256-1wvabIXsJ0e+2IvE2V8mnSgQUDuSkT8IB75SkWlhOPw=";
};
propagatedBuildInputs = [ cstruct fmt ocaml_lwt ];
meta = {
description = "Flow implementations and combinators for MirageOS";
homepage = "https://github.com/mirage/mirage-flow";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}