1 { lib, gccStdenv, fetchurl }:
3 gccStdenv.mkDerivation rec {
8 url = "https://pldaniels.com/${pname}/${pname}-${version}.tar.gz";
9 sha256 = "15zxg6spcmd35r6xbidq2fgcg2nzyv1sbbqds08lzll70mqx4pj7";
12 env.NIX_CFLAGS_COMPILE = toString [
14 "-Wno-error=format-truncation"
15 "-Wno-error=pointer-compare"
16 "-Wno-error=memset-elt-size"
22 substituteInPlace Makefile --replace "/usr/local" "$out"
26 description = "MIME alteration tool";
27 maintainers = [ maintainers.raskin ];
28 platforms = platforms.all;
29 license.fullName = "alterMIME LICENSE";
30 downloadPage = "https://pldaniels.com/altermime/";
31 mainProgram = "altermime";