1 { lib, stdenv, fetchurl, perlPackages, mutt }:
8 url = "http://www.barsnick.net/sw/grepm";
9 sha256 = "0ppprhfw06779hz1b10qvq62gsw73shccsav982dyi6xmqb6jqji";
14 buildInputs = [ perlPackages.grepmail mutt ];
18 cp -a $src $out/bin/grepm
19 chmod +x $out/bin/grepm
21 -e "s:^grepmail:${perlPackages.grepmail}/bin/grepmail:" \
22 -e "s:^\( *\)mutt:\1${mutt}/bin/mutt:" \
27 description = "Wrapper for grepmail utilizing mutt";
28 homepage = "https://www.barsnick.net/sw/grepm.html";
29 license = licenses.free;
30 platforms = platforms.unix;
31 maintainers = [ maintainers.romildo ];
32 mainProgram = "grepm";