mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
ocamlPackages.color: init at 0.2.0
This commit is contained in:
parent
9ff962dd55
commit
0ad041e5bc
29
pkgs/development/ocaml-modules/color/default.nix
Normal file
29
pkgs/development/ocaml-modules/color/default.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user