mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
30 lines
722 B
Nix
30 lines
722 B
Nix
{ lib, buildDunePackage, fetchurl, ppxlib, alcotest
|
|
, ppx_deriving, yaml
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ppx_deriving_yaml";
|
|
version = "0.1.0";
|
|
|
|
useDune2 = true;
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${version}/ppx_deriving_yaml-v${version}.tbz";
|
|
sha256 = "kdonUD4Y8QhVSAFAafIpXBFPkS4pSScYwJbaWMn/6pA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ ppxlib ppx_deriving yaml ];
|
|
|
|
doCheck = true;
|
|
checkInputs = [ alcotest ];
|
|
|
|
meta = {
|
|
description = "A YAML codec generator for OCaml";
|
|
homepage = "https://github.com/patricoferris/ppx_deriving_yaml";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ ];
|
|
};
|
|
}
|