mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00

nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
26 lines
733 B
Nix
26 lines
733 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 = with lib; {
|
|
homepage = "https://recursive.design/";
|
|
description = "Variable font family for code & UI";
|
|
license = licenses.ofl;
|
|
maintainers = [ maintainers.eadwu ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|