patdiff: move inside ocamlPackages

This commit is contained in:
Vincent Laporte 2022-07-24 13:56:52 +02:00 committed by Vincent Laporte
parent d97e1645ac
commit 242001d836
4 changed files with 10 additions and 16 deletions

View file

@ -2,7 +2,6 @@
, fetchpatch
, lib
, openssl
, patdiff
, zstd
}:
@ -452,6 +451,15 @@ with self;
propagatedBuildInputs = [ base sexplib0 ];
};
patdiff = janePackage {
pname = "patdiff";
hash = "0623a7n5r659rkxbp96g361mvxkcgc6x9lcbkm3glnppplk5kxr9";
propagatedBuildInputs = [ core_unix patience_diff ocaml_pcre ];
meta = {
description = "File Diff using the Patience Diff algorithm";
};
};
patience_diff = janePackage {
pname = "patience_diff";
hash = "17yrhn4qfi31m8g1ygb3m6i9z4fqd8f60fn6viazgx06s3x4xp3v";

View file

@ -1,12 +0,0 @@
{ ocamlPackages }:
with ocamlPackages;
janePackage {
pname = "patdiff";
hash = "0623a7n5r659rkxbp96g361mvxkcgc6x9lcbkm3glnppplk5kxr9";
propagatedBuildInputs = [ core_unix patience_diff ocaml_pcre ];
meta = {
description = "File Diff using the Patience Diff algorithm";
};
}

View file

@ -4366,8 +4366,6 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
patdiff = callPackage ../tools/misc/patdiff { };
patool = with python3Packages; toPythonApplication patool;
pbgopy = callPackage ../tools/text/pbgopy { };

View file

@ -1547,7 +1547,7 @@ let
if lib.versionOlder "4.10.2" ocaml.version
then import ../development/ocaml-modules/janestreet/0.15.nix {
inherit self;
inherit (pkgs) fetchpatch lib openssl patdiff zstd;
inherit (pkgs) fetchpatch lib openssl zstd;
}
else if lib.versionOlder "4.08" ocaml.version
then import ../development/ocaml-modules/janestreet/0.14.nix {