1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/tools/networking/altermime/default.nix
2017-08-01 12:34:12 +02:00

29 lines
666 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
baseName = "altermime";
name = "${baseName}-${version}";
version = "0.3.11";
src = fetchurl {
url = "http://www.pldaniels.com/${baseName}/${name}.tar.gz";
sha256 = "15zxg6spcmd35r6xbidq2fgcg2nzyv1sbbqds08lzll70mqx4pj7";
};
NIX_CFLAGS_COMPILE = "-Wno-error=format";
postPatch = ''
sed -i Makefile -e "s@/usr/local@$out@"
mkdir -p "$out/bin"
'';
meta = {
description = "MIME alteration tool";
maintainers = with stdenv.lib.maintainers; [
raskin
];
platforms = with stdenv.lib.platforms; linux;
downloadPage = "http://www.pldaniels.com/altermime/";
};
}