2010-04-30 14:23:26 +02:00
|
|
|
{ stdenv, fetchurl, boost }:
|
|
|
|
|
|
|
|
let
|
|
|
|
name = "source-highlight";
|
2012-01-18 21:52:55 +01:00
|
|
|
version = "3.1.6";
|
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";
|
2012-01-18 21:52:55 +01:00
|
|
|
sha256 = "0a5zh876nc1gig8z586b953r8ahh9zbs1lmi8vxjrkwp6zqzf4xm";
|
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 = {
|
2011-02-23 18:36:32 +01:00
|
|
|
description = "GNU Source-Highlight, source code renderer with syntax highlighting";
|
2010-04-30 14:23:26 +02:00
|
|
|
homepage = "http://www.gnu.org/software/src-highlite/";
|
|
|
|
license = "GPLv3+";
|
2011-02-23 18:36:32 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|