mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
babelstone-han: init at 9.0.2
This commit is contained in:
parent
86721a5f78
commit
a7732d6f54
30
pkgs/data/fonts/babelstone-han/default.nix
Normal file
30
pkgs/data/fonts/babelstone-han/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "babelstone-han-${version}";
|
||||
version = "9.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.babelstone.co.uk/Fonts/8672/BabelStoneHan.zip";
|
||||
sha256 = "09zlrp3mqdsbxpq4sssd8gj5isnxfbr56pcdp7mnr27nv4pvp6ha";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp -v *.ttf $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Unicode CJK font with over 32600 Han characters";
|
||||
homepage = http://www.babelstone.co.uk/Fonts/Han.html;
|
||||
|
||||
license = licenses.free;
|
||||
platforms = platforms.all;
|
||||
hydraPlatforms = [];
|
||||
maintainers = [ maintainers.volth ];
|
||||
};
|
||||
}
|
@ -12308,6 +12308,8 @@ with pkgs;
|
||||
|
||||
aurulent-sans = callPackage ../data/fonts/aurulent-sans { };
|
||||
|
||||
babelstone-han = callPackage ../data/fonts/babelstone-han { };
|
||||
|
||||
baekmuk-ttf = callPackage ../data/fonts/baekmuk-ttf { };
|
||||
|
||||
bakoma_ttf = callPackage ../data/fonts/bakoma-ttf { };
|
||||
|
Loading…
Reference in New Issue
Block a user