base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / al / alegreya-sans / package.nix
blobcc0cd6cac9b90cd196277ec5cde8bab418a38f25
1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "alegreya-sans";
5   version = "2.008";
7   src = fetchFromGitHub {
8     owner = "huertatipografica";
9     repo = "Alegreya-Sans";
10     rev = "v${version}";
11     sha256 = "0xz5lq9fh0pj02ifazhddzh792qkxkz1z6ylj26d93wshc90jl5g";
12   };
14   installPhase = ''
15     install -D -m 444 fonts/otf/* -t $out/share/fonts/otf
16     install -D -m 444 fonts/ttf/* -t $out/share/fonts/ttf
17     install -D -m 444 fonts/webfonts/*.woff -t $out/share/fonts/woff
18     install -D -m 444 fonts/webfonts/*.woff2 -t $out/share/fonts/woff2
19   '';
21   meta = with lib; {
22     description = "Humanist sans serif family with a calligraphic feeling";
23     longDescription = ''
24 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.
26 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.
28 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.
30 The Alegreya type system is a "super family", originally intended for literature, and includes sans and serif sister families.
31     '';
32     homepage = "https://www.huertatipografica.com/en/fonts/alegreya-sans-ht";
33     license = licenses.ofl;
34     platforms = platforms.all;
35     maintainers = with maintainers; [ Thra11 ];
36   };