6 stdenvNoCC.mkDerivation rec {
7 pname = "merriweather-sans";
10 src = fetchFromGitHub {
12 repo = "Merriweather-Sans";
13 rev = "8a1b078e3aeec6aecc856c3422898816af9b9dc7";
14 sha256 = "1f6a64bv4b4b1v3g2pgrzxcys8rk12wq6wfxamgzligcq5fxaffd";
17 # TODO: it would be nice to build this from scratch, but lots of
18 # Python dependencies to package (fontmake, gftools)
21 install -m444 -Dt $out/share/fonts/truetype/${pname} fonts/ttfs/*.ttf
22 install -m444 -Dt $out/share/fonts/woff/${pname} fonts/woff/*.woff
23 install -m444 -Dt $out/share/fonts/woff2/${pname} fonts/woff2/*.woff2
24 # TODO: install variable version?
28 homepage = "https://github.com/SorkinType/Merriweather-Sans";
29 description = "Merriweather Sans is a low-contrast semi-condensed sans-serif text typeface family designed to be pleasant to read at very small sizes";
30 license = licenses.ofl;
31 platforms = platforms.all;
32 maintainers = with maintainers; [ emily ];