mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
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:
parent
fa42b5a5f4
commit
fafa175582
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user