diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2016-01-24 21:14:12 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2016-01-24 21:14:52 +0100 |
commit | 7a853f828d73c11cb4c9b2b71a172f379e5c4ecc (patch) | |
tree | f5a54b28de11695b89464b89edb67c0b00d840d4 | |
parent | 3e0e641743169cac0a2f88a8e227c5306fd656a8 (diff) | |
download | nixlib-7a853f828d73c11cb4c9b2b71a172f379e5c4ecc.tar nixlib-7a853f828d73c11cb4c9b2b71a172f379e5c4ecc.tar.gz nixlib-7a853f828d73c11cb4c9b2b71a172f379e5c4ecc.tar.bz2 nixlib-7a853f828d73c11cb4c9b2b71a172f379e5c4ecc.tar.lz nixlib-7a853f828d73c11cb4c9b2b71a172f379e5c4ecc.tar.xz nixlib-7a853f828d73c11cb4c9b2b71a172f379e5c4ecc.tar.zst nixlib-7a853f828d73c11cb4c9b2b71a172f379e5c4ecc.zip |
fontconfig-ultimate: 20141123 -> 2015-12-06
-rw-r--r-- | pkgs/development/libraries/fontconfig-ultimate/confd.nix | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/pkgs/development/libraries/fontconfig-ultimate/confd.nix b/pkgs/development/libraries/fontconfig-ultimate/confd.nix index e522cead8220..160fef5f07e5 100644 --- a/pkgs/development/libraries/fontconfig-ultimate/confd.nix +++ b/pkgs/development/libraries/fontconfig-ultimate/confd.nix @@ -1,13 +1,18 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchFromGitHub }: +let version = "2015-12-06"; in stdenv.mkDerivation { - name = "fontconfig-ultimate-20141123"; - src = fetchurl { - url = "https://github.com/bohoomil/fontconfig-ultimate/archive/2014-11-23.tar.gz"; - sha256 = "0czfm3hxc41x5mscwrba7p1vhm2w62j1qg7z8kfdrf21z8fvgznw"; + name = "fontconfig-ultimate-${version}"; + + src = fetchFromGitHub { + sha256 = "02a811szxkq4q088nxfpdzp6rv0brvgkdhwigk09qffygxd776g6"; + rev = version; + repo = "fontconfig-ultimate"; + owner = "bohoomil"; }; phases = "$prePhases unpackPhase installPhase $postPhases"; + installPhase = '' mkdir -p $out/etc/fonts/conf.d cp conf.d.infinality/*.conf $out/etc/fonts/conf.d @@ -22,8 +27,8 @@ stdenv.mkDerivation { rm $out/etc/fonts/conf.d/83-*.conf # Inclusion of local and user configs handled by global configuration - rm $out/etc/fonts/conf.d/97-local.conf - rm $out/etc/fonts/conf.d/98-user.conf + rm $out/etc/fonts/conf.d/29-local.conf + rm $out/etc/fonts/conf.d/28-user.conf cp fontconfig_patches/fonts-settings/*.conf $out/etc/fonts/conf.d |