source-serif-pro: 3.000 -> 4.004
This commit is contained in:
parent
670c69cb9b
commit
0c21683467
4 changed files with 28 additions and 28 deletions
|
@ -1,27 +0,0 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
version = "3.000";
|
||||
in fetchzip {
|
||||
name = "source-serif-pro-${version}";
|
||||
|
||||
url = "https://github.com/adobe-fonts/source-serif-pro/releases/download/${version}R/source-serif-pro-${version}R.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
||||
unzip -j $downloadedFile "OTF/*.otf" -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile "TTF/*.ttf" -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile "VAR/*.otf" -d $out/share/fonts/variable
|
||||
'';
|
||||
|
||||
sha256 = "06yp8y79mqk02qzp81h8zkmzqqlhicgrkwmzkd0bm338xh8grsiz";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://adobe-fonts.github.io/source-serif-pro/";
|
||||
description = "A set of OpenType fonts to complement Source Sans Pro";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
};
|
||||
}
|
||||
|
26
pkgs/data/fonts/source-serif/default.nix
Normal file
26
pkgs/data/fonts/source-serif/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
version = "4.004";
|
||||
in fetchzip {
|
||||
name = "source-serif-${version}";
|
||||
|
||||
url = "https://github.com/adobe-fonts/source-serif/releases/download/${version}R/source-serif-${version}.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
||||
unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
|
||||
'';
|
||||
|
||||
sha256 = "06814hcp20abca6p0ii61f23g6h1ibqyhq30lsva59wbwx5iha0h";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://adobe-fonts.github.io/source-serif/";
|
||||
description = "Typeface for setting text in many sizes, weights, and languages. Designed to complement Source Sans";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
};
|
||||
}
|
|
@ -885,6 +885,7 @@ mapAliases ({
|
|||
source-han-serif-korean = source-han-serif;
|
||||
source-han-serif-simplified-chinese = source-han-serif;
|
||||
source-han-serif-traditional-chinese = source-han-serif;
|
||||
source-serif-pro = source-serif; # added 2021-10-20
|
||||
|
||||
net_snmp = net-snmp; # added 2019-12-21
|
||||
oracleXE = throw "oracleXE has been removed, as it's heavily outdated and unmaintained."; # added 2020-10-09
|
||||
|
|
|
@ -23355,7 +23355,7 @@ with pkgs;
|
|||
|
||||
source-sans-pro = callPackage ../data/fonts/source-sans-pro { };
|
||||
|
||||
source-serif-pro = callPackage ../data/fonts/source-serif-pro { };
|
||||
source-serif = callPackage ../data/fonts/source-serif { };
|
||||
|
||||
source-han-code-jp = callPackage ../data/fonts/source-han-code-jp { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue