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