nixpkgs/pkgs/development/ocaml-modules/ppx_gen_rec/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

24 lines
671 B
Nix

{ lib, fetchurl, buildDunePackage, ppxlib }:
buildDunePackage rec {
pname = "ppx_gen_rec";
version = "2.0.0";
src = fetchurl {
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
sha256 = "sha256-/mMj5UT22KQGVy1sjgEoOgPzyCYyeDPtWJYNDvQ9nlk=";
};
minimalOCamlVersion = "4.07";
duneVersion = "3";
buildInputs = [ ppxlib ];
meta = with lib; {
homepage = "https://github.com/flowtype/ocaml-ppx_gen_rec";
description = "Ppx rewriter that transforms a recursive module expression into a struct";
license = licenses.mit;
maintainers = with maintainers; [ frontsideair ];
};
}