mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
roboto: init at 2.134 (#18127)
This commit is contained in:
parent
5ede656a18
commit
cb4cd5d7f0
31
pkgs/data/fonts/roboto/default.nix
Normal file
31
pkgs/data/fonts/roboto/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, fetchurl, unzip }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "roboto-${version}";
|
||||||
|
version = "2.134";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/google/roboto/releases/download/v${version}/roboto-unhinted.zip";
|
||||||
|
sha256 = "1l033xc2n4754gwakxshh5235cnrnzy7q6zsp5zghn8ib0gdp5rb";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/fonts/truetype
|
||||||
|
cp -a * $out/share/fonts/truetype/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = https://github.com/google/roboto;
|
||||||
|
description = "The Roboto family of fonts";
|
||||||
|
longDescription = ''
|
||||||
|
Google’s signature family of fonts, the default font on Android and
|
||||||
|
Chrome OS, and the recommended font for Google’s visual language,
|
||||||
|
Material Design.
|
||||||
|
'';
|
||||||
|
license = stdenv.lib.licenses.asl20;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -12106,6 +12106,8 @@ in
|
|||||||
|
|
||||||
r5rs = callPackage ../data/documentation/rnrs/r5rs.nix { };
|
r5rs = callPackage ../data/documentation/rnrs/r5rs.nix { };
|
||||||
|
|
||||||
|
roboto = callPackage ../data/fonts/roboto { };
|
||||||
|
|
||||||
hasklig = callPackage ../data/fonts/hasklig {};
|
hasklig = callPackage ../data/fonts/hasklig {};
|
||||||
|
|
||||||
sound-theme-freedesktop = callPackage ../data/misc/sound-theme-freedesktop { };
|
sound-theme-freedesktop = callPackage ../data/misc/sound-theme-freedesktop { };
|
||||||
|
Loading…
Reference in New Issue
Block a user