2017-03-12 22:06:44 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
2017-05-17 12:23:57 +00:00
|
|
|
let version = "0.3.5"; in
|
2017-03-12 22:06:44 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "fontconfig-penultimate-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ttuegel";
|
|
|
|
repo = "fontconfig-penultimate";
|
|
|
|
rev = version;
|
2017-05-17 12:23:57 +00:00
|
|
|
sha256 = "1xi664bs6n687s972nch87hi0iqkd6gr1l76zl58pymiw2132ks8";
|
2017-03-12 22:06:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/etc/fonts/conf.d
|
|
|
|
cp *.conf $out/etc/fonts/conf.d
|
|
|
|
'';
|
2017-03-21 16:22:07 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
2017-03-12 22:06:44 +00:00
|
|
|
}
|