nixpkgs-suyu/pkgs/tools/text/source-highlight/default.nix
R. RyanTM 86f1494abf sourceHighlight: 3.1.8 -> 3.1.9
(#71884)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/source-highlight/versions
2019-11-13 18:41:39 +01:00

32 lines
810 B
Nix

{ stdenv, fetchurl, boost }:
let
name = "source-highlight";
version = "3.1.9";
in
stdenv.mkDerivation {
name = "${name}-${version}";
src = fetchurl {
url = "mirror://gnu/src-highlite/${name}-${version}.tar.gz";
sha256 = "148w47k3zswbxvhg83z38ifi85f9dqcpg7icvvw1cm6bg21x4zrs";
};
buildInputs = [ boost ];
configureFlags = [ "--with-boost=${boost.out}" ];
enableParallelBuilding = false;
meta = {
description = "Source code renderer with syntax highlighting";
homepage = https://www.gnu.org/software/src-highlite/;
license = stdenv.lib.licenses.gpl3Plus;
platforms = with stdenv.lib.platforms; linux ++ darwin;
longDescription =
''
GNU Source-highlight, given a source file, produces a document
with syntax highlighting.
'';
};
}