nixpkgs-suyu/pkgs/data/fonts/fontconfig-penultimate/default.nix

25 lines
640 B
Nix
Raw Normal View History

{ lib, fetchzip
2017-08-11 21:53:01 +02:00
, version ? "0.3.5"
, sha256 ? "1gfgl7qimp76q4z0nv55vv57yfs4kscdr329np701k0xnhncwvrk"
}:
2017-08-10 21:43:49 +02:00
fetchzip {
name = "fontconfig-penultimate-${version}";
2017-08-10 21:43:49 +02:00
url = "https://github.com/ttuegel/fontconfig-penultimate/archive/${version}.zip";
2017-08-11 21:53:01 +02:00
inherit sha256;
2017-08-10 21:43:49 +02:00
postFetch = ''
mkdir -p $out/etc/fonts/conf.d
2017-08-10 21:43:49 +02:00
unzip -j $downloadedFile \*.conf -d $out/etc/fonts/conf.d
'';
meta = with lib; {
homepage = https://github.com/ttuegel/fontconfig-penultimate;
description = "Sensible defaults for Fontconfig";
license = licenses.asl20;
maintainers = [ maintainers.ttuegel ];
platforms = platforms.all;
};
}