mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
93343fbb33
Generate configure using autoconf instead of including it in the patch.
22 lines
575 B
Nix
22 lines
575 B
Nix
{ stdenv, fetchurl, autoconf }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "tradcpp-0.4";
|
|
|
|
src = fetchurl {
|
|
url = http://ftp.netbsd.org/pub/NetBSD/misc/dholland/tradcpp-0.4.tar.gz;
|
|
sha256 = "c60aa356945e0b6634bd449ead6a4fca0059d2ce3ae8044cf982140bbd54e688";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
|
|
}
|