nixpkgs/pkgs/development/ocaml-modules/mirage-flow/default.nix
2020-11-26 06:55:12 +01:00

26 lines
665 B
Nix

{ lib, buildDunePackage, fetchurl, cstruct, fmt, ocaml_lwt }:
buildDunePackage rec {
pname = "mirage-flow";
version = "2.0.1";
useDune2 = true;
minimumOCamlVersion = "4.05";
src = fetchurl {
url = "https://github.com/mirage/mirage-flow/releases/download/v${version}/mirage-flow-v${version}.tbz";
sha256 = "13v05x34six0z6bc2is8qhvbxk4knxh80ardi5x4rl738vlq3mn9";
};
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 ];
};
}