depot/third_party/nixpkgs/pkgs/data/fonts/fontconfig-penultimate/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
642 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;
};
}