depot/pkgs/development/ocaml-modules/lwt/camlp4.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
693 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, camlp4 }:
buildDunePackage rec {
pname = "lwt_camlp4";
version = "unstable-2018-03-25";
src = fetchFromGitHub {
owner = "ocsigen";
repo = pname;
rev = "45f25a081e01071ab566924b48ba5f7553bb33ac";
sha256 = "1lv8z6ljfy47yvxmwf5jrvc5d3dc90r1n291x53j161sf22ddrk9";
};
duneVersion = "1";
minimalOCamlVersion = "4.02";
nativeBuildInputs = [ camlp4 ];
propagatedBuildInputs = [ camlp4 ];
preBuild = "rm META.lwt_camlp4";
meta = {
description = "Camlp4 syntax extension for Lwt (deprecated)";
license = lib.licenses.lgpl21;
inherit (src.meta) homepage;
maintainers = [ lib.maintainers.vbgl ];
};
}