mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
18 lines
396 B
Nix
18 lines
396 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
|
|
'';
|
|
}
|