2012-01-18 20:53:01 +00:00
|
|
|
{ fetchurl, stdenv }:
|
2010-03-04 11:10:44 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-03-18 10:37:46 +00:00
|
|
|
name = "cppi-1.18";
|
2010-03-04 11:10:44 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/cppi/${name}.tar.xz";
|
2013-03-18 10:37:46 +00:00
|
|
|
sha256 = "1jk42cjaggk71rimjnx3qpmb6hivps0917vl3z7wbxk3i2whb98j";
|
2010-03-04 11:10:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://savannah.gnu.org/projects/cppi/;
|
|
|
|
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "A C preprocessor directive indenter";
|
2010-03-04 11:10:44 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2010-03-04 11:10:44 +00:00
|
|
|
|
2015-01-13 21:33:24 +00:00
|
|
|
maintainers = [ ];
|
2010-03-04 11:10:44 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|