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 {
|
2013-12-10 12:02:53 +01:00
|
|
|
url = "mirror://gnu/src-highlite/${name}-${version}.tar.gz";
|
|
|
|
sha256 = "1s49ld8cnpzhhwq0r7s0sfm3cg3nhhm0wla27lwraifrrl3y1cp1";
|
|
|
|
};
|
2010-04-30 14:23:26 +02:00
|
|
|
|
2013-12-10 12:02:53 +01:00
|
|
|
buildInputs = [ boost ];
|
|
|
|
|
2013-12-16 17:03:19 +01:00
|
|
|
enableParallelBuilding = false;
|
2013-12-10 12:02:53 +01:00
|
|
|
|
2011-02-23 18:36:32 +01:00
|
|
|
doCheck = true;
|
2010-04-30 14:23:26 +02:00
|
|
|
|
|
|
|
meta = {
|
2013-12-10 12:02:53 +01:00
|
|
|
description = "Source code renderer with syntax highlighting";
|
|
|
|
homepage = http://www.gnu.org/software/src-highlite/;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2013-12-10 12:02:53 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-04-30 14:23:26 +02:00
|
|
|
longDescription =
|
|
|
|
''
|
|
|
|
GNU Source-highlight, given a source file, produces a document
|
|
|
|
with syntax highlighting.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|