1{ fetchurl, stdenv }:
2
3stdenv.mkDerivation rec {
4 name = "cppi-1.18";
5
6 src = fetchurl {
7 url = "mirror://gnu/cppi/${name}.tar.xz";
8 sha256 = "1jk42cjaggk71rimjnx3qpmb6hivps0917vl3z7wbxk3i2whb98j";
9 };
10
11 doCheck = true;
12
13 meta = {
14 homepage = http://savannah.gnu.org/projects/cppi/;
15
16 description = "A C preprocessor directive indenter";
17
18 longDescription =
19 '' GNU cppi indents C preprocessor directives to reflect their nesting
20 and ensure that there is exactly one space character between each #if,
21 #elif, #define directive and the following token. The number of
22 spaces between the `#' and the following directive must correspond
23 to the level of nesting of that directive.
24 '';
25
26 license = stdenv.lib.licenses.gpl3Plus;
27
28 maintainers = [ ];
29 platforms = stdenv.lib.platforms.all;
30 };
31}