ocamlPackages.ppx_python: init at 0.14.0

This commit is contained in:
Vincent Laporte
2021-11-16 11:53:48 +01:00
committed by Vincent Laporte
parent 6abc7cd907
commit f27f14bd7a
2 changed files with 14 additions and 1 deletions
@@ -1,4 +1,5 @@
{ self
, fetchpatch
, lib
, openssl
, zstd
@@ -578,6 +579,18 @@ with self;
propagatedBuildInputs = [ ppxlib ];
};
ppx_python = janePackage {
pname = "ppx_python";
hash = "0gk4nqz4i9v3hwjg5mvgpgwj0dfcgpyc7ikba93cafyhn6fy83zk";
meta.description = "A [@@deriving] plugin to generate Python conversion functions ";
# Compatibility with ppxlib 0.23
patches = fetchpatch {
url = "https://github.com/janestreet/ppx_python/commit/b2fe0040cc39fa6164de868f8a20edb38d81170e.patch";
sha256 = "sha256:1mrdwp0zw3dqavzx3ffrmzq5cdlninyf67ksavfzxb8gb16w6zpz";
};
propagatedBuildInputs = [ ppx_base ppxlib pyml ];
};
ppx_sexp_conv = janePackage {
pname = "ppx_sexp_conv";
version = "0.14.3";
+1 -1
View File
@@ -1459,7 +1459,7 @@ let
if lib.versionOlder "4.08" ocaml.version
then import ../development/ocaml-modules/janestreet/0.14.nix {
inherit self;
inherit (pkgs) lib openssl zstd;
inherit (pkgs) fetchpatch lib openssl zstd;
}
else if lib.versionOlder "4.07" ocaml.version
then import ../development/ocaml-modules/janestreet/0.12.nix {