2008-03-02 18:39:33 +00:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "MPH-2B-Damase";
|
2015-09-23 21:44:28 +01:00
|
|
|
|
2008-03-02 18:39:33 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.wazu.jp/downloads/damase_v.2.zip;
|
|
|
|
sha256 = "0y7rakbysjjrzcc5y100hkn64j7js434x20pyi6rllnw2w2n1y1h";
|
|
|
|
};
|
2015-09-23 21:44:28 +01:00
|
|
|
|
2008-03-02 18:39:33 +00:00
|
|
|
buildInputs = [unzip];
|
2015-09-23 21:44:28 +01:00
|
|
|
|
2008-03-02 18:39:33 +00:00
|
|
|
unpackPhase = ''
|
|
|
|
unzip $src;
|
|
|
|
'';
|
2015-09-23 21:44:28 +01:00
|
|
|
|
2008-03-02 18:39:33 +00:00
|
|
|
installPhase = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/share/fonts/truetype
|
2008-03-02 18:39:33 +00:00
|
|
|
cp *.ttf $out/share/fonts/truetype
|
|
|
|
'';
|
2016-08-02 17:06:29 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
2008-03-02 18:39:33 +00:00
|
|
|
}
|