1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 02:51:18 +00:00
nixpkgs/pkgs/tools/text/highlight/default.nix

21 lines
524 B
Nix
Raw Normal View History

{ stdenv, fetchurl, getopt, lua, boost, pkgconfig }:
stdenv.mkDerivation rec {
2016-05-03 03:33:49 +01:00
name = "highlight-${version}";
version = "3.28";
src = fetchurl {
url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
2016-05-03 03:33:49 +01:00
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;
};
}