1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00
nixpkgs/pkgs/data/fonts/junicode/default.nix

25 lines
578 B
Nix
Raw Normal View History

{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation {
2014-11-03 23:59:30 +00:00
name = "junicode-0.7.8";
src = fetchurl {
2014-11-03 23:59:30 +00:00
url = mirror://sourceforge/junicode/junicode/junicode-0-7-8/junicode-0-7-8.zip;
sha256 = "1lgkhj52s351ya7lp9z3xba7kaivgdvg80njhpj1rpc3jcmc69vl";
};
buildInputs = [ unzip ];
installPhase =
''
mkdir -p $out/share/fonts/junicode-ttf
2014-11-03 23:59:30 +00:00
cp fonts/*.ttf $out/share/fonts/junicode-ttf
'';
meta = {
2014-11-03 23:59:30 +00:00
homepage = http://junicode.sourceforge.net/;
description = "A Unicode font for medievalists";
platforms = stdenv.lib.platforms.unix;
};
}