Add tradcpp package, needed for making imake work.
(cherry picked from commit e0c197b2f4fa53ebd7896940e6e14170664de8e7)
This commit is contained in:
parent
ad60eaedf1
commit
b611e3fb61
20
pkgs/development/tools/tradcpp/default.nix
Normal file
20
pkgs/development/tools/tradcpp/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
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
|
||||
patches = [ ./tradcpp-configure.patch ];
|
||||
postPatch = "chmod +x configure";
|
||||
|
||||
meta = {
|
||||
description = "A traditional (K&R-style) C macro preprocessor";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
|
||||
}
|
3771
pkgs/development/tools/tradcpp/tradcpp-configure.patch
Normal file
3771
pkgs/development/tools/tradcpp/tradcpp-configure.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -2823,6 +2823,8 @@ let
|
||||
|
||||
tm = callPackage ../tools/system/tm { };
|
||||
|
||||
tradcpp = callPackage ../development/tools/tradcpp { };
|
||||
|
||||
trang = callPackage ../tools/text/xml/trang { };
|
||||
|
||||
tre = callPackage ../development/libraries/tre { };
|
||||
|
Loading…
Reference in New Issue
Block a user