uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
29
pkgs/data/fonts/roboto/default.nix
Normal file
29
pkgs/data/fonts/roboto/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
version = "2.138";
|
||||
in fetchzip {
|
||||
name = "roboto-${version}";
|
||||
|
||||
url = "https://github.com/google/roboto/releases/download/v${version}/roboto-unhinted.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttf -x __MACOSX/\* -d $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
sha256 = "1s3c48wwvvwd3p4w3hfkri5v2c54j2bdxmd3bjv54klc5mrlh6z3";
|
||||
|
||||
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 = lib.licenses.asl20;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = [ lib.maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue