2023-01-18 20:29:32 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2011-05-28 19:51:08 +00:00
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "cm-unicode";
|
2015-06-11 22:17:53 +00:00
|
|
|
version = "0.7.0";
|
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/cm-unicode/cm-unicode/${version}/${pname}-${version}-otf.tar.xz";
|
|
|
|
hash = "sha256-VIp+vk1IYbEHW15wMrfGVOPqg1zBZDpgFx+jlypOHCg=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2011-05-28 19:51:08 +00:00
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
install -m444 -Dt $out/share/fonts/opentype *.otf
|
2023-01-18 20:29:32 +00:00
|
|
|
install -m444 -Dt $out/share/doc/${pname}-${version} README FontLog.txt
|
2011-05-28 19:51:08 +00:00
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2017-08-10 19:43:49 +00:00
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2022-02-06 10:47:09 +00:00
|
|
|
homepage = "https://cm-unicode.sourceforge.io/";
|
2015-06-11 22:17:53 +00:00
|
|
|
description = "Computer Modern Unicode fonts";
|
|
|
|
maintainers = with maintainers; [ raskin rycee ];
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2011-05-28 19:51:08 +00:00
|
|
|
};
|
2015-06-11 22:17:53 +00:00
|
|
|
}
|