ocamlPackages.camomile: 0.8.5 -> 0.8.6

+53 -23
+30
pkgs/development/ocaml-modules/camomile/0.8.5.nix
···
··· 1 + {stdenv, fetchurl, fetchpatch, ocaml, findlib, camlp4}: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "camomile-${version}"; 5 + version = "0.8.5"; 6 + 7 + src = fetchurl { 8 + url = https://github.com/yoriyuki/Camomile/releases/download/rel-0.8.5/camomile-0.8.5.tar.bz2; 9 + sha256 = "003ikpvpaliy5hblhckfmln34zqz0mk3y2m1fqvbjngh3h2np045"; 10 + }; 11 + 12 + patches = [ (fetchpatch { 13 + url = https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/camomile/camomile.0.8.5/files/4.05-typing-fix.patch; 14 + sha256 = "167279lia6qx62mdcyc5rjsi4gf4yi52wn9mhgd9y1v3754z7fwb"; 15 + })]; 16 + 17 + buildInputs = [ocaml findlib camlp4]; 18 + 19 + createFindlibDestdir = true; 20 + 21 + meta = { 22 + homepage = https://github.com/yoriyuki/Camomile/tree/master/Camomile; 23 + description = "A comprehensive Unicode library for OCaml"; 24 + license = stdenv.lib.licenses.lgpl21; 25 + platforms = ocaml.meta.platforms or []; 26 + maintainers = [ 27 + stdenv.lib.maintainers.z77z 28 + ]; 29 + }; 30 + }
+19 -22
pkgs/development/ocaml-modules/camomile/default.nix
··· 1 - {stdenv, fetchurl, fetchpatch, ocaml, findlib, camlp4}: 2 3 stdenv.mkDerivation rec { 4 - name = "camomile-${version}"; 5 - version = "0.8.5"; 6 7 - src = fetchurl { 8 - url = https://github.com/yoriyuki/Camomile/releases/download/rel-0.8.5/camomile-0.8.5.tar.bz2; 9 - sha256 = "003ikpvpaliy5hblhckfmln34zqz0mk3y2m1fqvbjngh3h2np045"; 10 - }; 11 12 - patches = [ (fetchpatch { 13 - url = https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/camomile/camomile.0.8.5/files/4.05-typing-fix.patch; 14 - sha256 = "167279lia6qx62mdcyc5rjsi4gf4yi52wn9mhgd9y1v3754z7fwb"; 15 - })]; 16 17 - buildInputs = [ocaml findlib camlp4]; 18 19 - createFindlibDestdir = true; 20 21 - meta = { 22 - homepage = https://github.com/yoriyuki/Camomile/tree/master/Camomile; 23 - description = "A comprehensive Unicode library for OCaml"; 24 - license = stdenv.lib.licenses.lgpl21; 25 - platforms = ocaml.meta.platforms or []; 26 - maintainers = [ 27 - stdenv.lib.maintainers.z77z 28 - ]; 29 - }; 30 }
··· 1 + { stdenv, fetchFromGitHub, ocaml, findlib, jbuilder, cppo }: 2 3 stdenv.mkDerivation rec { 4 + version = "0.8.6"; 5 + name = "ocaml${ocaml.version}-camomile-${version}"; 6 7 + src = fetchFromGitHub { 8 + owner = "yoriyuki"; 9 + repo = "camomile"; 10 + rev = "rel-${version}"; 11 + sha256 = "1jq1xhaikczk6lbvas7c35aa04q0kjaqd8m54c4jivpj80yvg4x9"; 12 + }; 13 14 + buildInputs = [ ocaml findlib jbuilder cppo ]; 15 16 + configurePhase = "ocaml configure.ml --share $out/share/camomile"; 17 18 + inherit (jbuilder) installPhase; 19 20 + meta = { 21 + inherit (ocaml.meta) platforms; 22 + inherit (src.meta) homepage; 23 + maintainers = [ stdenv.lib.maintainers.vbgl ]; 24 + license = stdenv.lib.licenses.lgpl21; 25 + description = "A Unicode library for OCaml"; 26 + }; 27 }
+4 -1
pkgs/top-level/ocaml-packages.nix
··· 98 camlzip = callPackage ../development/ocaml-modules/camlzip { }; 99 100 camomile_0_8_2 = callPackage ../development/ocaml-modules/camomile/0.8.2.nix { }; 101 - camomile = callPackage ../development/ocaml-modules/camomile { }; 102 103 camlimages_4_0 = 104 if lib.versionOlder "4.02" ocaml.version
··· 98 camlzip = callPackage ../development/ocaml-modules/camlzip { }; 99 100 camomile_0_8_2 = callPackage ../development/ocaml-modules/camomile/0.8.2.nix { }; 101 + camomile = 102 + if lib.versionOlder "4.03" ocaml.version 103 + then callPackage ../development/ocaml-modules/camomile { } 104 + else callPackage ../development/ocaml-modules/camomile/0.8.5.nix { }; 105 106 camlimages_4_0 = 107 if lib.versionOlder "4.02" ocaml.version