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