nixpkgs-suyu/pkgs/data/fonts/cm-unicode/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
692 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2017-08-10 21:43:49 +02:00
let
version = "0.7.0";
2017-08-10 21:43:49 +02:00
in fetchzip rec {
name = "cm-unicode-${version}";
2017-08-10 21:43:49 +02:00
url = "mirror://sourceforge/cm-unicode/cm-unicode/${version}/${name}-otf.tar.xz";
2017-08-10 21:43:49 +02:00
postFetch = ''
tar -xJvf $downloadedFile --strip-components=1
install -m444 -Dt $out/share/fonts/opentype *.otf
install -m444 -Dt $out/share/doc/${name} README FontLog.txt
'';
2017-08-10 21:43:49 +02:00
sha256 = "1rzz7yhqq3lljyqxbg46jfzfd09qgpgx865lijr4sgc94riy1ypn";
meta = with lib; {
2022-02-06 11:47:09 +01:00
homepage = "https://cm-unicode.sourceforge.io/";
description = "Computer Modern Unicode fonts";
maintainers = with maintainers; [ raskin rycee ];
license = licenses.ofl;
platforms = platforms.all;
};
}