2010-03-04 11:10:44 +00:00
|
|
|
{ fetchurl, xz, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-04-13 09:56:11 +01:00
|
|
|
name = "cppi-1.15";
|
2010-03-04 11:10:44 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/cppi/${name}.tar.xz";
|
2010-04-13 09:56:11 +01:00
|
|
|
sha256 = "1avwwpcwx6rvk9j4id8jq58n5kk756dwnd0wqw4a4p3smvby7gw2";
|
2010-03-04 11:10:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ xz ];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|