mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #194771 from gilice/dm-sans
This commit is contained in:
commit
3d725b90fd
3 changed files with 28 additions and 0 deletions
|
@ -5138,6 +5138,12 @@
|
|||
githubId = 15957973;
|
||||
name = "Jeffry Molanus";
|
||||
};
|
||||
gilice = {
|
||||
email = "gilice@proton.me";
|
||||
github = "gilice";
|
||||
githubId = 104317939;
|
||||
name = "gilice";
|
||||
};
|
||||
gilligan = {
|
||||
email = "tobias.pflug@gmail.com";
|
||||
github = "gilligan";
|
||||
|
|
21
pkgs/data/fonts/dm-sans/default.nix
Normal file
21
pkgs/data/fonts/dm-sans/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ lib, fetchzip }:
|
||||
let version = "1.002"; in
|
||||
fetchzip {
|
||||
inherit version;
|
||||
pname = "dm-sans";
|
||||
url = "https://github.com/googlefonts/dm-fonts/releases/download/v${version}/DeepMindSans_v${version}.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-zyS0gz7CGn39HCiyeN5cAP63v9nG6jffGSsI1vr84EQ=";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
mv $out/*.ttf $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A geometric sans-serif typeface";
|
||||
homepage = "https://github.com/googlefonts/dm-fonts";
|
||||
license = lib.licenses.ofl;
|
||||
maintainers = with lib.maintainers; [ gilice ];
|
||||
};
|
||||
}
|
|
@ -26569,6 +26569,7 @@ with pkgs;
|
|||
|
||||
dina-font = callPackage ../data/fonts/dina { };
|
||||
|
||||
dm-sans = callPackage ../data/fonts/dm-sans { };
|
||||
dns-root-data = callPackage ../data/misc/dns-root-data { };
|
||||
|
||||
docbook5 = callPackage ../data/sgml+xml/schemas/docbook-5.0 { };
|
||||
|
|
Loading…
Reference in a new issue