nixpkgs/pkgs/data/fonts/mph-2b-damase/default.nix
Tuomas Tynkkynen 2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00

26 lines
460 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 = ''
mkdir -p $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype
'';
meta = {
platforms = stdenv.lib.platforms.unix;
};
}