forked from mirrors/nixpkgs
ocamlPackages.camlp-streams: init at 5.0
This commit is contained in:
parent
ca5a8e77fc
commit
1904202908
20
pkgs/development/ocaml-modules/camlp-streams/default.nix
Normal file
20
pkgs/development/ocaml-modules/camlp-streams/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -105,6 +105,8 @@ let
|
||||||
|
|
||||||
camlidl = callPackage ../development/tools/ocaml/camlidl { };
|
camlidl = callPackage ../development/tools/ocaml/camlidl { };
|
||||||
|
|
||||||
|
camlp-streams = callPackage ../development/ocaml-modules/camlp-streams { };
|
||||||
|
|
||||||
camlp4 =
|
camlp4 =
|
||||||
if lib.versionOlder "4.02" ocaml.version
|
if lib.versionOlder "4.02" ocaml.version
|
||||||
then callPackage ../development/tools/ocaml/camlp4 { }
|
then callPackage ../development/tools/ocaml/camlp4 { }
|
||||||
|
|
Loading…
Reference in a new issue