3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/mph-2b-damase/default.nix
Michael Raskin 7ffdd3a997 Bunch of Unicode fonts.
svn path=/nixpkgs/trunk/; revision=10909
2008-03-02 18:39:33 +00:00

18 lines
397 B
Nix

{stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
name = "MPH-2B-Damase";
src = fetchurl {
url = http://www.wazu.jp/downloads/damase_v.2.zip;
sha256 = "0y7rakbysjjrzcc5y100hkn64j7js434x20pyi6rllnw2w2n1y1h";
};
buildInputs = [unzip];
unpackPhase = ''
unzip $src;
'';
installPhase = ''
ensureDir $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype
'';
}