ocamlPackages.camlp-streams: init at 5.0

main
Vincent Laporte 2 years ago committed by Vincent Laporte
parent ca5a8e77fc
commit 1904202908
  1. 20
      pkgs/development/ocaml-modules/camlp-streams/default.nix
  2. 2
      pkgs/top-level/ocaml-packages.nix

@ -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 ];
};
}

@ -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 { }

Loading…
Cancel
Save