Merge #309242: docfd 4.0.0 -> 5.1.0

This commit is contained in:
nicoo 2024-05-05 22:50:17 +00:00 committed by GitHub
commit 1498b84f65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,15 +1,16 @@
{ lib
, ocamlPackages
, stdenv
, overrideSDK
, fetchFromGitHub
, python3
, dune_3
, makeWrapper
, pandoc
, poppler_utils
, testers
, docfd
{
lib,
ocamlPackages,
stdenv,
overrideSDK,
fetchFromGitHub,
python3,
dune_3,
makeWrapper,
pandoc,
poppler_utils,
testers,
docfd,
}:
let
@ -20,7 +21,7 @@ let
in
buildDunePackage' rec {
pname = "docfd";
version = "4.0.0";
version = "5.1.0";
minimalOCamlVersion = "5.1";
@ -28,10 +29,15 @@ buildDunePackage' rec {
owner = "darrenldl";
repo = "docfd";
rev = version;
hash = "sha256-fgwUXRZ6k5i3XLxXpjbrl0TJZMT+NkGXf7KNwRgi+q8=";
hash = "sha256-54gsX5C8AJAOkqnBxHLI76k6cEqWqEydxbZjJZl7FjE=";
};
nativeBuildInputs = [ python3 dune_3 makeWrapper ];
nativeBuildInputs = [
python3
dune_3
makeWrapper
];
buildInputs = with ocamlPackages; [
cmdliner
containers-data
@ -43,18 +49,24 @@ buildDunePackage' rec {
notty
ocolor
oseq
ppx_deriving
ppxlib
re
spelll
timedesc
yojson
];
postInstall = ''
wrapProgram $out/bin/docfd --prefix PATH : "${lib.makeBinPath [ pandoc poppler_utils ]}"
wrapProgram $out/bin/docfd --prefix PATH : "${
lib.makeBinPath [
pandoc
poppler_utils
]
}"
'';
passthru.tests.version = testers.testVersion {
package = docfd;
};
passthru.tests.version = testers.testVersion { package = docfd; };
meta = with lib; {
description = "TUI multiline fuzzy document finder";