mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
755b915a15
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/'
29 lines
744 B
Nix
29 lines
744 B
Nix
{ lib, buildDunePackage, fetchurl, ppxlib, alcotest, mdx
|
|
, ppx_deriving, yaml
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ppx_deriving_yaml";
|
|
version = "0.2.2";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${version}/ppx_deriving_yaml-${version}.tbz";
|
|
hash = "sha256-9xy43jaCpKo/On5sTTt8f0Mytyjj1JN2QuFMcoWYTBY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ ppxlib ppx_deriving yaml ];
|
|
|
|
doCheck = true;
|
|
checkInputs = [ alcotest ];
|
|
nativeCheckInputs = [ mdx.bin ];
|
|
|
|
meta = {
|
|
description = "YAML codec generator for OCaml";
|
|
homepage = "https://github.com/patricoferris/ppx_deriving_yaml";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ ];
|
|
};
|
|
}
|