7 # This repository has numbered versions, but not Git tags.
8 rev = "b7d180fe73636740f694ec60c1ffab52b06e7150";
12 version = "3.41.5-unstable-2022-03-23";
14 src = fetchFromGitHub {
18 hash = "sha256-2J4bw5BVZgTEcIn9IuD5Q8/L+8tldDbToDefuxDf85g=";
21 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
23 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-std=c89";
28 install -Dm 555 agrep -t "$out/bin"
29 install -Dm 444 docs/* -t "$out/doc"
35 description = "Approximate grep for fast fuzzy string searching";
36 mainProgram = "agrep";
37 homepage = "https://www.tgries.de/agrep/";
38 maintainers = with lib.maintainers; [ momeemt ];
39 changelog = "https://github.com/Wikinaut/agrep/blob/${rev}/CHANGES";
40 license = lib.licenses.isc;
41 platforms = lib.platforms.unix;