mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #56206 from vbgl/ocaml-cleaning-ligustro
ocamlPackages: disable a few libraries that do not build with old OCaml versions
This commit is contained in:
commit
d73bc6d06a
6 changed files with 8 additions and 3 deletions
|
@ -4,6 +4,8 @@ buildDunePackage rec {
|
|||
pname = "atd";
|
||||
version = "2.0.0";
|
||||
|
||||
minimumOCamlVersion = "4.02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mjambon";
|
||||
repo = pname;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ buildDunePackage, bisect_ppx, ocamlbuild }:
|
||||
|
||||
buildDunePackage rec {
|
||||
minimumOCamlVersion = "4.02";
|
||||
inherit (bisect_ppx) version src meta;
|
||||
pname = "bisect_ppx-ocamlbuild";
|
||||
propagatedBuildInputs = [ ocamlbuild ];
|
||||
|
|
|
@ -4,7 +4,7 @@ buildDunePackage rec {
|
|||
pname = "dtoa";
|
||||
version = "0.3.1";
|
||||
|
||||
minimumOCamlVersion = "4.01";
|
||||
minimumOCamlVersion = "4.02";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
|
|
|
@ -4,6 +4,8 @@ buildDunePackage rec {
|
|||
pname = "opti";
|
||||
version = "1.0.3";
|
||||
|
||||
minimumOCamlVersion = "4.02";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/magnusjonsson/opti/releases/download/${version}/opti-${version}.tbz";
|
||||
sha256 = "ed9ba56dc06e9d2b1bf097964cc65ea37db787d4f239c13d0dd74693f5b50a1e";
|
||||
|
|
|
@ -4,7 +4,7 @@ buildDunePackage rec {
|
|||
pname = "wtf8";
|
||||
version = "1.0.1";
|
||||
|
||||
minimumOCamlVersion = "4.01";
|
||||
minimumOCamlVersion = "4.02";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, lambdaTerm, cppo, makeWrapper
|
||||
}:
|
||||
|
||||
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
|
||||
if !stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||
then throw "utop is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
|
|
Loading…
Reference in a new issue