2010-04-30 13:23:26 +01:00
|
|
|
{ stdenv, fetchurl, boost }:
|
|
|
|
|
|
|
|
let
|
|
|
|
name = "source-highlight";
|
2013-09-04 18:55:54 +01:00
|
|
|
version = "3.1.7";
|
2010-04-30 13:23:26 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "${name}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-12-10 11:02:53 +00:00
|
|
|
url = "mirror://gnu/src-highlite/${name}-${version}.tar.gz";
|
|
|
|
sha256 = "1s49ld8cnpzhhwq0r7s0sfm3cg3nhhm0wla27lwraifrrl3y1cp1";
|
|
|
|
};
|
2010-04-30 13:23:26 +01:00
|
|
|
|
2011-09-05 00:06:03 +01:00
|
|
|
configureFlags = [ "--with-boost=${boost}" ];
|
2011-02-23 17:36:32 +00:00
|
|
|
|
2013-12-10 11:02:53 +00:00
|
|
|
buildInputs = [ boost ];
|
|
|
|
|
2013-12-16 16:03:19 +00:00
|
|
|
enableParallelBuilding = false;
|
2013-12-10 11:02:53 +00:00
|
|
|
|
2011-02-23 17:36:32 +00:00
|
|
|
doCheck = true;
|
2010-04-30 13:23:26 +01:00
|
|
|
|
|
|
|
meta = {
|
2013-12-10 11:02:53 +00:00
|
|
|
description = "Source code renderer with syntax highlighting";
|
|
|
|
homepage = http://www.gnu.org/software/src-highlite/;
|
2010-04-30 13:23:26 +01:00
|
|
|
license = "GPLv3+";
|
2013-12-10 11:02:53 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-04-30 13:23:26 +01:00
|
|
|
longDescription =
|
|
|
|
''
|
|
|
|
GNU Source-highlight, given a source file, produces a document
|
|
|
|
with syntax highlighting.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|