nixpkgs-suyu/pkgs/tools/text/source-highlight/default.nix
Bjørn Forsman 6167864aab source-highlight: 3.1.6 -> 3.1.7
From NEWS file (version 3.1.7):

  * fixed compilation bugs in MacOsX systems (thanks to
    Trevor Spiteri)
  * language definition for Lilypond (thanks to Federico Bruni)
  * language definition for R statistics programming language
  * language definition for ISLISP (thanks to Christian Jullien)
  * improved Erlang definition file (thanks to Erik Søe Sørensen)
  * new output format: ESC 256 ascii code (thanks to
    Xavier-Emmanuel Vincent).

(It still needs boost 1.53 for all tests to pass.)
2013-09-04 20:00:27 +02:00

32 lines
801 B
Nix

{ stdenv, fetchurl, boost }:
let
name = "source-highlight";
version = "3.1.7";
in
stdenv.mkDerivation {
name = "${name}-${version}";
src = fetchurl {
url = "mirror://gnu/src-highlite/${name}-${version}.tar.gz";
sha256 = "1s49ld8cnpzhhwq0r7s0sfm3cg3nhhm0wla27lwraifrrl3y1cp1";
};
configureFlags = [ "--with-boost=${boost}" ];
buildInputs = [boost];
doCheck = true;
meta = {
description = "GNU Source-Highlight, source code renderer with syntax highlighting";
homepage = "http://www.gnu.org/software/src-highlite/";
license = "GPLv3+";
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
longDescription =
''
GNU Source-highlight, given a source file, produces a document
with syntax highlighting.
'';
};
}