mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
25 lines
554 B
Nix
25 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;
|
|
};
|
|
}
|