1{ stdenv, fetchurl, boost }:
2
3let
4 name = "source-highlight";
5 version = "3.1.8";
6in
7stdenv.mkDerivation {
8 name = "${name}-${version}";
9
10 src = fetchurl {
11 url = "mirror://gnu/src-highlite/${name}-${version}.tar.gz";
12 sha256 = "18xdalxg7yzrxc1njzgw7aryq2jdm7zq2yqz41sc7k6il5z6lcq1";
13 };
14
15 buildInputs = [ boost ];
16
17 configureFlags = [ "--with-boost=${boost.out}" ];
18
19 enableParallelBuilding = false;
20
21 meta = {
22 description = "Source code renderer with syntax highlighting";
23 homepage = http://www.gnu.org/software/src-highlite/;
24 license = stdenv.lib.licenses.gpl3Plus;
25 platforms = with stdenv.lib.platforms; linux ++ darwin;
26 longDescription =
27 ''
28 GNU Source-highlight, given a source file, produces a document
29 with syntax highlighting.
30 '';
31 };
32}