c9eb44eab3
* make font derivations fixed-output where applicable * fix dead links * `stdenv.lib` -> `lib` where `stdenv` is not involved * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
24 lines
670 B
Nix
24 lines
670 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "2.030";
|
|
in fetchzip {
|
|
name = "source-code-pro-${version}";
|
|
|
|
url = https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip;
|
|
|
|
postFetch = ''
|
|
mkdir -p $out/share/fonts
|
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
|
'';
|
|
|
|
sha256 = "0d8qwzjgnz264wlm4qim048z3236z4hbblvc6yplw13f6b65j6fv";
|
|
|
|
meta = {
|
|
description = "A set of monospaced OpenType fonts designed for coding environments";
|
|
maintainers = with lib.maintainers; [ relrod ];
|
|
platforms = with lib.platforms; all;
|
|
homepage = https://adobe-fonts.github.io/source-code-pro/;
|
|
license = lib.licenses.ofl;
|
|
};
|
|
}
|