add patdiff-bin

This commit is contained in:
xenia 2025-09-12 00:34:11 -04:00
parent 47b498ae18
commit 3f470a0965
3 changed files with 18 additions and 0 deletions

View File

@ -490,6 +490,10 @@ libsystemd implementation in native ocaml: <https://git.lain.faith/haskal/system
the ocaml html docs package from opam
### [`ocamlPackages.patdiff-bin`](./pkgs/ocaml/patdiff-bin)
a repackaged version of `ocamlPackages.patdiff` with a reduced closure size
### [`python312Packages.feedvalidator` or `feedvalidator`](./pkgs/python/feedvalidator)
the W3C atom/RSS feed validator library, <https://github.com/w3c/feedvalidator>

View File

@ -24,6 +24,8 @@ final: prev: {
systemd-ml = ofinal.callPackage ./pkgs/ocaml/systemd-ml {};
ocaml-manual = ofinal.callPackage ./pkgs/ocaml/ocaml-manual {};
patdiff-bin = ofinal.callPackage ./pkgs/ocaml/patdiff-bin {};
});
python312Packages = prev.python312Packages.overrideScope (pfinal: pprev: {

View File

@ -0,0 +1,12 @@
{
runCommand,
patdiff,
}: runCommand "patdiff-bin-${patdiff.version}" {
nativeBuildInputs = [];
strictDeps = true;
meta.mainProgram = "patdiff";
} ''
mkdir -p $out
cp -r ${patdiff}/bin $out
cp -r ${patdiff}/share $out
''