mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 06:08:16 +03:00
ocamlPackages.ppx_show: init at 0.2.1
This commit is contained in:
parent
1d28d7840e
commit
9aae03dd45
27
pkgs/development/ocaml-modules/ppx_show/default.nix
Normal file
27
pkgs/development/ocaml-modules/ppx_show/default.nix
Normal file
@ -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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user