Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 36 lines 771 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchurl, 5 p7zip, 6}: 7 8stdenvNoCC.mkDerivation rec { 9 pname = "rounded-mgenplus"; 10 version = "20150602"; 11 12 src = fetchurl { 13 url = "https://osdn.jp/downloads/users/8/8598/${pname}-${version}.7z"; 14 hash = "sha256-7OpnZJc9k5NiOPHAbtJGMQvsMg9j81DCvbfo0f7uJcw="; 15 }; 16 17 sourceRoot = "."; 18 19 nativeBuildInputs = [ p7zip ]; 20 21 installPhase = '' 22 runHook preInstall 23 24 install -m 444 -D -t $out/share/fonts/${pname} ${pname}-*.ttf 25 26 runHook postInstall 27 ''; 28 29 meta = with lib; { 30 description = "Japanese font based on Rounded M+ and Noto Sans Japanese"; 31 homepage = "http://jikasei.me/font/rounded-mgenplus/"; 32 license = licenses.ofl; 33 platforms = platforms.all; 34 maintainers = with maintainers; [ mnacamura ]; 35 }; 36}