1{
2 lib,
3 fetchzip,
4 stdenvNoCC,
5}:
6
7stdenvNoCC.mkDerivation rec {
8 pname = "recursive";
9 version = "1.085";
10
11 src = fetchzip {
12 url = "https://github.com/arrowtype/recursive/releases/download/v${version}/ArrowType-Recursive-${version}.zip";
13 sha256 = "sha256-hnGnKnRoQN8vFStW8TjLrrTL1dWsthUEWxfaGF0b0vM=";
14 };
15
16 installPhase = ''
17 install -D -t $out/share/fonts/opentype/ $(find $src -type f -name '*.otf')
18 install -D -t $out/share/fonts/truetype/ $(find $src -type f -name '*.ttf')
19 '';
20
21 meta = with lib; {
22 homepage = "https://recursive.design/";
23 description = "Variable font family for code & UI";
24 license = licenses.ofl;
25 maintainers = [ maintainers.eadwu ];
26 platforms = platforms.all;
27 };
28}