diff options
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/color/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/ocaml-modules/color/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/color/default.nix b/nixpkgs/pkgs/development/ocaml-modules/color/default.nix new file mode 100644 index 000000000000..84d2f11d8629 --- /dev/null +++ b/nixpkgs/pkgs/development/ocaml-modules/color/default.nix @@ -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"; + }; +} |