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