ocamlPackages.color: init at 0.2.0

This commit is contained in:
Francesco Gazzetta 2021-05-11 11:50:23 +02:00 committed by Vincent Laporte
parent 9ff962dd55
commit 0ad041e5bc
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib
, fetchurl
, buildDunePackage
, gg
}:
buildDunePackage rec {
pname = "color";
version = "0.2.0";
useDune2 = true;
minimalOCamlVersion = "4.05";
src = fetchurl {
url = "https://github.com/anuragsoni/color/releases/download/${version}/color-${version}.tbz";
sha256 = "0wg3a36i1a7fnz5pf57qzbdghwr6dzp7nnxyrz9m9765lxsn65ph";
};
propagatedBuildInputs = [
gg
];
meta = with lib; {
description = "Converts between different color formats";
license = licenses.mit;
maintainers = with maintainers; [ fgaz ];
homepage = "https://github.com/anuragsoni/color";
};
}

View File

@ -183,6 +183,8 @@ let
cohttp-mirage = callPackage ../development/ocaml-modules/cohttp/mirage.nix { };
color = callPackage ../development/ocaml-modules/color { };
conduit = callPackage ../development/ocaml-modules/conduit { };
conduit-async = callPackage ../development/ocaml-modules/conduit/async.nix { };