mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
29 lines
741 B
Nix
29 lines
741 B
Nix
{
|
|
lib,
|
|
fetchzip,
|
|
stdenvNoCC,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "recursive";
|
|
version = "1.085";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/arrowtype/recursive/releases/download/v${version}/ArrowType-Recursive-${version}.zip";
|
|
sha256 = "sha256-hnGnKnRoQN8vFStW8TjLrrTL1dWsthUEWxfaGF0b0vM=";
|
|
};
|
|
|
|
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')
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://recursive.design/";
|
|
description = "Variable font family for code & UI";
|
|
license = lib.licenses.ofl;
|
|
maintainers = [ lib.maintainers.eadwu ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|