audiobookshelf: 2.18.1 -> 2.19.0 (#378967)
[NixPkgs.git] / pkgs / by-name / al / alegreya-sans / package.nix
blob13b10ac4a9d5a45eb6bca0d45ee4edad70fb37b0
2   lib,
3   stdenv,
4   fetchFromGitHub,
5 }:
7 stdenv.mkDerivation rec {
8   pname = "alegreya-sans";
9   version = "2.008";
11   src = fetchFromGitHub {
12     owner = "huertatipografica";
13     repo = "Alegreya-Sans";
14     rev = "v${version}";
15     sha256 = "0xz5lq9fh0pj02ifazhddzh792qkxkz1z6ylj26d93wshc90jl5g";
16   };
18   installPhase = ''
19     install -D -m 444 fonts/otf/* -t $out/share/fonts/otf
20     install -D -m 444 fonts/ttf/* -t $out/share/fonts/ttf
21     install -D -m 444 fonts/webfonts/*.woff -t $out/share/fonts/woff
22     install -D -m 444 fonts/webfonts/*.woff2 -t $out/share/fonts/woff2
23   '';
25   meta = with lib; {
26     description = "Humanist sans serif family with a calligraphic feeling";
27     longDescription = ''
28       Alegreya Sans is a humanist sans serif family with a calligraphic feeling that conveys a dynamic and varied rhythm. This gives a pleasant feeling to readers of long texts.
30       The family follows humanist proportions and principles, just like the serif version of the family, Alegreya. It achieves a ludic and harmonious paragraph through elements carefully designed in an atmosphere of diversity. The italics bring a strong emphasis to the roman styles, and each have seven weights to bring you a wide typographic palette.
32       Alegreya Sans supports expert latin, greek and cyrillic character sets and provides advanced typography OpenType features such as small caps, dynamic ligatures and fractions, four set of figures, super and subscript characters, ordinals, localized accent forms for spanish, catalan, guaranĂ­, dutch, turkish, romanian, serbian among others.
34       The Alegreya type system is a "super family", originally intended for literature, and includes sans and serif sister families.
35     '';
36     homepage = "https://www.huertatipografica.com/en/fonts/alegreya-sans-ht";
37     license = licenses.ofl;
38     platforms = platforms.all;
39     maintainers = with maintainers; [ Thra11 ];
40   };