diff options
author | Rick van Schijndel <rol3517@gmail.com> | 2021-05-25 21:00:17 +0200 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2021-05-31 16:25:33 +0200 |
commit | 3dffb3c4fa9c39828cc3a059b0f61cf304fe0eeb (patch) | |
tree | 2d515f9e9b026e58bfab74bbb5f9c6a934772ebe /pkgs/development/libraries/harfbuzz | |
parent | 9a5a29cfc67ffd84ba8080196ab0ccd1136b0108 (diff) |
harfbuzz: nixpkgs-fmt
Diffstat (limited to 'pkgs/development/libraries/harfbuzz')
-rw-r--r-- | pkgs/development/libraries/harfbuzz/default.nix | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix index d2287526278b4..7199a5ad5be3a 100644 --- a/pkgs/development/libraries/harfbuzz/default.nix +++ b/pkgs/development/libraries/harfbuzz/default.nix @@ -1,13 +1,26 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, glib, freetype, cairo, libintl -, meson, ninja +{ lib +, stdenv +, fetchFromGitHub +, pkg-config +, glib +, freetype +, cairo +, libintl +, meson +, ninja , gobject-introspection -, icu, graphite2, harfbuzz # The icu variant uses and propagates the non-icu one. -, ApplicationServices, CoreText +, icu +, graphite2 +, harfbuzz # The icu variant uses and propagates the non-icu one. +, ApplicationServices +, CoreText , withCoreText ? false , withIcu ? false # recommended by upstream as default, but most don't needed and it's big , withGraphite2 ? true # it is small and major distros do include it , python3 -, gtk-doc, docbook-xsl-nons, docbook_xml_dtd_43 +, gtk-doc +, docbook-xsl-nons +, docbook_xml_dtd_43 }: let @@ -21,9 +34,9 @@ stdenv.mkDerivation { name = "harfbuzz${optionalString withIcu "-icu"}-${version}"; src = fetchFromGitHub { - owner = "harfbuzz"; - repo = "harfbuzz"; - rev = version; + owner = "harfbuzz"; + repo = "harfbuzz"; + rev = version; sha256 = "sha256-JnvOFGK2HWIpzuwgZtyt0IfKfnoXD1LMeVb3RzMmyY4="; }; @@ -60,7 +73,7 @@ stdenv.mkDerivation { buildInputs = [ glib freetype cairo ] # recommended by upstream ++ lib.optionals withCoreText [ ApplicationServices CoreText ]; - propagatedBuildInputs = [] + propagatedBuildInputs = [ ] ++ optional withGraphite2 graphite2 ++ optionals withIcu [ icu harfbuzz ]; |