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
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

25 lines
476 B
Nix

{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation {
name = "junicode-0.6.15";
src = fetchurl {
url = http://prdownloads.sourceforge.net/junicode/junicode-0.6.15.zip;
sha256 = "0p16r5s6qwyz0hayb6k61s5r2sfachlx7r6gpqqx5myx6ipbfdns";
};
buildInputs = [ unzip ];
sourceRoot = ".";
installPhase =
''
mkdir -p $out/share/fonts/junicode-ttf
cp *.ttf $out/share/fonts/junicode-ttf
'';
meta = {
description = "A Unicode font";
};
}