7 stdenvNoCC.mkDerivation rec {
8 pname = "merriweather-sans";
11 src = fetchFromGitHub {
13 repo = "Merriweather-Sans";
14 rev = "8a1b078e3aeec6aecc856c3422898816af9b9dc7";
15 sha256 = "1f6a64bv4b4b1v3g2pgrzxcys8rk12wq6wfxamgzligcq5fxaffd";
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/truetype/${pname} fonts/ttfs/*.ttf
23 install -m444 -Dt $out/share/fonts/woff/${pname} fonts/woff/*.woff
24 install -m444 -Dt $out/share/fonts/woff2/${pname} fonts/woff2/*.woff2
25 # TODO: install variable version?
29 homepage = "https://github.com/SorkinType/Merriweather-Sans";
30 description = "Merriweather Sans is a low-contrast semi-condensed sans-serif text typeface family designed to be pleasant to read at very small sizes";
31 license = licenses.ofl;
32 platforms = platforms.all;
33 maintainers = with maintainers; [ emily ];