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