nixpkgs-suyu/pkgs/development/tools/tradcpp/default.nix
Ryan Mulligan 219c6f7bbf tradcpp: 0.4 -> 0.5.2
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 0.5.2 with grep in /nix/store/s2kanna6c53sqm590xv8598j075j1ikb-tradcpp-0.5.2
- found 0.5.2 in filename of file in /nix/store/s2kanna6c53sqm590xv8598j075j1ikb-tradcpp-0.5.2
2018-03-09 15:02:50 -08:00

21 lines
567 B
Nix

{ stdenv, fetchurl, autoconf }:
stdenv.mkDerivation {
name = "tradcpp-0.5.2";
src = fetchurl {
url = http://ftp.netbsd.org/pub/NetBSD/misc/dholland/tradcpp-0.5.2.tar.gz;
sha256 = "1h2bwxwc13rz3g2236l89hm47f72hn3m4h7wjir3j532kq0m68bc";
};
# tradcpp only comes with BSD-make Makefile; the patch adds configure support
buildInputs = [ autoconf ];
preConfigure = "autoconf";
patches = [ ./tradcpp-configure.patch ];
meta = {
description = "A traditional (K&R-style) C macro preprocessor";
platforms = stdenv.lib.platforms.all;
};
}