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
1 changed files with 5 additions and 3 deletions

View File

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