c9eb44eab3
* make font derivations fixed-output where applicable * fix dead links * `stdenv.lib` -> `lib` where `stdenv` is not involved * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
25 lines
640 B
Nix
25 lines
640 B
Nix
{ lib, fetchzip
|
|
, version ? "0.3.5"
|
|
, sha256 ? "1gfgl7qimp76q4z0nv55vv57yfs4kscdr329np701k0xnhncwvrk"
|
|
}:
|
|
|
|
fetchzip {
|
|
name = "fontconfig-penultimate-${version}";
|
|
|
|
url = "https://github.com/ttuegel/fontconfig-penultimate/archive/${version}.zip";
|
|
inherit sha256;
|
|
|
|
postFetch = ''
|
|
mkdir -p $out/etc/fonts/conf.d
|
|
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;
|
|
};
|
|
}
|