2021-02-28 20:57:17 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
|
2017-08-23 17:17:59 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
2021-01-21 00:24:35 +00:00
|
|
|
pname = "ppx_derivers";
|
|
|
|
version = "1.2.1";
|
2017-08-23 17:17:59 +00:00
|
|
|
|
2021-02-28 20:57:17 +00:00
|
|
|
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
|
2021-01-21 00:24:35 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "diml";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0yqvqw58hbx1a61wcpbnl9j30n495k23qmyy2xwczqs63mn2nkpn";
|
|
|
|
};
|
2017-08-23 17:17:59 +00:00
|
|
|
|
2021-01-21 00:24:35 +00:00
|
|
|
meta = {
|
|
|
|
description = "Shared [@@deriving] plugin registry";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
2017-08-23 17:17:59 +00:00
|
|
|
}
|