depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ppx_derivers/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

24 lines
554 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
buildDunePackage rec {
pname = "ppx_derivers";
version = "1.2.1";
useDune2 = lib.versionAtLeast ocaml.version "4.08";
minimumOCamlVersion = "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;
};
}