ugrep: 7.1.0 -> 7.1.1

Changes: https://github.com/Genivia/ugrep/releases/tag/v7.1.1

Co-authored-by: Samuel Tardieu <sam@rfc1149.net>
This commit is contained in:
Ashish SHUKLA 2024-11-30 10:56:43 +00:00
parent fa42b5a5f4
commit fafa175582
No known key found for this signature in database

View File

@ -6,6 +6,7 @@
, bzip2
, bzip3
, lz4
, makeWrapper
, pcre2
, testers
, xz
@ -15,15 +16,17 @@
stdenv.mkDerivation (finalAttrs: {
pname = "ugrep";
version = "7.1.0";
version = "7.1.1";
src = fetchFromGitHub {
owner = "Genivia";
repo = "ugrep";
rev = "v${finalAttrs.version}";
hash = "sha256-H2c2PpdgjzPwR2aOFgQSLTeyxCBg4Ngibf0t1aT3xl8=";
hash = "sha256-l/AHt0OLI76AEOOziFXdfQdJlx6HqdFoEJ27YhwUJnQ=";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
boost
brotli
@ -36,6 +39,12 @@ stdenv.mkDerivation (finalAttrs: {
zstd
];
postFixup = ''
for i in ug+ ugrep+; do
wrapProgram "$out/bin/$i" --prefix PATH : "$out/bin"
done
'';
passthru.tests = {
version = testers.testVersion {
package = finalAttrs.finalPackage;