mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #126657 from fortuneteller2k/open-fonts
open-fonts: init at 0.7.0
This commit is contained in:
commit
88e3da0610
2 changed files with 30 additions and 0 deletions
28
pkgs/data/fonts/open-fonts/default.nix
Normal file
28
pkgs/data/fonts/open-fonts/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib, fetchurl }:
|
||||
|
||||
let
|
||||
pname = "open-fonts";
|
||||
version = "0.7.0";
|
||||
in
|
||||
fetchurl {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
url = "https://github.com/kiwi0fruit/open-fonts/releases/download/${version}/open-fonts.tar.xz";
|
||||
downloadToTemp = true;
|
||||
recursiveHash = true;
|
||||
sha256 = "sha256-bSP9Flotoo3E5vRU3eKOUAPD2fmkWseWYWG4y0S07+4=";
|
||||
|
||||
postFetch = ''
|
||||
tar xf $downloadedFile
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
install open-fonts/*.ttf $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A collection of beautiful free and open source fonts";
|
||||
homepage = "https://github.com/kiwi0fruit/open-fonts";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ fortuneteller2k ];
|
||||
};
|
||||
}
|
|
@ -22505,6 +22505,8 @@ in
|
|||
|
||||
inter = callPackage ../data/fonts/inter { };
|
||||
|
||||
open-fonts = callPackage ../data/fonts/open-fonts { };
|
||||
|
||||
scientifica = callPackage ../data/fonts/scientifica { };
|
||||
|
||||
siji = callPackage ../data/fonts/siji
|
||||
|
|
Loading…
Reference in a new issue