2012-01-18 21:53:01 +01:00
|
|
|
{ fetchurl, stdenv }:
|
2010-03-04 12:10:44 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-04-09 22:51:22 +02:00
|
|
|
name = "cppi-1.16";
|
2010-03-04 12:10:44 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/cppi/${name}.tar.xz";
|
2012-04-09 22:51:22 +02:00
|
|
|
sha256 = "16i4j80wam7p189xc9i2ijrcgjn684296rym6ja3nlqv8rv90lm8";
|
2010-03-04 12:10:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://savannah.gnu.org/projects/cppi/;
|
|
|
|
|
|
|
|
description = "GNU cppi, a cpp directive indenter";
|
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' GNU cppi indents C preprocessor directives to reflect their nesting
|
|
|
|
and ensure that there is exactly one space character between each #if,
|
|
|
|
#elif, #define directive and the following token. The number of
|
|
|
|
spaces between the `#' and the following directive must correspond
|
|
|
|
to the level of nesting of that directive.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "GPLv3+";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|