Commit 7b7fe79b authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.colors: init at 0.0.1

parent e31484ad
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
{ lib
, buildDunePackage
, fetchurl
, mdx
}:

buildDunePackage rec {
  pname = "colors";
  version = "0.0.1";

  minimalOCamlVersion = "4.13";

  src = fetchurl {
    url = "https://github.com/leostera/colors/releases/download/${version}/colors-${version}.tbz";
    hash = "sha256-fY1j9FODVnifwsI8qkKm0QSmssgWqYFXJ7y8o7/KmEY=";
  };

  doCheck = true;

  checkInputs = [
    mdx
  ];

  nativeCheckInputs = [
    mdx.bin
  ];

  meta = {
    description = "A pure OCaml library for manipulating colors across color spaces";
    homepage = "https://github.com/leostera/colors";
    changelog = "https://github.com/leostera/colors/blob/${version}/CHANGES.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -231,6 +231,8 @@ let

    color = callPackage ../development/ocaml-modules/color { };

    colors = callPackage ../development/ocaml-modules/colors { };

    conduit = callPackage ../development/ocaml-modules/conduit { };

    conduit-async = callPackage ../development/ocaml-modules/conduit/async.nix { };