nixpkgs/pkgs/tools/text/source-highlight/default.nix
Eelco Dolstra ed463a7671 boost: Remove 1.53 and 1.54
These don't build against Glibc 2.18, but they're not used anyway
(except by source-highlight, which builds fine against 1.49).
2013-12-10 12:02:53 +01:00

35 lines
787 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 ];
enableParallelBuilding = true;
doCheck = true;
meta = {
description = "Source code renderer with syntax highlighting";
homepage = http://www.gnu.org/software/src-highlite/;
license = "GPLv3+";
platforms = stdenv.lib.platforms.linux;
longDescription =
''
GNU Source-highlight, given a source file, produces a document
with syntax highlighting.
'';
};
}