mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
19 lines
454 B
Nix
19 lines
454 B
Nix
{ stdenv, fetchurl, getopt, lua, boost, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "highlight-3.18";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
|
|
sha256 = "0jsq78qb75sawwggbpx5pdqxk00wgjr1a0la0w8wihmamsjzgijm";
|
|
};
|
|
|
|
buildInputs = [ getopt lua boost pkgconfig ];
|
|
|
|
preConfigure = ''makeFlags="PREFIX=$out conf_dir=$out/etc/highlight"'';
|
|
|
|
meta = {
|
|
description = "Source code highlighting tool";
|
|
};
|
|
}
|