2023-01-20 10:41:00 +00:00
|
|
|
{ lib, fetchzip, stdenvNoCC }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "recursive";
|
|
|
|
version = "1.085";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/arrowtype/recursive/releases/download/v${version}/ArrowType-Recursive-${version}.zip";
|
|
|
|
sha256 = "sha256-hnGnKnRoQN8vFStW8TjLrrTL1dWsthUEWxfaGF0b0vM=";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
installPhase = ''
|
|
|
|
install -D -t $out/share/fonts/opentype/ $(find $src -type f -name '*.otf')
|
|
|
|
install -D -t $out/share/fonts/truetype/ $(find $src -type f -name '*.ttf')
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://recursive.design/";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Variable font family for code & UI";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = [ maintainers.eadwu ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|