nixpkgs/pkgs/tools/text/highlight/default.nix

22 lines
444 B
Nix
Raw Normal View History

{ stdenv, fetchurl, getopt, lua, boost }:
stdenv.mkDerivation rec {
2013-12-18 16:03:40 +01:00
name = "highlight-3.9";
src = fetchurl {
url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
2013-12-18 16:03:40 +01:00
sha256 = "1vysj34zz8gk5yhlzm7g6lbphb8y6zfbd9smfgsgwkyawfargrja";
};
buildInputs = [ getopt lua boost ];
makeFlags = [
"PREFIX=$(out)"
"conf_dir=$(out)/etc/highlight/"
];
meta = {
description = "Source code highlighting tool";
};
}