ocamlPackages.ppx_show: init at 0.2.1
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{ lib, buildDunePackage, fetchFromGitHub
|
||||
, stdcompat, ppxlib
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ppx_show";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thierry-martinez";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-YwWAdOtb0zg2hqNkGRiigz/Pci8Jy/QD+WyUEohEsns=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
stdcompat
|
||||
ppxlib
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/thierry-martinez/${pname}";
|
||||
description = "OCaml PPX deriver for deriving show based on ppxlib";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ niols ];
|
||||
};
|
||||
}
|
||||
@@ -1375,6 +1375,8 @@ let
|
||||
|
||||
ppx_repr = callPackage ../development/ocaml-modules/repr/ppx.nix { };
|
||||
|
||||
ppx_show = callPackage ../development/ocaml-modules/ppx_show { };
|
||||
|
||||
ppx_tools =
|
||||
if lib.versionAtLeast ocaml.version "4.02"
|
||||
then callPackage ../development/ocaml-modules/ppx_tools {}
|
||||
|
||||
Reference in New Issue
Block a user