ocamlPackages.stdint: disable for OCaml < 4.07

This commit is contained in:
Vincent Laporte 2020-01-14 09:30:23 +01:00 committed by Vincent Laporte
parent f37db11fa7
commit cacbe5f342

View File

@ -1,9 +1,11 @@
{ stdenv, fetchFromGitHub, buildDunePackage }: { lib, fetchFromGitHub, buildDunePackage }:
buildDunePackage rec { buildDunePackage rec {
pname = "stdint"; pname = "stdint";
version = "0.6.0"; version = "0.6.0";
minimumOCamlVersion = "4.07";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "andrenth"; owner = "andrenth";
repo = "ocaml-stdint"; repo = "ocaml-stdint";
@ -14,7 +16,7 @@ buildDunePackage rec {
meta = { meta = {
description = "Various signed and unsigned integers for OCaml"; description = "Various signed and unsigned integers for OCaml";
homepage = "https://github.com/andrenth/ocaml-stdint"; homepage = "https://github.com/andrenth/ocaml-stdint";
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.gebner ]; maintainers = [ lib.maintainers.gebner ];
}; };
} }