mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
21 lines
524 B
Nix
21 lines
524 B
Nix
{ stdenv, fetchurl, getopt, lua, boost, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "highlight-${version}";
|
|
version = "3.28";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
|
|
sha256 = "1kg73isgz3czb1k6ccajqzifahr3zs9ci8168k0dlj31j1nlndin";
|
|
};
|
|
|
|
buildInputs = [ getopt lua boost pkgconfig ];
|
|
|
|
preConfigure = ''makeFlags="PREFIX=$out conf_dir=$out/etc/highlight/"'';
|
|
|
|
meta = {
|
|
description = "Source code highlighting tool";
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|