7 stdenv.mkDerivation (finalAttrs: {
12 url = "https://sourceforge.net/projects/gema/files/gema/gema-${finalAttrs.version}/gema-${finalAttrs.version}-source.tar.gz";
13 hash = "sha256-c7qxgZYk/QaqocjRXVlgJxUWCgf3T1JBY7v9Fg9YfIU=";
16 makeFlags = [ "--directory=src" ];
18 nativeBuildInputs = [ installShellFiles ];
22 install -Dm755 src/gema -t $out/bin
23 installManPage doc/gema.1
28 description = "General purpose text processing utility based on the concept of pattern matching";
29 longDescription = "Reads an input file and copies it to an output file transforming the data as specified by the patterns defined by the user.";
30 homepage = "https://gema.sourceforge.net/";
31 license = lib.licenses.mit;
33 maintainers = with lib.maintainers; [ quag ];
34 platforms = lib.platforms.unix;