1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 mdx,
6}:
7
8buildDunePackage rec {
9 pname = "colors";
10 version = "0.0.1";
11
12 minimalOCamlVersion = "4.13";
13
14 src = fetchurl {
15 url = "https://github.com/leostera/colors/releases/download/${version}/colors-${version}.tbz";
16 hash = "sha256-fY1j9FODVnifwsI8qkKm0QSmssgWqYFXJ7y8o7/KmEY=";
17 };
18
19 doCheck = true;
20
21 checkInputs = [
22 mdx
23 ];
24
25 nativeCheckInputs = [
26 mdx.bin
27 ];
28
29 meta = {
30 description = "Pure OCaml library for manipulating colors across color spaces";
31 homepage = "https://github.com/leostera/colors";
32 changelog = "https://github.com/leostera/colors/blob/${version}/CHANGES.md";
33 license = lib.licenses.mit;
34 maintainers = [ ];
35 };
36}