ocamlPackages.camlp-streams: init at 5.0

This commit is contained in:
Vincent Laporte 2022-04-23 10:49:59 +02:00 committed by Vincent Laporte
parent ca5a8e77fc
commit 1904202908
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ lib, buildDunePackage, fetchFromGitHub }:
buildDunePackage rec {
pname = "camlp-streams";
version = "5.0";
src = fetchFromGitHub {
owner = "ocaml";
repo = pname;
rev = "v${version}";
sha256 = "sha256:1wd5k0irzwi841b27pbx0n5fdybbgx97184zm8cjajizd2j8w0g5";
};
meta = {
description = "Stream and Genlex libraries for use with Camlp4 and Camlp5";
license = lib.licenses.lgpl21Only;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -105,6 +105,8 @@ let
camlidl = callPackage ../development/tools/ocaml/camlidl { };
camlp-streams = callPackage ../development/ocaml-modules/camlp-streams { };
camlp4 =
if lib.versionOlder "4.02" ocaml.version
then callPackage ../development/tools/ocaml/camlp4 { }