Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / iomux / default.nix
blobf1dc827a32d092d969563ce1677cc03e7029af2d
1 { lib
2 , fetchurl
3 , buildDunePackage
4 , dune-configurator
5 , alcotest
6 }:
8 buildDunePackage rec {
9   pname = "iomux";
10   version = "0.3";
12   minimalOCamlVersion = "4.08";
13   duneVersion = "3";
15   src = fetchurl {
16     url = "https://github.com/haesbaert/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
17     sha256 = "zNJ3vVOv0BEpHLiC8Y610F87uiMlfYNo28ej0H+EU+c=";
18   };
20   buildInputs = [
21     dune-configurator
22   ];
24   checkInputs = [
25     alcotest
26   ];
28   meta = {
29     homepage = "https://github.com/haesbaert/ocaml-${pname}";
30     description = "IO Multiplexers for OCaml";
31     license = with lib.licenses; [ isc ];
32     maintainers = with lib.maintainers; [ toastal ];
33   };