lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 18.09-beta 47 lines 1.4 kB view raw
1{ stdenv, fetchurl, pkgconfig, freetype, expat 2}: 3 4stdenv.mkDerivation rec { 5 name = "fontconfig-2.10.2"; 6 7 src = fetchurl { 8 url = "http://fontconfig.org/release/${name}.tar.bz2"; 9 sha256 = "0llraqw86jmw4vzv7inskp3xxm2gc64my08iwq5mzncgfdbfza4f"; 10 }; 11 12 outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config 13 14 propagatedBuildInputs = [ freetype ]; 15 nativeBuildInputs = [ pkgconfig ]; 16 buildInputs = [ expat ]; 17 18 configureFlags = [ 19 "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}" 20 "--sysconfdir=/etc" 21 "--with-cache-dir=/var/cache/fontconfig" 22 "--disable-docs" 23 "--with-default-fonts=" 24 ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 25 "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}" 26 ]; 27 28 enableParallelBuilding = true; 29 30 doCheck = true; 31 32 # Don't try to write to /var/cache/fontconfig at install time. 33 installFlags = "sysconfdir=$(out)/etc fc_cachedir=$(TMPDIR)/dummy RUN_FC_CACHE_TEST=false"; 34 35 passthru = { 36 # Empty for backward compatibility, there was no versioning before 2.11 37 configVersion = ""; 38 }; 39 40 meta = with stdenv.lib; { 41 description = "A library for font customization and configuration"; 42 homepage = http://fontconfig.org/; 43 license = licenses.bsd2; # custom but very bsd-like 44 platforms = platforms.all; 45 maintainers = [ maintainers.vcunat ]; 46 }; 47}