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