nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 29 lines 721 B view raw
1{ lib, stdenvNoCC, fetchurl }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "cnstrokeorder"; 5 version = "0.0.4.7"; 6 7 src = fetchurl { 8 url = "http://rtega.be/chmn/CNstrokeorder-${version}.ttf"; 9 hash = "sha256-YYtOcUvt1V0DwAs/vf9KltcmYCFJNirvwjGyOK4JpIY="; 10 }; 11 12 dontUnpack = true; 13 14 installPhase = '' 15 runHook preInstall 16 17 install -D $src $out/share/fonts/truetype/CNstrokeorder-${version}.ttf 18 19 runHook postInstall 20 ''; 21 22 meta = with lib; { 23 description = "Chinese font that shows stroke order for HSK 1-4"; 24 homepage = "http://rtega.be/chmn/index.php?subpage=68"; 25 license = [ licenses.arphicpl ]; 26 maintainers = with maintainers; [ johnazoidberg ]; 27 platforms = platforms.all; 28 }; 29}