Unverified Commit d86df2d6 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #231529 from vbgl/ocaml-dtoa-0.3.3

ocamlPackages.dtoa: 0.3.2 → 0.3.3
parents fb787219 9cc5cd8f
Loading
Loading
Loading
Loading
+6 −10
Original line number Diff line number Diff line
{ stdenv, lib, fetchurl, buildDunePackage, ounit }:
{ stdenv, lib, fetchurl, buildDunePackage, ocaml, ounit2 }:

buildDunePackage rec {
  pname = "dtoa";
  version = "0.3.2";

  useDune2 = true;

  minimumOCamlVersion = "4.02";
  version = "0.3.3";

  src = fetchurl {
    url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
    sha256 = "0zkhn0rdq82g6gamsv6nkx6i44s8104nh6jg5xydazl9jl1704xn";
    url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
    hash = "sha256-2PRgjJ6Ssp4l6jHzv1/MqzlomQlJkKLVnRXG6KPJ7j4=";
  };

  checkInputs = [ ounit ];
  checkInputs = [ ounit2 ];

  doCheck = true;
  doCheck = lib.versionAtLeast ocaml.version "4.08";

  hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow";