blob: ceca85a0d2313a97ad1e23078cf86abbacfd5aa7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{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
'';
}
|