Merge pull request #259421 from h7x4/init-yasashisa-gothic

licenses: add mplus, yasashisa-gothic: init at 0-unstable-2014-03-13
This commit is contained in:
Peder Bergebakken Sundt 2024-02-12 20:58:06 +01:00 committed by GitHub
commit 66597639ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 47 additions and 2 deletions

View file

@ -854,6 +854,11 @@ in mkLicense lset) ({
fullName = "Mozilla Public License 2.0";
};
mplus = {
spdxId = "mplus";
fullName = "M+ Font License";
};
mspl = {
spdxId = "MS-PL";
fullName = "Microsoft Public License";

View file

@ -0,0 +1,40 @@
{ lib
, stdenvNoCC
, fetchurl
, unzrip
}:
stdenvNoCC.mkDerivation {
pname = "yasashisa-gothic";
version = "0-unstable-2014-03-13";
src = fetchurl {
url = "http://flop.sakura.ne.jp/font/fontna-op/07Yasashisa.zip";
hash = "sha256-JmsRvUak9FBjDw8wNA2R3lEt52/UpElleziQqa5Pm4w=";
};
unpackPhase = ''
runHook preUnpack
${lib.getExe unzrip} -O SHIFT_JIS "$src"
runHook postUnpack
'';
installPhase = ''
runHook preInstall
install -Dm444 "07Yasashisa/07.ttf" -t "$out/share/fonts/truetype"
install -Dm444 "07Yasashisa/-/OpenType/YasashisaGothic.otf" -t "$out/share/fonts/opentype"
runHook postInstall
'';
meta = with lib; {
description = "Free gothic style font by Fontna";
homepage = "http://www.fontna.com/blog/379/";
license = with licenses; [ ipa mplus ];
platforms = platforms.all;
maintainers = with maintainers; [ h7x4 ];
};
}

View file

@ -22,7 +22,7 @@ stdenvNoCC.mkDerivation rec {
homepage = "https://github.com/MihailJP/MarathiCursive";
description = "Modi script font with Graphite and OpenType support";
maintainers = with maintainers; [ mathnerd314 ];
license = licenses.mit; # It's the M+ license, M+ is MIT(-ish)
license = licenses.mplus;
platforms = platforms.all;
};
}

View file

@ -25,7 +25,7 @@ in
homepage = "https://mplus-fonts.osdn.jp";
maintainers = with maintainers; [ uakci ];
platforms = platforms.all;
license = licenses.mit;
license = licenses.mplus;
};
};