ugrep: 7.1.0 -> 7.1.1 (#360373)

This commit is contained in:
Weijia Wang 2024-12-04 00:44:55 +01:00 committed by GitHub
commit 2f17e933b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;