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