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