mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
ocamlPackages.dtoa: 0.3.2 → 0.3.3
This commit is contained in:
parent
4c11be3b1a
commit
9cc5cd8fed
1 changed files with 6 additions and 10 deletions
|
@ -1,21 +1,17 @@
|
||||||
{ stdenv, lib, fetchurl, buildDunePackage, ounit }:
|
{ stdenv, lib, fetchurl, buildDunePackage, ocaml, ounit2 }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "dtoa";
|
pname = "dtoa";
|
||||||
version = "0.3.2";
|
version = "0.3.3";
|
||||||
|
|
||||||
useDune2 = true;
|
|
||||||
|
|
||||||
minimumOCamlVersion = "4.02";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||||
sha256 = "0zkhn0rdq82g6gamsv6nkx6i44s8104nh6jg5xydazl9jl1704xn";
|
hash = "sha256-2PRgjJ6Ssp4l6jHzv1/MqzlomQlJkKLVnRXG6KPJ7j4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ ounit ];
|
checkInputs = [ ounit2 ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow";
|
hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue