mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
sarasa-gothic: init at 0.5.2
This commit is contained in:
parent
42ecb0dd94
commit
cbbcd2920d
30
pkgs/data/fonts/sarasa-gothic/default.nix
Normal file
30
pkgs/data/fonts/sarasa-gothic/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchurl, p7zip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.5.2";
|
||||
name = "sarasa-gothic-${version}";
|
||||
|
||||
package = fetchurl {
|
||||
url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttf-${version}.7z";
|
||||
sha256 = "18ycw57k7yhrbb8njzhzk6x32xnjal61wr48qxkqy4lh9zfy0p22";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ p7zip ];
|
||||
|
||||
unpackPhase = ''
|
||||
7z x $package
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SARASA GOTHIC is a Chinese & Japanese programming font based on Iosevka and Source Han Sans";
|
||||
homepage = https://github.com/be5invis/Sarasa-Gothic;
|
||||
license = licenses.ofl;
|
||||
maintainers = [ maintainers.ChengCat ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -14524,6 +14524,8 @@ with pkgs;
|
||||
|
||||
sampradaya = callPackage ../data/fonts/sampradaya { };
|
||||
|
||||
sarasa-gothic = callPackage ../data/fonts/sarasa-gothic { };
|
||||
|
||||
scowl = callPackage ../data/misc/scowl { };
|
||||
|
||||
shaderc = callPackage ../development/compilers/shaderc { };
|
||||
|
Loading…
Reference in New Issue
Block a user