nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

takao: init at 00303.01

+29
+27
pkgs/data/fonts/takao/default.nix
··· 1 + { fetchzip, lib }: 2 + 3 + let 4 + version = "00303.01"; 5 + in 6 + fetchzip { 7 + name = "takao-${version}"; 8 + url = "mirror://ubuntu/pool/universe/f/fonts-takao/fonts-takao_${version}.orig.tar.gz"; 9 + sha256 = "sha256-TlPq3iIv8vHlxYu5dkX/Lf6ediYKQaQ5uMbFvypQM/w="; 10 + 11 + postFetch = '' 12 + unpackDir="$TMPDIR/unpack" 13 + mkdir "$unpackDir" 14 + cd "$unpackDir" 15 + tar xf "$downloadedFile" --strip-components=1 16 + mkdir -p $out/share/fonts 17 + cp *.ttf $out/share/fonts 18 + ''; 19 + 20 + meta = with lib; { 21 + description = "Japanese TrueType Gothic, P Gothic, Mincho, P Mincho fonts"; 22 + homepage = "https://launchpad.net/takao-fonts"; 23 + license = licenses.ipa; 24 + maintainers = with lib.maintainers; [ serge ]; 25 + platforms = platforms.all; 26 + }; 27 + }
+2
pkgs/top-level/all-packages.nix
··· 24746 24746 24747 24747 inherit (callPackages ../data/fonts/tai-languages { }) tai-ahom; 24748 24748 24749 + takao = callPackage ../data/fonts/takao { }; 24750 + 24749 24751 taskspooler = callPackage ../tools/system/taskspooler { }; 24750 24752 24751 24753 tamsyn = callPackage ../data/fonts/tamsyn { inherit (buildPackages.xorg) mkfontscale; };