18 stdenv.mkDerivation (finalAttrs: {
21 src = fetchFromSavannah {
23 rev = finalAttrs.version;
24 hash = "sha256-sBftXl4hWs4bKw5weHkif1KIJBpheU/RCePx0WXuv9o=";
28 substituteInPlace config/config.c --replace /bin/cat ${coreutils}/bin/cat
34 --replace '"/bin/sh"' '"${runtimeShell}"'
35 # the "cleanup" pseudo-test makes diagnosing test failures a pain
36 ln -s -f ${stdenv}/bin/true test/cleanup
55 NIX_CFLAGS_COMPILE = "-Wno-stringop-truncation";
57 enableParallelBuilding = true;
60 description = "New MH Mail Handling System";
61 homepage = "https://nmh.nongnu.org/";
62 downloadPage = "http://download.savannah.nongnu.org/releases/nmh/";
63 changelog = "http://savannah.nongnu.org/news/?group=nmh";
64 license = [ lib.licenses.bsd3 ];
66 This is the nmh mail user agent (reader/sender), a command-line based
67 mail reader that is powerful and extensible. nmh is an excellent choice
68 for people who receive and process a lot of mail.
70 Unlike most mail user agents, nmh is not a single program, rather it is
71 a set of programs that are run from the shell. This allows the user to
72 utilize the full power of the Unix shell in coordination with nmh.
73 Various front-ends are available, such as mh-e (an emacs mode), xmh, and
76 nmh was originally based on MH version 6.8.3, and is intended to be a
77 (mostly) compatible drop-in replacement for MH.
79 These tools are mainly useful for writing scripts that manipulating
80 claws-mail's mail folders. Most other mail clients have migrated to