Skip to content
Snippets Groups Projects
Commit b2c5bbc2 authored by Virgile Prevosto's avatar Virgile Prevosto Committed by Andre Maroneze
Browse files

[nix] ppx_deriving_yaml nix package is too old. use a custom derivation

parent c2e3552a
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ let ...@@ -8,6 +8,7 @@ let
mlmpfr = oself.callPackage ./mlmpfr.nix {}; mlmpfr = oself.callPackage ./mlmpfr.nix {};
why3 = oself.callPackage ./why3.nix {}; why3 = oself.callPackage ./why3.nix {};
yaml = oself.callPackage ./yaml.nix {}; yaml = oself.callPackage ./yaml.nix {};
ppx_deriving_yaml = oself.callPackage ./ppx_deriving_yaml.nix {};
# Helpers # Helpers
mk_tests = oself.callPackage ./mk_tests.nix {}; mk_tests = oself.callPackage ./mk_tests.nix {};
mk_plugin = oself.callPackage ./mk_plugin.nix {}; mk_plugin = oself.callPackage ./mk_plugin.nix {};
......
{ lib, buildDunePackage, fetchurl, ppxlib, alcotest, mdx
, ppx_deriving, yaml
}:
buildDunePackage rec {
pname = "ppx_deriving_yaml";
version = "0.2.1";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${version}/ppx_deriving_yaml-${version}.tbz";
sha256 = "sha256-3vmay8UY7d3j96VOQ+D3oYEotzVls91F51ebXWQ/9SQ=";
};
propagatedBuildInputs = [ ppxlib ppx_deriving yaml ];
doCheck = true;
checkInputs = [ alcotest mdx ];
meta = {
description = "A YAML codec generator for OCaml";
homepage = "https://github.com/patricoferris/ppx_deriving_yaml";
license = lib.licenses.isc;
maintainers = [ ];
};
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment