1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/data/fonts/babelstone-han/default.nix
volth b1ce017d44 babelstone-han: 9.0.2 -> 10.0.0 (#28108)
* babelstone-han: 9.0.2 -> 10.0.0

* simplification (two hashes -> one hash)

* simplification (fetchurl -> fetchzip)
2017-08-10 21:26:24 +01:00

25 lines
649 B
Nix

{stdenv, fetchzip}:
let
version = "10.0.0";
in fetchzip {
name = "babelstone-han-${version}";
url = http://www.babelstone.co.uk/Fonts/0816/BabelStoneHan.zip;
postFetch = ''
mkdir -p $out/share/fonts/truetype
unzip $downloadedFile '*.ttf' -d $out/share/fonts/truetype
'';
sha256 = "0648hv5c1hq3bq7mlk7bnmflzzqj4wh137bjqyrwj5hy3nqzvl5r";
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 ];
};
}