7 stdenvNoCC.mkDerivation rec {
8 pname = "merriweather";
11 src = fetchFromGitHub {
13 repo = "Merriweather";
14 rev = "4fd88c9299009d1c1d201e7da3ff75cf1de5153a";
15 sha256 = "1ndycja2jzhcfbqbm0p6ka2zl1i1pdbkf0crw2lp3pi4k89wlm29";
18 # TODO: it would be nice to build this from scratch, but lots of
19 # Python dependencies to package (fontmake, gftools)
22 install -m444 -Dt $out/share/fonts/opentype/${pname} fonts/otf/*.otf
23 install -m444 -Dt $out/share/fonts/truetype/${pname} fonts/ttfs/*.ttf
24 install -m444 -Dt $out/share/fonts/woff/${pname} fonts/woff/*.woff
25 install -m444 -Dt $out/share/fonts/woff2/${pname} fonts/woff2/*.woff2
26 # TODO: install variable version?
30 homepage = "https://github.com/SorkinType/Merriweather";
31 description = "Text face designed to be pleasant to read on screens";
32 license = licenses.ofl;
33 platforms = platforms.all;
34 maintainers = with maintainers; [ emily ];