1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 17:41:12 +00:00
nixpkgs/pkgs/data/fonts/fontconfig-penultimate/default.nix
2020-04-10 17:54:53 +01:00

25 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;
};
}