depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ppx_derivers/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

24 lines
590 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
buildDunePackage (rec {
pname = "ppx_derivers";
version = "1.2.1";
minimalOCamlVersion = "4.02";
src = fetchFromGitHub {
owner = "diml";
repo = pname;
rev = version;
sha256 = "0yqvqw58hbx1a61wcpbnl9j30n495k23qmyy2xwczqs63mn2nkpn";
};
meta = {
description = "Shared [@@deriving] plugin registry";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
} // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") {
duneVersion = "1";
})