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