|
|
|
@ -1,6 +1,5 @@ |
|
|
|
|
{ lib, stdenv |
|
|
|
|
, fetchpatch |
|
|
|
|
, substituteAll |
|
|
|
|
{ stdenv |
|
|
|
|
, lib |
|
|
|
|
, fetchurl |
|
|
|
|
, pkg-config |
|
|
|
|
, python3 |
|
|
|
@ -15,23 +14,15 @@ |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "fontconfig"; |
|
|
|
|
version = "2.13.94"; |
|
|
|
|
version = "2.14.0"; |
|
|
|
|
|
|
|
|
|
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "https://www.freedesktop.org/software/fontconfig/release/${pname}-${version}.tar.xz"; |
|
|
|
|
sha256 = "0g004r0bkkqz00mpm3svnnxn7d83158q0yb9ggxryizxfg5m5w55"; |
|
|
|
|
sha256 = "3L64TJx0u/2xM9U1/hx77cnyIhqNrzkUuYTETFIOm6w="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
patches = [ |
|
|
|
|
# Fix font style detection |
|
|
|
|
(fetchpatch { |
|
|
|
|
url = "https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/92fbf14b0d7c4737ffe1e8326b7ab8ffae5548c3.patch"; |
|
|
|
|
sha256 = "1wmyax2151hg3m11q61mv25k45zk2w3xapb4p1r6wzk91zjlsgyr"; |
|
|
|
|
}) |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ |
|
|
|
|
autoreconfHook |
|
|
|
|
gperf |
|
|
|
|