depot/pkgs/development/ocaml-modules/ppx_show/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

27 lines
596 B
Nix

{ 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 ];
};
}