python312Packages.shiv: 1.0.7 -> 1.0.8 (#364744)
[NixPkgs.git] / pkgs / by-name / mi / migmix / package.nix
blob7e7bbbcccedfdfa1775524a33034d2c0c4654d58
2   lib,
3   stdenv,
4   fetchzip,
5 }:
7 stdenv.mkDerivation rec {
8   pname = "migmix";
9   version = "20150712";
11   srcs = [
12     (fetchzip {
13       url = "mirror://osdn/mix-mplus-ipa/63544/migmix-1p-${version}.zip";
14       sha256 = "0wp44axcalaak04nj3dgpx0vk13nqa3ihx2vjv4acsgv83x8ciph";
15     })
16     (fetchzip {
17       url = "mirror://osdn/mix-mplus-ipa/63544/migmix-2p-${version}.zip";
18       sha256 = "0y7s3rbxrp5bv56qgihk8b847lqgibfhn2wlkzx7z655fbzdgxw9";
19     })
20     (fetchzip {
21       url = "mirror://osdn/mix-mplus-ipa/63544/migmix-1m-${version}.zip";
22       sha256 = "1sfym0chy8ilyd9sr3mjc0bf63vc33p05ynpdc11miivxn4qsshx";
23     })
24     (fetchzip {
25       url = "mirror://osdn/mix-mplus-ipa/63544/migmix-2m-${version}.zip";
26       sha256 = "0hg04rvm39fh4my4akmv4rhfc14s3ipz2aw718h505k9hppkhkch";
27     })
28   ];
30   dontUnpack = true;
32   installPhase = ''
33     find $srcs -name '*.ttf' -exec install -m644 -Dt $out/share/fonts/truetype/migmix {} \;
34   '';
36   outputHashAlgo = "sha256";
37   outputHashMode = "recursive";
38   outputHash = "1fhh8wg6lxwrnsg9rl4ihffl0bsp1wqa5gps9fx60kr6j9wpvmbg";
40   meta = with lib; {
41     description = "High-quality Japanese font based on M+ fonts and IPA fonts";
42     homepage = "http://mix-mplus-ipa.osdn.jp/migmix";
43     license = licenses.ipa;
44     maintainers = [ maintainers.mikoim ];
45   };