mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
25 lines
650 B
Nix
25 lines
650 B
Nix
{ stdenv, 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 stdenv.lib; {
|
|
homepage = https://github.com/ttuegel/fontconfig-penultimate;
|
|
description = "Sensible defaults for Fontconfig";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.ttuegel ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|