2015-02-23 01:45:08 +01:00
|
|
|
{ stdenv, fetchurl, perl }:
|
2015-01-11 15:21:25 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "6.0.1";
|
|
|
|
name = "coan-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.sourceforge.net/project/coan2/v${version}/${name}.tar.gz";
|
|
|
|
sha256 = "1d041j0nd1hc0562lbj269dydjm4rbzagdgzdnmwdxr98544yw44";
|
|
|
|
};
|
|
|
|
|
2015-06-17 19:36:06 +02:00
|
|
|
nativeBuildInputs = [ perl ];
|
2015-01-11 15:21:25 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-01-12 21:38:31 +01:00
|
|
|
postInstall = ''
|
|
|
|
mv -v $out/share/man/man1/coan.1.{1,gz}
|
|
|
|
'';
|
|
|
|
|
2015-01-11 15:21:25 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The C preprocessor chainsaw";
|
|
|
|
longDescription = ''
|
|
|
|
A software engineering tool for analysing preprocessor-based
|
|
|
|
configurations of C or C++ source code. Its principal use is to simplify
|
|
|
|
a body of source code by eliminating any parts that are redundant with
|
|
|
|
respect to a specified configuration. Dead code removal is an
|
|
|
|
application of this sort.
|
|
|
|
'';
|
|
|
|
homepage = http://coan2.sourceforge.net/;
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.bsd3;
|
2015-03-01 12:31:26 +01:00
|
|
|
platforms = with platforms; linux;
|
2015-01-11 15:21:25 +01:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
|
|
|
};
|
|
|
|
}
|