mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
28 lines
596 B
Nix
28 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 ];
|
|
};
|
|
}
|